Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidcheckStateChanged​(org.eclipse.jface.viewers.CheckStateChangedEvent event)
      Check changes.
      voidopen()
      Open the dialog.
      voidselectionChanged​(org.eclipse.jface.viewers.SelectionChangedEvent event)
      Selection changes.
      • Methods inherited from class org.eclipse.swt.widgets.Dialog

        checkSubclass, getParent, getStyle, getText, setText
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 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