Class DefaultNotificationService
java.lang.Object
org.eclipse.graphiti.notification.DefaultNotificationService
- All Implemented Interfaces:
INotificationService
The Class DefaultNotificationService.
-
Constructor Summary
ConstructorDescriptionDefaultNotificationService
(IDiagramTypeProvider diagramTypeProvider) Creates a newDefaultNotificationService
. -
Method Summary
Modifier and TypeMethodDescriptionprotected PictogramElement[]
calculateLinkedPictogramElements
(ArrayList<Object> changedAndRelatedBOsList) Calculate linked pictogram elements.calculateRelatedPictogramElements
(Object[] changedBOs) Calculate dirty pictogram elements.protected IDiagramTypeProvider
Gets the diagram type provider.void
updatePictogramElements
(PictogramElement[] dirtyPes) Update dirty pictogram elements.
-
Constructor Details
-
DefaultNotificationService
Creates a newDefaultNotificationService
.- Parameters:
diagramTypeProvider
- the diagram type provider
-
-
Method Details
-
getDiagramTypeProvider
Gets the diagram type provider.- Returns:
- the diagram type provider
-
updatePictogramElements
Update dirty pictogram elements.- Specified by:
updatePictogramElements
in interfaceINotificationService
- Parameters:
dirtyPes
- the dirty pes
-
calculateLinkedPictogramElements
protected PictogramElement[] calculateLinkedPictogramElements(ArrayList<Object> changedAndRelatedBOsList) Calculate linked pictogram elements.- Parameters:
changedAndRelatedBOsList
- the changed and related BOs list- Returns:
- the pictogram element[]
-
calculateRelatedPictogramElements
Calculate dirty pictogram elements.- Specified by:
calculateRelatedPictogramElements
in interfaceINotificationService
- Parameters:
changedBOs
- the changed business objects- Returns:
- the pictogram element[]
-