Class CpmPanel

    • Constructor Detail

      • CpmPanel

        public CpmPanel()
    • Method Detail

      • createFileMenuItems

        public List createFileMenuItems()
        Creates JMenuItems that should be added to the File menu
        Returns:
        a List of JMenuItems
      • createViewMenuItems

        public List createViewMenuItems()
        Creates JMenuItems that should be added to the View menu
        Returns:
        a List of JMenuItems
      • confirmExit

        public boolean confirmExit()
        Ask user to confirm exist. Return true if they confirm, false if not.
      • checkForOutOfSyncFiles

        public void checkForOutOfSyncFiles()
      • refreshOutOfSyncFiles

        public void refreshOutOfSyncFiles()
      • displayError

        public void displayError​(String aErrorString)
        Displays an error message to the user.
        Parameters:
        aErrorString - error message to display
      • displayError

        public void displayError​(Throwable aThrowable)
        Displays an error message to the user.
        Parameters:
        aThrowable - Throwable whose message is to be displayed.
      • tabClosed

        public void tabClosed​(JTabbedPaneWithCloseIcons source,
                              int tabPos)
        Specified by:
        tabClosed in interface TabClosedListener
        Parameters:
        source - the JTabbedPaneWithCloseIcons control sending this event
        tabPos - position of the tab that was closed
      • onCompletion

        public void onCompletion()
      • printStats

        public void printStats()