Package org.eclipse.graphiti.func
Interface IAdd
- All Known Subinterfaces:
IAddFeature,IConnectionPattern,IPattern
- All Known Implementing Classes:
AbstractAddFeature,AbstractAddPictogramElementFeature,AbstractAddShapeFeature,AbstractConnectionPattern,AbstractPattern,AddFeatureForPattern,IdPattern,TypedPattern
public interface IAdd
The Interface IAdd.
-
Method Summary
Modifier and TypeMethodDescriptionadd(IAddContext context) Executes the add.booleancanAdd(IAddContext context) Checks, if the add can be executed.
-
Method Details
-
canAdd
Checks, if the add can be executed.- Parameters:
context- the context needed to execute the add- Returns:
- true, if the add can be executed
-
add
Executes the add.- Parameters:
context- the context needed to execute the add- Returns:
- the added pictogram element
-