|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.graphiti.features.impl.AbstractFeature
org.eclipse.graphiti.features.impl.AbstractAddFeature
org.eclipse.graphiti.pattern.AddFeatureForPattern
public class AddFeatureForPattern
The Class AddFeatureForPattern.
| Field Summary | |
|---|---|
private IAdd |
pattern
|
| Fields inherited from class org.eclipse.graphiti.features.impl.AbstractAddFeature |
|---|
EMPTY |
| Constructor Summary | |
|---|---|
AddFeatureForPattern(IFeatureProvider featureProvider,
IAdd pattern)
Creates a new AddFeatureForPattern. |
|
| Method Summary | |
|---|---|
PictogramElement |
add(IAddContext context)
Executes the add. |
boolean |
canAdd(IAddContext context)
Checks, if the add can be executed. |
| Methods inherited from class org.eclipse.graphiti.features.impl.AbstractAddFeature |
|---|
canExecute, execute, getName |
| Methods inherited from class org.eclipse.graphiti.features.impl.AbstractFeature |
|---|
addGraphicalRepresentation, canUndo, getAllBusinessObjectsForPictogramElement, getBusinessObjectForPictogramElement, getDescription, getDiagram, getDiagramEditor, getFeatureProvider, getProgressCallback, getUserDecision, hasDoneChanges, isAvailable, layoutPictogramElement, link, link, manageColor, manageColor, setProgressCallback, toString, updatePictogramElement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.graphiti.features.IFeature |
|---|
canUndo, hasDoneChanges, isAvailable |
| Methods inherited from interface org.eclipse.graphiti.IDescription |
|---|
getDescription |
| Methods inherited from interface org.eclipse.graphiti.features.IFeatureProviderHolder |
|---|
getFeatureProvider |
| Field Detail |
|---|
private IAdd pattern
| Constructor Detail |
|---|
public AddFeatureForPattern(IFeatureProvider featureProvider,
IAdd pattern)
AddFeatureForPattern.
featureProvider - the feature providerpattern - the pattern| Method Detail |
|---|
public boolean canAdd(IAddContext context)
IAdd
context - the context needed to execute the add
public PictogramElement add(IAddContext context)
IAdd
context - the context needed to execute the add
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||