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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreatePartControl(Composite parent) Creates the menu items and controls for the simulizar measuring point viewvoidvoidredo()Redos change of the monitor tree viewervoidsave()Saves the current data in the tree viewvoidundo()Undos changes on the monitor tree viewervoidUpdates the dashboard by reloading the data and refreshing the viewsvoidupdateMeasurementsDashboardView(IProject project) Updates the dashboard by loading the data corresponding to the given project and refreshing the viewsvoidIf more then 1 monitorRepository exists in the current project this updates the MonitorRepositoryComboBoxvoidAdds every project in the workspace that has an .aird file to the projectsComboBoxvoidIf 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:
propertyChangein interfacePropertyChangeListener
-