Class PerspectiveControllerImpl

    • Field Detail

      • perspectives

        private final Perspective[] perspectives
      • selectedPerspective

        private String selectedPerspective
    • Constructor Detail

      • PerspectiveControllerImpl

        public PerspectiveControllerImpl()
    • Method Detail

      • getSelectedPerspective

        public Perspective getSelectedPerspective()
        Description copied from interface: PerspectiveController
        Returns the selected perspective or null if no perspective is selected. By default the 'Overview' perspective is selected.
        Specified by:
        getSelectedPerspective in interface PerspectiveController
        Returns:
        the currently selected perspective or null
      • selectPerspective

        public void selectPerspective​(Perspective perspective)
        Description copied from interface: PerspectiveController
        Switch the current perspective to the given perspective. Only one perspective can be selected at a time.
        Specified by:
        selectPerspective in interface PerspectiveController
        Parameters:
        perspective - the perspective to select
      • openAndCloseMembers

        private void openAndCloseMembers​(Perspective perspective)