|
||||||||||
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.pattern.ReconnectionFeatureForPattern
public class ReconnectionFeatureForPattern
The Class ReconnectionFeatureForPattern.
Field Summary | |
---|---|
private IReconnection |
deletegate
|
private static java.lang.String |
NAME
|
Constructor Summary | |
---|---|
ReconnectionFeatureForPattern(IFeatureProvider fp,
IReconnection pattern)
Creates a new ReconnectionFeatureForPattern . |
Method Summary | |
---|---|
boolean |
canExecute(IContext context)
Decides if the current feature can execute with the given context. |
boolean |
canReconnect(IReconnectionContext context)
Can reconnect. |
void |
execute(IContext context)
Executes the current feature with the given context. |
java.lang.String |
getName()
Gets the name. |
void |
postReconnect(IReconnectionContext context)
Post reconnnect. |
void |
preReconnect(IReconnectionContext context)
Pre reconnnect. |
void |
reconnect(IReconnectionContext context)
Reconnnect. |
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.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 java.lang.String NAME
private IReconnection deletegate
Constructor Detail |
---|
public ReconnectionFeatureForPattern(IFeatureProvider fp, IReconnection pattern)
ReconnectionFeatureForPattern
.
fp
- the feature providerpattern
- the patternMethod Detail |
---|
public boolean canReconnect(IReconnectionContext context)
IReconnection
canReconnect
in interface IReconnection
context
- the context
public void postReconnect(IReconnectionContext context)
IReconnection
postReconnect
in interface IReconnection
context
- the contextpublic void preReconnect(IReconnectionContext context)
IReconnection
preReconnect
in interface IReconnection
context
- the contextpublic void reconnect(IReconnectionContext context)
IReconnection
reconnect
in interface IReconnection
context
- the contextpublic boolean canExecute(IContext context)
IFeature
canExecute
in interface IFeature
context
- this is the general input for this method
IContext
public void execute(IContext context)
IFeature
execute
in interface IFeature
context
- this is the general input for this methodIContext
public java.lang.String getName()
IName
getName
in interface IName
getName
in class AbstractFeature
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |