Package com.iizigo.prop.editor.dialog
Class SelectPropDialog
java.lang.Object
org.eclipse.swt.widgets.Dialog
com.iizigo.prop.editor.dialog.SelectPropDialog
- All Implemented Interfaces:
EventListener
,IDoubleClickListener
,ISelectionChangedListener
,ModifyListener
,SWTEventListener
public class SelectPropDialog extends Dialog implements ISelectionChangedListener, ModifyListener, IDoubleClickListener
Dialog used to display Extends Name selection.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorDescriptionSelectPropDialog
(Shell parent, String dialogTitle, Image dialogImage, ModuleModel model, Object root, ViewerFilter viewerFilter, Class<?>[] possibleClasses, String currentRef, int expandLevel) Create the dialog.SelectPropDialog
(Shell parent, String dialogTitle, Image dialogImage, ModuleModel model, Object root, ViewerFilter viewerFilter, Class<?>[] possibleClasses, String currentRef, int expandLevel, IExpandFilter expandFilter) Create the dialog.Method Summary
Modifier and TypeMethodDescriptionvoid
doubleClick
(DoubleClickEvent event) Double-click.void
forNoReferenceSelectAndExpand
(Object object, int expansionLevel) If no reference is defined, try selecting this object if possible instead, with another expansion level.void
Entry field modification.open()
Open the dialog.void
Selection changes.
Constructor Details
SelectPropDialog
public SelectPropDialog(Shell parent, String dialogTitle, Image dialogImage, ModuleModel model, Object root, ViewerFilter viewerFilter, Class<?>[] possibleClasses, String currentRef, int expandLevel) Create the dialog.- Parameters:
parent
- The parent shell.
SelectPropDialog
public SelectPropDialog(Shell parent, String dialogTitle, Image dialogImage, ModuleModel model, Object root, ViewerFilter viewerFilter, Class<?>[] possibleClasses, String currentRef, int expandLevel, IExpandFilter expandFilter) Create the dialog.- Parameters:
parent
- The parent shell.
Method Details
forNoReferenceSelectAndExpand
If no reference is defined, try selecting this object if possible instead, with another expansion level.open
Open the dialog.selectionChanged
Selection changes.- Specified by:
selectionChanged
in interfaceISelectionChangedListener
- Parameters:
event
- The selection event.
modifyText
Entry field modification.- Specified by:
modifyText
in interfaceModifyListener
- Parameters:
e
- The modification event.
doubleClick
Double-click.- Specified by:
doubleClick
in interfaceIDoubleClickListener