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
,org.eclipse.jface.viewers.IDoubleClickListener
,org.eclipse.jface.viewers.ISelectionChangedListener
,org.eclipse.swt.events.ModifyListener
,org.eclipse.swt.internal.SWTEventListener
public class SelectPropDialog extends org.eclipse.swt.widgets.Dialog implements org.eclipse.jface.viewers.ISelectionChangedListener, org.eclipse.swt.events.ModifyListener, org.eclipse.jface.viewers.IDoubleClickListener
Dialog used to display Extends Name selection.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorDescriptionSelectPropDialog
(org.eclipse.swt.widgets.Shell parent, String dialogTitle, org.eclipse.swt.graphics.Image dialogImage, ModuleModel model, Object root, org.eclipse.jface.viewers.ViewerFilter viewerFilter, Class<?>[] possibleClasses, String currentRef, int expandLevel) Create the dialog.SelectPropDialog
(org.eclipse.swt.widgets.Shell parent, String dialogTitle, org.eclipse.swt.graphics.Image dialogImage, ModuleModel model, Object root, org.eclipse.jface.viewers.ViewerFilter viewerFilter, Class<?>[] possibleClasses, String currentRef, int expandLevel, IExpandFilter expandFilter) Create the dialog.Method Summary
Modifier and TypeMethodDescriptionvoid
doubleClick
(org.eclipse.jface.viewers.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
modifyText
(org.eclipse.swt.events.ModifyEvent e) Entry field modification.open()
Open the dialog.void
selectionChanged
(org.eclipse.jface.viewers.SelectionChangedEvent event) Selection changes.Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
Constructor Details
SelectPropDialog
public SelectPropDialog(org.eclipse.swt.widgets.Shell parent, String dialogTitle, org.eclipse.swt.graphics.Image dialogImage, ModuleModel model, Object root, org.eclipse.jface.viewers.ViewerFilter viewerFilter, Class<?>[] possibleClasses, String currentRef, int expandLevel) Create the dialog.- Parameters:
parent
- The parent shell.
SelectPropDialog
public SelectPropDialog(org.eclipse.swt.widgets.Shell parent, String dialogTitle, org.eclipse.swt.graphics.Image dialogImage, ModuleModel model, Object root, org.eclipse.jface.viewers.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
public void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event) Selection changes.- Specified by:
selectionChanged
in interfaceorg.eclipse.jface.viewers.ISelectionChangedListener
- Parameters:
event
- The selection event.
modifyText
public void modifyText(org.eclipse.swt.events.ModifyEvent e) Entry field modification.- Specified by:
modifyText
in interfaceorg.eclipse.swt.events.ModifyListener
- Parameters:
e
- The modification event.
doubleClick
public void doubleClick(org.eclipse.jface.viewers.DoubleClickEvent event) Double-click.- Specified by:
doubleClick
in interfaceorg.eclipse.jface.viewers.IDoubleClickListener