|
||||||||||
| 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.AbstractCreateConnectionFeature
public abstract class AbstractCreateConnectionFeature
The Class AbstractCreateConnectionFeature.
| Field Summary | |
|---|---|
private java.lang.String |
createDescription
|
private java.lang.String |
createName
|
private static java.lang.String |
NAME
|
| Constructor Summary | |
|---|---|
AbstractCreateConnectionFeature(IFeatureProvider fp,
java.lang.String name,
java.lang.String description)
Creates a new AbstractAddShapeFeature. |
|
| 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. |
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 |
getName()
Gets the name. |
private void |
setCreateDescription(java.lang.String description)
|
private void |
setCreateName(java.lang.String name)
|
| Methods inherited from class org.eclipse.graphiti.features.impl.AbstractFeature |
|---|
addGraphicalRepresentation, canUndo, getAllBusinessObjectsForPictogramElement, getBusinessObjectForPictogramElement, getDescription, getDiagram, getDiagramEditor, getFeatureProvider, getProgressCallback, getUserDecision, hasDoneChanges, isAvailable, layoutPictogramElement, link, link, manageColor, manageColor, 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.ICreateConnection |
|---|
canCreate, canStartConnection, create |
| Methods inherited from interface org.eclipse.graphiti.features.IFeature |
|---|
canUndo, hasDoneChanges, isAvailable |
| Methods inherited from interface org.eclipse.graphiti.IDescription |
|---|
getDescription |
| Methods inherited from interface org.eclipse.graphiti.features.IFeatureProviderHolder |
|---|
getFeatureProvider |
| Field Detail |
|---|
private java.lang.String createDescription
private java.lang.String createName
private static final java.lang.String NAME
| Constructor Detail |
|---|
public AbstractCreateConnectionFeature(IFeatureProvider fp,
java.lang.String name,
java.lang.String description)
AbstractAddShapeFeature.
fp - the fpname - the namedescription - the description| Method Detail |
|---|
public java.lang.String getCreateDescription()
getCreateDescription in interface ICreateInfopublic java.lang.String getCreateName()
getCreateName in interface ICreateInfoprivate void setCreateDescription(java.lang.String description)
description - The description to set.private void setCreateName(java.lang.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 java.lang.String getCreateImageId()
ICreateInfo
getCreateImageId in interface ICreateInfopublic java.lang.String getCreateLargeImageId()
ICreateInfo
getCreateLargeImageId in interface ICreateInfopublic java.lang.String getName()
IName
getName in interface INamegetName in class AbstractFeature
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||