public class DefaultMoveShapeFeature extends AbstractMoveShapeFeature
Constructor and Description |
---|
DefaultMoveShapeFeature(IFeatureProvider fp)
Creates a new
DefaultMoveShapeFeature . |
Modifier and Type | Method and Description |
---|---|
boolean |
canMoveShape(IMoveShapeContext context)
Can move shape.
|
void |
moveShape(IMoveShapeContext context)
Move shape.
|
canExecute, execute, getName
canUndo, getDescription, getFeatureProvider, hasDoneChanges, isAvailable, manageFont, manageFont, setProgressCallback, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
canUndo, hasDoneChanges, isAvailable
getDescription
getFeatureProvider
public DefaultMoveShapeFeature(IFeatureProvider fp)
DefaultMoveShapeFeature
.fp
- the feature providerpublic boolean canMoveShape(IMoveShapeContext context)
IMoveShape
context
- the contextpublic void moveShape(IMoveShapeContext context)
IMoveShape
context
- the context