Class MovePropertyResources

java.lang.Object
com.iizigo.editor.MovePropertyResources

public class MovePropertyResources extends Object
Class used to move property resources in an Undoable operation.
Author:
Christopher Mindus
  • Constructor Details

    • MovePropertyResources

      public MovePropertyResources()
  • Method Details

    • validateMoveProperties

      public static String validateMoveProperties(GProp<?>[] props, DesignerProp target)
      Moves the list of properties to the target. The actual properties are not moved, but rather the resources, as well as being put into an undoable context for the workspace.
      Returns:
      null for OK, otherwise an error message.
    • performMoveProperties

      public static String performMoveProperties(org.eclipse.swt.widgets.Shell shell, GProp<?>[] props, DesignerProp target)
      Moves the list of properties to the target. The actual properties are not moved, but rather the resources, as well as being put into an undoable context for the workspace.
      Returns:
      null for OK, otherwise an error message.