|
||||||||||
| 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.DefaultRemoveBendpointFeature
public class DefaultRemoveBendpointFeature
The Class DefaultRemoveBendpointFeature.
| Field Summary | |
|---|---|
private static String |
NAME
|
| Constructor Summary | |
|---|---|
DefaultRemoveBendpointFeature(IFeatureProvider fp)
Creates a new DefaultRemoveBendpointFeature. |
|
| Method Summary | |
|---|---|
boolean |
canExecute(IContext context)
Decides if the current feature can execute with the given context. |
boolean |
canRemoveBendpoint(IRemoveBendpointContext context)
Can remove bendpoint. |
void |
execute(IContext context)
Executes the current feature with the given context. |
String |
getName()
Gets the name. |
void |
removeBendpoint(IRemoveBendpointContext context)
Removes the bendpoint. |
| 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 DefaultRemoveBendpointFeature(IFeatureProvider fp)
DefaultRemoveBendpointFeature.
fp - the feature provider| Method Detail |
|---|
public boolean canRemoveBendpoint(IRemoveBendpointContext context)
IRemoveBendpointFeature
canRemoveBendpoint in interface IRemoveBendpointFeaturecontext - the context
public void removeBendpoint(IRemoveBendpointContext context)
IRemoveBendpointFeature
removeBendpoint in interface IRemoveBendpointFeaturecontext - 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 | |||||||||