|
||||||||||
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.AbstractUpdateFeature
org.eclipse.graphiti.pattern.UpdateFeatureForPattern
public class UpdateFeatureForPattern
The Class UpdateFeatureForPattern.
Field Summary | |
---|---|
private IUpdate |
pattern
|
Constructor Summary | |
---|---|
UpdateFeatureForPattern(IFeatureProvider featureProvider,
IUpdate pattern)
Creates a new UpdateFeatureForPattern . |
Method Summary | |
---|---|
boolean |
canUpdate(IUpdateContext context)
Checks whether the values of the current pictogram element of the given context can be updated. |
boolean |
update(IUpdateContext context)
Updates the pictogram element. |
IReason |
updateNeeded(IUpdateContext context)
Check whether the values in the pictogram element are up to date, that means whether the graphics algorithm of this pictogram element contain the latest values from the business objects. |
Methods inherited from class org.eclipse.graphiti.features.impl.AbstractUpdateFeature |
---|
canExecute, canUpdatePictogramElement, execute, getName, resizeShape, updatePictogramElement, updatePictogramElementNeeded |
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 |
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 IUpdate pattern
Constructor Detail |
---|
public UpdateFeatureForPattern(IFeatureProvider featureProvider, IUpdate pattern)
UpdateFeatureForPattern
.
featureProvider
- the feature providerpattern
- the patternMethod Detail |
---|
public boolean canUpdate(IUpdateContext context)
IUpdate
context
- the context
public IReason updateNeeded(IUpdateContext context)
IUpdate
context
- the context
public boolean update(IUpdateContext context)
IUpdate
context
- the context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |