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
ConstructorsConstructorDescriptionSelectPropDialog(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 TypeMethodDescriptionvoiddoubleClick(DoubleClickEvent event) Double-click.voidforNoReferenceSelectAndExpand(Object object, int expansionLevel) If no reference is defined, try selecting this object if possible instead, with another expansion level.voidEntry field modification.open()Open the dialog.voidSelection 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:
selectionChangedin interfaceISelectionChangedListener- Parameters:
event- The selection event.
modifyText
Entry field modification.- Specified by:
modifyTextin interfaceModifyListener- Parameters:
e- The modification event.
doubleClick
Double-click.- Specified by:
doubleClickin interfaceIDoubleClickListener