Package com.iizigo.editor
Class MoveDialog
java.lang.Object
org.eclipse.swt.widgets.Dialog
com.iizigo.editor.MoveDialog
- All Implemented Interfaces:
org.eclipse.jface.viewers.ICheckStateListener
,org.eclipse.jface.viewers.ISelectionChangedListener
public class MoveDialog extends org.eclipse.swt.widgets.Dialog implements org.eclipse.jface.viewers.ISelectionChangedListener, org.eclipse.jface.viewers.ICheckStateListener
Dialog used for moving properties within all open projects.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorDescriptionMoveDialog
(DesignerProp base, GProp<?>[] props, IPropUndoRedo undoRedo) Create the dialog.Method Summary
Modifier and TypeMethodDescriptionvoid
checkStateChanged
(org.eclipse.jface.viewers.CheckStateChangedEvent event) Check changes.void
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
MoveDialog
Create the dialog. The properties to move must all be of the same type, otherwise a common destination cannot be set.- Parameters:
base
- Base designer property, or null.props
- The properties to move.undoRedo
- The undo context, null for none.
Method Details
open
public void 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
checkStateChanged
public void checkStateChanged(org.eclipse.jface.viewers.CheckStateChangedEvent event) Check changes.- Specified by:
checkStateChanged
in interfaceorg.eclipse.jface.viewers.ICheckStateListener