$packageName$.features
Class AddDomainObjectConnectionFeature
java.lang.Object
org.eclipse.graphiti.features.impl.AbstractFeature
org.eclipse.graphiti.features.impl.AbstractAddFeature
$packageName$.features.AddDomainObjectConnectionFeature
- All Implemented Interfaces:
- IAddFeature, IFeature, IFeatureProviderHolder, IAdd, IDescription, IName
public class AddDomainObjectConnectionFeature
- extends AbstractAddFeature
- implements IAddFeature
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 interface org.eclipse.graphiti.IName |
getName |
AddDomainObjectConnectionFeature
public AddDomainObjectConnectionFeature(IFeatureProvider fp)
canAdd
public boolean canAdd(IAddContext context)
- Description copied from interface:
IAdd
- Checks, if the add can be executed.
- Specified by:
canAdd
in interface IAdd
- Parameters:
context
- the context needed to execute the add
- Returns:
- true, if the add can be executed
add
public PictogramElement add(IAddContext context)
- Description copied from interface:
IAdd
- Executes the add.
- Specified by:
add
in interface IAdd
- Parameters:
context
- the context needed to execute the add
- Returns:
- the added pictogram element
Copyright (c) SAP AG 2005, 2010.