|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.graphiti.features.impl.AbstractFeature
org.eclipse.graphiti.features.impl.AbstractCreateFeature
public abstract class AbstractCreateFeature
The Class AbstractCreateFeature.
| Field Summary | |
|---|---|
private String |
description
|
private String |
name
|
| Fields inherited from interface org.eclipse.graphiti.func.ICreate |
|---|
EMPTY |
| Constructor Summary | |
|---|---|
AbstractCreateFeature(IFeatureProvider fp,
String name,
String description)
Creates a new AbstractCreateFeature. |
|
| Method Summary | |
|---|---|
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. |
String |
getCreateDescription()
Gets the create description. |
String |
getCreateImageId()
Gets the create image id. |
String |
getCreateLargeImageId()
Gets the create large image id. |
String |
getCreateName()
Gets the create name. |
String |
getDescription()
Gets the description. |
String |
getName()
Gets the name. |
private void |
setDescription(String description)
|
private void |
setName(String name)
|
| Methods inherited from class org.eclipse.graphiti.features.impl.AbstractFeature |
|---|
addGraphicalRepresentation, canUndo, getAllBusinessObjectsForPictogramElement, getBusinessObjectForPictogramElement, getDiagram, getDiagramBehavior, getFeatureProvider, getProgressCallback, getUserDecision, hasDoneChanges, isAvailable, layoutPictogramElement, link, link, manageColor, manageColor, manageDefaultFont, manageDefaultFont, manageFont, manageFont, setProgressCallback, toString, updatePictogramElement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.graphiti.func.ICreate |
|---|
canCreate, create |
| Methods inherited from interface org.eclipse.graphiti.features.IFeature |
|---|
canUndo, hasDoneChanges, isAvailable |
| Methods inherited from interface org.eclipse.graphiti.features.IFeatureProviderHolder |
|---|
getFeatureProvider |
| Field Detail |
|---|
private String description
private String name
| Constructor Detail |
|---|
public AbstractCreateFeature(IFeatureProvider fp,
String name,
String description)
AbstractCreateFeature.
fp - feature providername - the namedescription - the description| Method Detail |
|---|
public String getCreateDescription()
ICreateInfo
getCreateDescription in interface ICreateInfopublic String getCreateName()
ICreateInfo
getCreateName in interface ICreateInfoprivate void setDescription(String description)
description - The description to set.private void setName(String name)
name - The name to set.public boolean canExecute(IContext context)
IFeature
canExecute in interface IFeaturecontext - this is the general input for this method
IContextpublic void execute(IContext context)
IFeature
execute in interface IFeaturecontext - this is the general input for this methodIContextpublic String getCreateImageId()
ICreateInfo
getCreateImageId in interface ICreateInfopublic String getCreateLargeImageId()
ICreateInfo
getCreateLargeImageId in interface ICreateInfopublic String getName()
IName
getName in interface INamegetName in class AbstractFeaturepublic String getDescription()
IDescription
getDescription in interface IDescriptiongetDescription in class AbstractFeature
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||