|
||||||||||
| 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.DefaultMoveConnectionDecoratorFeature
public class DefaultMoveConnectionDecoratorFeature
The Class DefaultMoveConnectionDecoratorFeature.
| Field Summary | |
|---|---|
private static String |
NAME
|
| Constructor Summary | |
|---|---|
DefaultMoveConnectionDecoratorFeature(IFeatureProvider fp)
Creates a new DefaultMoveConnectionDecoratorFeature. |
|
| Method Summary | |
|---|---|
boolean |
canExecute(IContext context)
Decides if the current feature can execute with the given context. |
boolean |
canMoveConnectionDecorator(IMoveConnectionDecoratorContext context)
Can move connection decorator. |
void |
execute(IContext context)
Executes the current feature with the given context. |
String |
getName()
Gets the name. |
void |
moveConnectionDecorator(IMoveConnectionDecoratorContext context)
Move connection decorator. |
| Methods inherited from class org.eclipse.graphiti.features.impl.AbstractFeature |
|---|
addGraphicalRepresentation, canUndo, getAllBusinessObjectsForPictogramElement, getBusinessObjectForPictogramElement, getDescription, 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.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 static final String NAME
| Constructor Detail |
|---|
public DefaultMoveConnectionDecoratorFeature(IFeatureProvider fp)
DefaultMoveConnectionDecoratorFeature.
fp - the feature provider| Method Detail |
|---|
public boolean canMoveConnectionDecorator(IMoveConnectionDecoratorContext context)
IMoveConnectionDecoratorFeature
canMoveConnectionDecorator in interface IMoveConnectionDecoratorFeaturecontext - the context
public void moveConnectionDecorator(IMoveConnectionDecoratorContext context)
IMoveConnectionDecoratorFeature
moveConnectionDecorator in interface IMoveConnectionDecoratorFeaturecontext - the contextpublic 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 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 | |||||||||