Skip to content

Commit

Permalink
Removed Duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
alexolowo committed Aug 4, 2023
1 parent a453bfa commit cc79f42
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public interface ProjectSelectionInputBoundary {

void setCurrentProject(ProjectModel project);

void setCurrentProject(Project project);
//void setCurrentProject(Project project);

void createProject(String name, String description);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ public void createProject(String name, String description) {

}

/**
*
*/
@Override
public void createProject() {

}

@Override
public void createProject(ProjectModel projectModel){
try{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ public void createProject(String name, String description) {

}

/**
*
*/
@Override
public void createProject() {

}

@Override
public void createProject(ProjectModel projectModel) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,6 @@ public void setCurrentProject(ProjectModel project) {
currentProjectRepository.setCurrentProject(project);
}

/**
* @param project
*/
@Override
public void setCurrentProject(Project project) {

}

/**
* Creates a new project. This method is called when the user creates a new project in the UI.
* It interacts with the necessary use cases and gateway to create the project.
Expand All @@ -83,6 +75,14 @@ public void createProject(String projectName, String projectDescription) {
presenter.displayCurrentProject(projectModel);
}

/**
*
*/
@Override
public void createProject() {

}

/**
* @param projectModel
*/
Expand Down
40 changes: 20 additions & 20 deletions src/main/java/c_interface_adapters/ProjectSelectionPresenter.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,26 +78,26 @@ public void projectCreationFailed(String errorMessage) {
/**
*
*/
@Override
public void displayCurrentProject() {

}

/**
* @param projectModel
*/
@Override
public void projectCreated(ProjectModel projectModel) {

}

/**
* @param errorMessage
*/
@Override
public void projectCreationFailed(String errorMessage) {

}
// @Override
// public void displayCurrentProject() {
//
// }
//
// /**
// * @param projectModel
// */
// @Override
// public void projectCreated(ProjectModel projectModel) {
//
// }
//
// /**
// * @param errorMessage
// */
// @Override
// public void projectCreationFailed(String errorMessage) {
//
// }

/**
* Displays the current project by loading and setting the scene with the appropriate FXML file.
Expand Down

0 comments on commit cc79f42

Please sign in to comment.