Class WorkspaceListener
- java.lang.Object
-
- org.palladiosimulator.simulizar.ui.measurementsdashboard.listeners.WorkspaceListener
-
- All Implemented Interfaces:
EventListener
,IResourceChangeListener
public class WorkspaceListener extends Object implements IResourceChangeListener
This class implements the IResourceChangeListener to listen to changes in the workspace and update our GUI accordingly
-
-
Constructor Summary
Constructors Constructor Description WorkspaceListener(MeasurementsDashboardView dashboardView)
Constructor initiates dashboardView and dataApplication
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
resourceChanged(IResourceChangeEvent event)
Listens to ChangeEvents and sets the changed project, which are then used to update our Dashboard view
-
-
-
Constructor Detail
-
WorkspaceListener
public WorkspaceListener(MeasurementsDashboardView dashboardView)
Constructor initiates dashboardView and dataApplication- Parameters:
dashboardView
- to call for changes
-
-
Method Detail
-
resourceChanged
public void resourceChanged(IResourceChangeEvent event)
Listens to ChangeEvents and sets the changed project, which are then used to update our Dashboard view- Specified by:
resourceChanged
in interfaceIResourceChangeListener
-
-