|
||||||||||
| 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.DefaultMoveBendpointFeature
public class DefaultMoveBendpointFeature
The Class DefaultMoveBendpointFeature.
| Field Summary | |
|---|---|
private static String |
NAME
|
| Constructor Summary | |
|---|---|
DefaultMoveBendpointFeature(IFeatureProvider fp)
Creates a new DefaultMoveBendpointFeature. |
|
| Method Summary | |
|---|---|
boolean |
canExecute(IContext context)
Decides if the current feature can execute with the given context. |
boolean |
canMoveBendpoint(IMoveBendpointContext context)
Can move bendpoint. |
void |
execute(IContext context)
Executes the current feature with the given context. |
String |
getName()
Gets the name. |
boolean |
moveBendpoint(IMoveBendpointContext context)
Move 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 DefaultMoveBendpointFeature(IFeatureProvider fp)
DefaultMoveBendpointFeature.
fp - the feature provider| Method Detail |
|---|
public boolean moveBendpoint(IMoveBendpointContext context)
IMoveBendpointFeature
moveBendpoint in interface IMoveBendpointFeaturecontext - the context
public 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 boolean canMoveBendpoint(IMoveBendpointContext context)
IMoveBendpointFeature
canMoveBendpoint in interface IMoveBendpointFeaturecontext - the context
public 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 | |||||||||