Package com.iizix.prop
Interface IComplexOperation
- All Known Implementing Classes:
ComplexOperation
public interface IComplexOperation
Interface for the complex operation located in the Designer.
- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptionstatic void
addProp
(IComplexOperation op, PropCnr pc, IGProp<?> gp) Adds a property.void
Adds a property.void
addPropError
(GProp<?> gp, IPropErrorItem pei) Adds a property error.static void
addPropError
(IComplexOperation op, IGProp<?> gp, IPropErrorItem pei) Adds a property error.boolean
Checks if an operation has been performed successfully or if it's an empty operation for undo.static void
insertProp
(IComplexOperation op, PropCnr pc, IGProp<?> gp, int index) Inserts a property.void
insertProp
(PropCnr pc, GProp<?> gp, int index) Inserts a property.void
Moves a property to another container.static void
moveProp
(IComplexOperation op, IGProp<?> gp, PropCnr toContainer, Atom newName, int toIndex) Moves a property to another container.void
removeProp
(GProp<?> gp) Removes a property.static void
removeProp
(IComplexOperation op, IGProp<?> gp) Removes a property.void
removePropError
(GProp<?> gp, String errorID) Removes a property error.static void
removePropError
(IComplexOperation op, IGProp<?> gp, String errorID) Removes a property error.void
renameProp
(GProp<?> gp, Atom newName) Renames a property.static void
renameProp
(IComplexOperation op, IGProp<?> gp, Atom newName) Renames a property.static void
reorderProps
(IComplexOperation op, PropCnr pc, Atom[] order) Reorder a property container.void
reorderProps
(PropCnr pc, Atom[] order) Reorder a property container.void
setPropError
(GProp<?> gp, PropError pe) Sets all errors in a property.static void
setPropError
(IComplexOperation op, IGProp<?> gp, PropError pe) Sets all errors in a property.void
setPropValue
(GProp<?> gp, Object newValue) Sets a property value.static void
setPropValue
(IComplexOperation op, IGProp<?> gp, Object newValue) Sets a property value.
Method Details
setPropValue
Sets a property value.addProp
Adds a property.insertProp
Inserts a property.removeProp
Removes a property.renameProp
Renames a property.setPropError
Sets all errors in a property.addPropError
Adds a property error.removePropError
Removes a property error.moveProp
Moves a property to another container.reorderProps
Reorder a property container.hasPerformedAnOperation
boolean hasPerformedAnOperation()Checks if an operation has been performed successfully or if it's an empty operation for undo.setPropValue
Sets a property value.addProp
Adds a property.insertProp
Inserts a property.removeProp
Removes a property.renameProp
Renames a property.setPropError
Sets all errors in a property.addPropError
Adds a property error.removePropError
Removes a property error.moveProp
static void moveProp(IComplexOperation op, IGProp<?> gp, PropCnr toContainer, Atom newName, int toIndex) Moves a property to another container.reorderProps
Reorder a property container.