public abstract class AbstractUpdateFeature extends AbstractFeature implements IUpdateFeature
| Constructor and Description |
|---|
AbstractUpdateFeature(IFeatureProvider fp)
Create a new
AbstractUpdateFeature. |
| 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 |
getDescription()
Gets the description.
|
java.lang.String |
getName()
Gets the name.
|
canUndo, getFeatureProvider, hasDoneChanges, isAvailable, manageFont, manageFont, setProgressCallback, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitcanUpdate, update, updateNeededcanUndo, hasDoneChanges, isAvailablegetFeatureProviderpublic AbstractUpdateFeature(IFeatureProvider fp)
AbstractUpdateFeature.fp - the feature providerpublic final 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 AbstractFeaturepublic java.lang.String getDescription()
IDescriptiongetDescription in interface IDescriptiongetDescription in class AbstractFeature