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