Package repast.simphony.ui.plugin.editor
Interface Editor
-
- All Known Implementing Classes:
AbstractWizardEditor
,DataLoaderEditor
,DefaultEditorDialog
,DisplayOptionsDialog
,FreezerEditor
,OptionsEditorDialog
,UserPanelEditor
public interface Editor
Interface for classes that implement an editor. An Editor is displayed by the double clicking on a node in the scenario tree. For example, if the user had previously created a display and then double clicked on the node representing that display, then the Editor for that display would be shown.- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
display(JDialog parent)
Display this Editor with the specified component as a parent.void
display(JFrame parent)
Display this Editor with the specified component as a parent.boolean
wasCanceled()
-
-
-
Method Detail
-
display
void display(JFrame parent)
Display this Editor with the specified component as a parent. The resulting display should be modal.- Parameters:
parent
-
-
display
void display(JDialog parent)
Display this Editor with the specified component as a parent. The resulting display should be modal.- Parameters:
parent
-
-
wasCanceled
boolean wasCanceled()
- Returns:
- true if the editing was canceled, otherwise false.
-
-