Class MovePropertyResources


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

      • MovePropertyResources

        public MovePropertyResources()
    • Method Detail

      • validateMoveProperties

        public static java.lang.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 java.lang.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.