Class MeasurementsDashboardView

    • Constructor Detail

      • MeasurementsDashboardView

        public MeasurementsDashboardView()
    • Method Detail

      • createPartControl

        @PostConstruct
        public void createPartControl​(Composite parent)
        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

        public void updateMeasurementsDashboardView​(IProject project)
        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

        @Persist
        public void save()
                  throws IOException
        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