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