Class AnnotationViewerMain

    • Constructor Detail

      • AnnotationViewerMain

        public AnnotationViewerMain()
        Constructor. Sets up the GUI.
    • Method Detail

      • getStyleMapFileName

        public File getStyleMapFileName​(String aDescriptorFileName)
        Gets the name of the style map file for the given AE or TypeSystem descriptor filename.
      • main

        public static void main​(String[] args)
      • savePreferences

        public void savePreferences()
        Save user's preferences using Java's Preference API.
      • restorePreferences

        public void restorePreferences()
        Reset GUI to preferences last saved via savePreferences().
      • 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.