public abstract class FeatureCommand extends java.lang.Object implements ICommand, IFeatureHolder, IReadOnlyProvider
Constructor and Description |
---|
FeatureCommand(IFeature feature)
The Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Gets the description.
|
IFeature |
getFeature()
Gets the feature.
|
IFeatureProvider |
getFeatureProvider()
Gets the feature provider.
|
boolean |
isReadOnly() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canExecute, canUndo, execute, undo
public FeatureCommand(IFeature feature)
feature
- the featurepublic IFeature getFeature()
getFeature
in interface IFeatureHolder
public java.lang.String getDescription()
IDescription
getDescription
in interface IDescription
public IFeatureProvider getFeatureProvider()
IFeatureProviderHolder
getFeatureProvider
in interface IFeatureProviderHolder
public boolean isReadOnly()
isReadOnly
in interface IReadOnlyProvider