Package com.iizigo.prop.editor.dialog
Class StylesDialog
java.lang.Object
org.eclipse.swt.widgets.Dialog
com.iizigo.prop.editor.dialog.StylesDialog
- All Implemented Interfaces:
EventListener
Dialog for Styles of a UI component.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorDescriptionStylesDialog
(org.eclipse.swt.widgets.Shell parent, EditorStyles[] mainStyles, IPropertyEditorController controller) Create the dialog.Method Summary
Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
Constructor Details
StylesDialog
public StylesDialog(org.eclipse.swt.widgets.Shell parent, EditorStyles[] mainStyles, IPropertyEditorController controller) Create the dialog.
Method Details
open
public boolean open()Open the dialog.- Returns:
- true for OK, false for Cancel.
onEvent
Called to process an event.- Specified by:
onEvent
in interfaceEventListener
- Parameters:
event
- The event.