|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GUISettingsTabInterface
An interface which must be implemented as the UI for tabs used on the settings panel.
Tabs will only need to load data during handleSettingsTabRefresh()
and should only save data during handleSettingsTabSave().
Changes can be made during editing of the tabs, but the tab must
be able to undo any change if requested
through handleSettingsTabCancel().
Warning: Do not access the ProjectManager in the constructor of classes that implement this interface! This because the SettingsTabs are created before an initial Project is created.
| Method Summary | |
|---|---|
java.lang.String |
getTabKey()
Gets the unlocalized settings tab name. |
javax.swing.JPanel |
getTabPanel()
Gets the JPanel which implements the tab. |
void |
handleResetToDefault()
Reset the settings shown to the same settings with a broader scope. |
void |
handleSettingsTabCancel()
Cancel any changes. |
void |
handleSettingsTabRefresh()
Load or reload field settings. |
void |
handleSettingsTabSave()
Save any fields changed. |
| Method Detail |
|---|
void handleSettingsTabSave()
void handleSettingsTabCancel()
void handleSettingsTabRefresh()
void handleResetToDefault()
Remark: This shall only adapt the displayed value! You need a save to make the actual change.
java.lang.String getTabKey()
javax.swing.JPanel getTabPanel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |