public abstract class AbstractCreateFeature extends AbstractFeature implements ICreateFeature
| Constructor and Description |
|---|
AbstractCreateFeature(IFeatureProvider fp,
java.lang.String name,
java.lang.String description)
Creates a new
AbstractCreateFeature. |
| 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 |
getCreateDescription()
Gets the create description.
|
java.lang.String |
getCreateImageId()
Gets the create image id.
|
java.lang.String |
getCreateLargeImageId()
Gets the create large image id.
|
java.lang.String |
getCreateName()
Gets the create name.
|
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, waitcanUndo, hasDoneChanges, isAvailablegetFeatureProviderpublic AbstractCreateFeature(IFeatureProvider fp, java.lang.String name, java.lang.String description)
AbstractCreateFeature.fp - feature providername - the namedescription - the descriptionpublic java.lang.String getCreateDescription()
ICreateInfogetCreateDescription in interface ICreateInfopublic java.lang.String getCreateName()
ICreateInfogetCreateName in interface ICreateInfopublic boolean canExecute(IContext context)
IFeaturecanExecute in interface IFeaturecontext - this is the general input for this methodIContextpublic void execute(IContext context)
IFeaturepublic java.lang.String getCreateImageId()
ICreateInfogetCreateImageId in interface ICreateInfopublic java.lang.String getCreateLargeImageId()
ICreateInfogetCreateLargeImageId in interface ICreateInfopublic java.lang.String getName()
INamegetName in interface INamegetName in class AbstractFeaturepublic java.lang.String getDescription()
IDescriptiongetDescription in interface IDescriptiongetDescription in class AbstractFeature