|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.ifremer.coser.ui.common.CommonHandler
fr.ifremer.coser.ui.project.ProjectHandler
public class ProjectHandler
Handler for project related ui.
| Field Summary | |
|---|---|
protected JFileChooser |
mapFileChooser
|
| Fields inherited from class fr.ifremer.coser.ui.common.CommonHandler |
|---|
fileChooserInstance |
| Constructor Summary | |
|---|---|
ProjectHandler()
|
|
| Method Summary | |
|---|---|
void |
createProject(ProjectCreationView projectView)
Create project. |
protected JFileChooser |
getMapFileChooser()
Retourne une unique instance du file chooser pour conserver le répertoire de sélection d'un appel sur l'autre. |
void |
loadProject(ProjectOpenView projectView)
Reload project (name selected in ui). |
void |
removeSelectedMapFiles(ProjectCreationView projectView)
Display user file selection dialog and fill given text component with given file. |
void |
removeSelectedMapFiles(ProjectEditView projectView)
Display user file selection dialog and fill given text component with given file. |
void |
saveProject(ProjectEditView projectView)
Sauve le projet apres edition. |
void |
selectInputFile(ProjectCreationView projectView,
JTextField textComponent)
Display user file selection dialog and fill given text component with given file. |
void |
selectMapFiles(ProjectCreationView projectView)
Display user file selection dialog and fill maps list. |
void |
selectMapFiles(ProjectEditView projectView)
Display user file selection dialog and fill maps list. |
| Methods inherited from class fr.ifremer.coser.ui.common.CommonHandler |
|---|
browseFile, getFileChooserInstance, setDefaultCursor, setWaitCursor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected JFileChooser mapFileChooser
| Constructor Detail |
|---|
public ProjectHandler()
| Method Detail |
|---|
protected JFileChooser getMapFileChooser()
public void selectInputFile(ProjectCreationView projectView,
JTextField textComponent)
projectView - project viewtextComponent - text component to fillpublic void selectMapFiles(ProjectCreationView projectView)
projectView - project viewpublic void removeSelectedMapFiles(ProjectCreationView projectView)
projectView - project viewpublic void selectMapFiles(ProjectEditView projectView)
projectView - project viewpublic void removeSelectedMapFiles(ProjectEditView projectView)
projectView - project viewpublic void createProject(ProjectCreationView projectView)
projectView - project viewpublic void saveProject(ProjectEditView projectView)
projectView - project edit viewpublic void loadProject(ProjectOpenView projectView)
projectView - view
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||