Package com.iizigo.editor
Class MovePropertyResources
- java.lang.Object
- com.iizigo.editor.MovePropertyResources
public class MovePropertyResources extends java.lang.Object
Class used to move property resources in an Undoable operation.- Author:
- Christopher Mindus
Constructor Summary
Constructors Constructor Description MovePropertyResources()
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
performMoveProperties(org.eclipse.swt.widgets.Shell shell, GProp<?>[] props, DesignerProp target)
Moves the list of properties to the target.static java.lang.String
validateMoveProperties(GProp<?>[] props, DesignerProp target)
Moves the list of properties to the target.
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.