Class MeasurementsDashboardView
java.lang.Object
org.palladiosimulator.simulizar.ui.measurementsdashboard.parts.MeasurementsDashboardView
- All Implemented Interfaces:
PropertyChangeListener
,EventListener
Eclipse e4 view which gives the user an overview of all existing Monitors and MeasuringPoints in
a selected MonitorRepository.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createPartControl
(Composite parent) Creates the menu items and controls for the simulizar measuring point viewvoid
void
redo()
Redos change of the monitor tree viewervoid
save()
Saves the current data in the tree viewvoid
undo()
Undos changes on the monitor tree viewervoid
Updates the dashboard by reloading the data and refreshing the viewsvoid
updateMeasurementsDashboardView
(IProject project) Updates the dashboard by loading the data corresponding to the given project and refreshing the viewsvoid
If more then 1 monitorRepository exists in the current project this updates the MonitorRepositoryComboBoxvoid
Adds every project in the workspace that has an .aird file to the projectsComboBoxvoid
If more then 1 monitorRepository exists in the current project this updates the MonitorRepositoryComboBox
-
Constructor Details
-
MeasurementsDashboardView
public MeasurementsDashboardView()
-
-
Method Details
-
createPartControl
Creates the menu items and controls for the simulizar measuring point view- Parameters:
parent
- the composite of the empty view
-
updateMonitorRepositoryComboBox
public void updateMonitorRepositoryComboBox()If more then 1 monitorRepository exists in the current project this updates the MonitorRepositoryComboBox -
updateSLORepositoryComboBox
public void updateSLORepositoryComboBox()If more then 1 monitorRepository exists in the current project this updates the MonitorRepositoryComboBox -
updateProjectComboBox
public void updateProjectComboBox()Adds every project in the workspace that has an .aird file to the projectsComboBox -
updateMeasurementsDashboardView
Updates the dashboard by loading the data corresponding to the given project and refreshing the views- Parameters:
project
- to update
-
updateMeasurementsDashboardView
public void updateMeasurementsDashboardView()Updates the dashboard by reloading the data and refreshing the views- Parameters:
project
- to update
-
undo
public void undo()Undos changes on the monitor tree viewer -
redo
public void redo()Redos change of the monitor tree viewer -
save
Saves the current data in the tree view- Parameters:
dirty
- the dirty state which indicates whether there were changes made- Throws:
IOException
- if the save command fails
-
propertyChange
- Specified by:
propertyChange
in interfacePropertyChangeListener
-