Package com.iizix.prop
Interface IComplexOperation
- All Known Implementing Classes:
ComplexOperation
public interface IComplexOperationInterface for the complex operation located in the Designer.- Author:
- Christopher Mindus
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static voidaddProp(IComplexOperation op, PropCnr pc, IGProp<?> gp)Adds a property.voidaddProp(PropCnr pc, GProp<?> gp)Adds a property.voidaddPropError(GProp<?> gp, IPropErrorItem pei)Adds a property error.static voidaddPropError(IComplexOperation op, IGProp<?> gp, IPropErrorItem pei)Adds a property error.booleanhasPerformedAnOperation()Checks if an operation has been performed successfully or if it's an empty operation for undo.static voidinsertProp(IComplexOperation op, PropCnr pc, IGProp<?> gp, int index)Inserts a property.voidinsertProp(PropCnr pc, GProp<?> gp, int index)Inserts a property.voidmoveProp(GProp<?> gp, PropCnr toContainer, Atom newName, int toIndex)Moves a property to another container.static voidmoveProp(IComplexOperation op, IGProp<?> gp, PropCnr toContainer, Atom newName, int toIndex)Moves a property to another container.voidremoveProp(GProp<?> gp)Removes a property.static voidremoveProp(IComplexOperation op, IGProp<?> gp)Removes a property.voidremovePropError(GProp<?> gp, java.lang.String errorID)Removes a property error.static voidremovePropError(IComplexOperation op, IGProp<?> gp, java.lang.String errorID)Removes a property error.voidrenameProp(GProp<?> gp, Atom newName)Renames a property.static voidrenameProp(IComplexOperation op, IGProp<?> gp, Atom newName)Renames a property.static voidreorderProps(IComplexOperation op, PropCnr pc, Atom[] order)Reorder a property container.voidreorderProps(PropCnr pc, Atom[] order)Reorder a property container.voidsetPropError(GProp<?> gp, PropError pe)Sets all errors in a property.static voidsetPropError(IComplexOperation op, IGProp<?> gp, PropError pe)Sets all errors in a property.voidsetPropValue(GProp<?> gp, java.lang.Object newValue)Sets a property value.static voidsetPropValue(IComplexOperation op, IGProp<?> gp, java.lang.Object newValue)Sets a property value.
Method Detail
setPropValue
void setPropValue(GProp<?> gp, java.lang.Object newValue)
Sets a property value.
removeProp
void removeProp(GProp<?> gp)
Removes a property.
addPropError
void addPropError(GProp<?> gp, IPropErrorItem pei)
Adds a property error.
removePropError
void removePropError(GProp<?> gp, java.lang.String errorID)
Removes a property error.
moveProp
void moveProp(GProp<?> gp, PropCnr toContainer, Atom newName, int toIndex)
Moves a property to another container.
hasPerformedAnOperation
boolean hasPerformedAnOperation()
Checks if an operation has been performed successfully or if it's an empty operation for undo.
setPropValue
static void setPropValue(IComplexOperation op, IGProp<?> gp, java.lang.Object newValue)
Sets a property value.
addProp
static void addProp(IComplexOperation op, PropCnr pc, IGProp<?> gp)
Adds a property.
insertProp
static void insertProp(IComplexOperation op, PropCnr pc, IGProp<?> gp, int index)
Inserts a property.
removeProp
static void removeProp(IComplexOperation op, IGProp<?> gp)
Removes a property.
renameProp
static void renameProp(IComplexOperation op, IGProp<?> gp, Atom newName)
Renames a property.
setPropError
static void setPropError(IComplexOperation op, IGProp<?> gp, PropError pe)
Sets all errors in a property.
addPropError
static void addPropError(IComplexOperation op, IGProp<?> gp, IPropErrorItem pei)
Adds a property error.
removePropError
static void removePropError(IComplexOperation op, IGProp<?> gp, java.lang.String errorID)
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
static void reorderProps(IComplexOperation op, PropCnr pc, Atom[] order)
Reorder a property container.