public class DefaultMoveBendpointFeature extends AbstractFeature implements IMoveBendpointFeature
| Constructor and Description |
|---|
DefaultMoveBendpointFeature(IFeatureProvider fp)
Creates a new
DefaultMoveBendpointFeature. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
java.lang.String |
getName()
Gets the name.
|
boolean |
moveBendpoint(IMoveBendpointContext context)
Move bendpoint.
|
canUndo, getDescription, getFeatureProvider, hasDoneChanges, isAvailable, manageFont, manageFont, setProgressCallback, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitcanUndo, hasDoneChanges, isAvailablegetDescriptiongetFeatureProviderpublic DefaultMoveBendpointFeature(IFeatureProvider fp)
DefaultMoveBendpointFeature.fp - the feature providerpublic boolean moveBendpoint(IMoveBendpointContext context)
IMoveBendpointFeaturemoveBendpoint in interface IMoveBendpointFeaturecontext - the contextpublic boolean canExecute(IContext context)
IFeaturecanExecute in interface IFeaturecontext - this is the general input for this methodIContextpublic void execute(IContext context)
IFeaturepublic boolean canMoveBendpoint(IMoveBendpointContext context)
IMoveBendpointFeaturecanMoveBendpoint in interface IMoveBendpointFeaturecontext - the contextpublic java.lang.String getName()
INamegetName in interface INamegetName in class AbstractFeature