public abstract class AbstractDrillDownFeature extends AbstractCustomFeature
| Constructor and Description |
|---|
AbstractDrillDownFeature(IFeatureProvider fp)
Creates a new
AbstractDrillDownFeature. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExecute(ICustomContext context)
Can execute.
|
void |
execute(ICustomContext context)
Execute.
|
java.lang.String |
getName()
Gets the name.
|
boolean |
hasDoneChanges()
Is queried by the framework after a feature has been executed to find out
if this feature should appear in the undo stack of e.g.
|
canExecute, execute, getDescription, getImageId, isAvailablecanUndo, getFeatureProvider, manageFont, manageFont, setProgressCallback, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFeatureProviderpublic AbstractDrillDownFeature(IFeatureProvider fp)
AbstractDrillDownFeature.fp - the feature providerpublic java.lang.String getName()
INamegetName in interface INamegetName in class AbstractFeaturepublic void execute(ICustomContext context)
ICustomFeaturecontext - the contextpublic boolean canExecute(ICustomContext context)
ICustomFeaturecanExecute in interface ICustomFeaturecanExecute in class AbstractCustomFeaturecontext - the contextpublic boolean hasDoneChanges()
IFeatureAbstractFeature), but features may decide to override this
behavior. Note that this is a dynamic attribute of the feature that is
queried each time after the feature has been executed.
IMPORTANT NOTE: The implementor of the feature is responsible for
correctly implementing this method! It might lead to inconsistencies in
the command stack if this method returns false although the
feature did changes.
hasDoneChanges in interface IFeaturehasDoneChanges in class AbstractFeaturetrue if the feature should appear in the undo stack,
false otherwise