Class WorkspaceListener
java.lang.Object
org.palladiosimulator.simulizar.ui.measurementsdashboard.listeners.WorkspaceListener
- All Implemented Interfaces:
EventListener
,IResourceChangeListener
This class implements the IResourceChangeListener to listen to changes in the
workspace and update our GUI accordingly
-
Field Summary
Fields inherited from interface org.eclipse.core.resources.IResourceChangeListener
PROPERTY_EVENT_MASK
-
Constructor Summary
ConstructorDescriptionWorkspaceListener
(MeasurementsDashboardView dashboardView) Constructor initiates dashboardView and dataApplication -
Method Summary
Modifier and TypeMethodDescriptionvoid
Listens to ChangeEvents and sets the changed project, which are then used to update our Dashboard view
-
Constructor Details
-
WorkspaceListener
Constructor initiates dashboardView and dataApplication- Parameters:
dashboardView
- to call for changes
-
-
Method Details
-
resourceChanged
Listens to ChangeEvents and sets the changed project, which are then used to update our Dashboard view- Specified by:
resourceChanged
in interfaceIResourceChangeListener
-