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
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static void
addProp(IComplexOperation op, PropCnr pc, IGProp<?> gp)
Adds a property.void
addProp(PropCnr pc, GProp<?> gp)
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
hasPerformedAnOperation()
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
moveProp(GProp<?> gp, PropCnr toContainer, Atom newName, int toIndex)
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, java.lang.String errorID)
Removes a property error.static void
removePropError(IComplexOperation op, IGProp<?> gp, java.lang.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, java.lang.Object newValue)
Sets a property value.static void
setPropValue(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.