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
public class StylesDialog extends org.eclipse.swt.widgets.Dialog implements EventListener
Dialog for Styles of a UI component.- Author:
- Christopher Mindus
Constructor Summary
Constructors Constructor Description StylesDialog(org.eclipse.swt.widgets.Shell parent, EditorStyles[] mainStyles, IPropertyEditorController controller)Create the dialog.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonEvent(GEvent event)Called to process an event.booleanopen()Open the dialog.
Constructor Detail
StylesDialog
public StylesDialog(org.eclipse.swt.widgets.Shell parent, EditorStyles[] mainStyles, IPropertyEditorController controller)Create the dialog.
Method Detail
open
public boolean open()
Open the dialog.- Returns:
- true for OK, false for Cancel.
onEvent
public void onEvent(GEvent event)
Called to process an event.- Specified by:
onEventin interfaceEventListener- Parameters:
event- The event.