|
||||||||||
| 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.DefaultAddBendpointFeature
public class DefaultAddBendpointFeature
The Class DefaultAddBendpointFeature. Prefer using this default
implementation over implementing interface
IAddBendpointFeature for yourself.
| Field Summary | |
|---|---|
private static String |
NAME
|
| Constructor Summary | |
|---|---|
DefaultAddBendpointFeature(IFeatureProvider fp)
Creates a new DefaultAddBendpointFeature. |
|
| Method Summary | |
|---|---|
void |
addBendpoint(IAddBendpointContext context)
Adds a bendpoint. |
boolean |
canAddBendpoint(IAddBendpointContext context)
Checks if bendpoint can be added. |
boolean |
canExecute(IContext context)
Decides if the current feature can execute with the given context. |
void |
execute(IContext context)
Executes the current feature with the given context. |
String |
getName()
Gets the name. |
| Methods inherited from class org.eclipse.graphiti.features.impl.AbstractFeature |
|---|
addGraphicalRepresentation, canUndo, getAllBusinessObjectsForPictogramElement, getBusinessObjectForPictogramElement, getDescription, getDiagram, getDiagramBehavior, getFeatureProvider, getProgressCallback, getUserDecision, hasDoneChanges, isAvailable, layoutPictogramElement, link, link, manageColor, manageColor, manageDefaultFont, manageDefaultFont, manageFont, manageFont, 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 static final String NAME
| Constructor Detail |
|---|
public DefaultAddBendpointFeature(IFeatureProvider fp)
DefaultAddBendpointFeature.
fp - the feature provider| Method Detail |
|---|
public boolean canAddBendpoint(IAddBendpointContext context)
IAddBendpointFeature
canAddBendpoint in interface IAddBendpointFeaturecontext - the context
public void addBendpoint(IAddBendpointContext context)
IAddBendpointFeature
addBendpoint in interface IAddBendpointFeaturecontext - the contextpublic boolean canExecute(IContext context)
IFeature
canExecute in interface IFeaturecontext - this is the general input for this method
IContextpublic void execute(IContext context)
IFeature
execute in interface IFeaturecontext - this is the general input for this methodIContextpublic String getName()
IName
getName in interface INamegetName in class AbstractFeature
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||