public abstract class AbstractCopyFeature extends AbstractFeature implements ICopyFeature
| Constructor and Description |
|---|
AbstractCopyFeature(IFeatureProvider fp)
Creates a new
AbstractCopyFeature. |
| 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, waitcanCopy, copycanUndo, hasDoneChanges, isAvailablegetDescriptiongetFeatureProviderpublic AbstractCopyFeature(IFeatureProvider fp)
AbstractCopyFeature.fp - the IFeatureProvider fppublic 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