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
Constructors Constructor Description MoveDialog(DesignerProp base, GProp<?>[] props, IPropUndoRedo undoRedo)
Create the dialog.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkStateChanged(org.eclipse.jface.viewers.CheckStateChangedEvent event)
Check changes.void
open()
Open the dialog.void
selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
Selection changes.
Constructor Detail
MoveDialog
public MoveDialog(DesignerProp base, GProp<?>[] props, IPropUndoRedo undoRedo)
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 Detail
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