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 Details

    • 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 Details

    • open

      public void open()
      Open the dialog.
    • selectionChanged

      public void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
      Selection changes.
      Specified by:
      selectionChanged in interface org.eclipse.jface.viewers.ISelectionChangedListener
    • checkStateChanged

      public void checkStateChanged(org.eclipse.jface.viewers.CheckStateChangedEvent event)
      Check changes.
      Specified by:
      checkStateChanged in interface org.eclipse.jface.viewers.ICheckStateListener