Class MainFrame

  • All Implemented Interfaces:
    java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer, javax.swing.WindowConstants

    public class MainFrame
    extends javax.swing.JFrame
    Class comment for MainFrame.java goes here.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javax.swing.JFrame

        javax.swing.JFrame.AccessibleJFrame
      • Nested classes/interfaces inherited from class java.awt.Frame

        java.awt.Frame.AccessibleAWTFrame
      • Nested classes/interfaces inherited from class java.awt.Window

        java.awt.Window.AccessibleAWTWindow, java.awt.Window.Type
      • Nested classes/interfaces inherited from class java.awt.Container

        java.awt.Container.AccessibleAWTContainer
      • Nested classes/interfaces inherited from class java.awt.Component

        java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private javax.swing.JMenuItem acdItem
      The acd item.
      private AnalysisEngine ae
      The ae.
      private java.io.File aeDescriptorFile
      The ae descriptor file.
      static java.lang.String aeDirPref
      The Constant aeDirPref.
      private javax.swing.JTextField aeStatus
      The ae status.
      private javax.swing.JMenuItem allAnnotationViewerItem
      The all annotation viewer item.
      private java.io.File annotOpenDir
      The annot open dir.
      static java.lang.String annotViewSizePref
      The Constant annotViewSizePref.
      private javax.swing.JTextField caretStatus
      The caret status.
      private CAS cas
      The cas.
      private java.lang.String codePage
      The code page.
      private java.util.List<java.lang.String> codePages
      The code pages.
      private static java.lang.String colorDirPref
      The Constant colorDirPref.
      private static java.lang.String colorFilePref
      The Constant colorFilePref.
      private java.io.File colorSettingFile
      The color setting file.
      private java.io.File colorSettingsDir
      The color settings dir.
      private javax.swing.Action copyAction
      The copy action.
      private javax.swing.ButtonGroup cpButtons
      The cp buttons.
      private static java.lang.String cpCurrentPref
      The Constant cpCurrentPref.
      private javax.swing.JMenu cpMenu
      The cp menu.
      private java.util.List<java.awt.Cursor> cursorCache
      The cursor cache.
      private java.util.List<java.awt.Component> cursorOwningComponents
      The cursor owning components.
      private javax.swing.Action cutAction
      The cut action.
      private java.lang.String dataPathName
      The data path name.
      private static java.lang.String dataPathPref
      The Constant dataPathPref.
      static java.lang.String DEFAULT_STYLE_NAME
      The Constant DEFAULT_STYLE_NAME.
      private static java.lang.String defaultLanguages
      The Constant defaultLanguages.
      private static java.lang.String defaultText
      The Constant defaultText.
      private static java.lang.String descFileListPref
      The Constant descFileListPref.
      private java.util.List<java.lang.String> descFileNameList
      The desc file name list.
      private javax.swing.JMenu editMenu
      The edit menu.
      private boolean exitOnClose
      The exit on close.
      private javax.swing.JMenu fileMenu
      The file menu.
      private java.io.File fileOpenDir
      The file open dir.
      private javax.swing.JMenuItem fileSaveItem
      The file save item.
      private javax.swing.JTextField fileStatus
      The file status.
      private javax.swing.JTree fsTree
      The fs tree.
      private static java.awt.Dimension fsTreeDimensionDefault
      The Constant fsTreeDimensionDefault.
      private javax.swing.JScrollPane fsTreeScrollPane
      The fs tree scroll pane.
      static java.lang.String fsTreeSizePref
      The Constant fsTreeSizePref.
      static java.lang.String heightSuffix
      The Constant heightSuffix.
      (package private) static java.lang.String htmlGrayColor
      The Constant htmlGrayColor.
      private FSIndex index
      The index.
      private java.lang.String indexLabel
      The index label.
      private static java.lang.String indexReposRootLabel
      The Constant indexReposRootLabel.
      private javax.swing.JTree indexTree
      The index tree.
      private javax.swing.JScrollPane indexTreeScrollPane
      The index tree scroll pane.
      static java.lang.String indexTreeSizePref
      The Constant indexTreeSizePref.
      private java.io.File iniFile
      The ini file.
      private boolean isAnnotationIndex
      The is annotation index.
      private boolean isDirty
      The is dirty.
      private javax.swing.ButtonGroup langButtons
      The lang buttons.
      private static java.lang.String langCurrentPref
      The Constant langCurrentPref.
      private static java.lang.String langListPref
      The Constant langListPref.
      private javax.swing.JMenu langMenu
      The lang menu.
      private java.lang.String language
      The language.
      private static java.lang.String LANGUAGE_DEFAULT
      The Constant LANGUAGE_DEFAULT.
      (package private) java.lang.String languagePrefsList
      The language prefs list.
      private java.util.List<java.lang.String> languages
      The languages.
      private ProcessTrace lastRunProcessTrace
      The last run process trace.
      private Logger log
      The log.
      private java.io.File logFile
      The log file.
      private static java.awt.Dimension logFileDimensionDefault
      The Constant logFileDimensionDefault.
      private static java.lang.String loggerPropertiesFileName
      The Constant loggerPropertiesFileName.
      static java.util.List<Level> logLevels
      The log levels.
      static java.lang.String logViewSizePref
      The Constant logViewSizePref.
      private static int maxRecentSize
      The Constant maxRecentSize.
      private static java.lang.String noIndexReposLabel
      The Constant noIndexReposLabel.
      private java.util.Properties preferences
      The preferences.
      private javax.swing.JMenu recentDescFileMenu
      The recent desc file menu.
      private RecentFilesList recentDescFiles
      The recent desc files.
      private javax.swing.JMenu recentTextFileMenu
      The recent text file menu.
      private RecentFilesList recentTextFiles
      The recent text files.
      private javax.swing.JMenuItem reRunMenu
      The re run menu.
      private javax.swing.JMenuItem runCPCMenu
      The run CPC menu.
      private javax.swing.JMenuItem runOnCasMenuItem
      The run on cas menu item.
      private static java.awt.Color selectionColor
      The Constant selectionColor.
      private static long serialVersionUID
      The Constant serialVersionUID.
      private javax.swing.JMenuItem showPerfReportItem
      The show perf report item.
      private javax.swing.JComboBox sofaSelectionComboBox
      The sofa selection combo box.
      private javax.swing.JPanel sofaSelectionPanel
      The sofa selection panel.
      private javax.swing.JTextField statusBar
      The status bar.
      private javax.swing.JPanel statusPanel
      The status panel.
      private java.util.Map<java.lang.String,​javax.swing.text.Style> styleMap
      The style map.
      private javax.swing.JTextArea textArea
      The text area.
      private static java.awt.Dimension textDimensionDefault
      The Constant textDimensionDefault.
      static java.lang.String textDirPref
      The Constant textDirPref.
      private java.io.File textFile
      The text file.
      private static java.lang.String textFileListPref
      The Constant textFileListPref.
      private java.util.List<java.lang.String> textFileNameList
      The text file name list.
      private javax.swing.JPopupMenu textPopup
      The text popup.
      private javax.swing.JScrollPane textScrollPane
      The text scroll pane.
      static java.lang.String textSizePref
      The Constant textSizePref.
      private javax.swing.border.Border textTitleBorder
      The text title border.
      private static java.lang.String titleText
      The Constant titleText.
      private javax.swing.JMenuItem tsViewerItem
      The ts viewer item.
      static java.lang.String tsWindowSizePref
      The Constant tsWindowSizePref.
      private javax.swing.JMenuItem typeSystemReadItem
      The type system read item.
      private javax.swing.JMenuItem typeSystemWriteItem
      The type system write item.
      private javax.swing.JMenuItem undoItem
      The undo item.
      private UndoMgr undoMgr
      The undo mgr.
      static java.lang.String widthSuffix
      The Constant widthSuffix.
      static java.lang.String xcasDirPref
      The Constant xcasDirPref.
      private java.io.File xcasFileOpenDir
      The xcas file open dir.
      private javax.swing.JMenuItem xcasReadItem
      The xcas read item.
      private javax.swing.JMenuItem xcasWriteItem
      The xcas write item.
      private javax.swing.JMenuItem xmiCasReadItem
      The xmi cas read item.
      private javax.swing.JMenuItem xmiCasWriteItem
      The xmi cas write item.
      • Fields inherited from class javax.swing.JFrame

        accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled
      • Fields inherited from class java.awt.Frame

        CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
      • Fields inherited from class java.awt.Component

        BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
      • Fields inherited from interface java.awt.image.ImageObserver

        ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
      • Fields inherited from interface javax.swing.WindowConstants

        DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE
    • Constructor Summary

      Constructors 
      Constructor Description
      MainFrame​(java.io.File iniFile)
      Constructor for MainFrame.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void addCursorOwningComponent​(java.awt.Component comp)
      Adds the cursor owning component.
      void addLanguage​(java.lang.String language1)
      Adds the language.
      private void addRecentDescFile​(java.io.File file)
      Adds the recent desc file.
      private void addRecentTextFile​(java.io.File file)
      Adds the recent text file.
      boolean confirmOverwrite​(java.io.File f)
      Confirm overwrite.
      void createCodePages()
      Creates the code pages.
      private void createCPMenu()
      Creates the CP menu.
      private java.util.HashMap<java.lang.Object,​javax.swing.Action> createEditActionMap()
      Creates the edit action map.
      private javax.swing.JMenu createEditMenu()
      Creates the edit menu.
      private void createFileMenu()
      Creates the file menu.
      private javax.swing.JMenu createHelpMenu()
      Creates the help menu.
      private void createLangMenu()
      Creates the lang menu.
      void createLanguages()
      Creates the languages.
      private javax.swing.JMenuBar createMenuBar()
      Creates the menu bar.
      private javax.swing.JMenuItem createRecentDescFileItem​(int num, java.io.File file)
      Creates the recent desc file item.
      private javax.swing.JMenuItem createRecentTextFileItem​(int num, java.io.File file)
      Creates the recent text file item.
      private javax.swing.JMenu createRunMenu()
      Creates the run menu.
      private void createStatusBar()
      Creates the status bar.
      private void createTextArea()
      Creates the text area.
      private javax.swing.JMenu createToolsMenu()
      Creates the tools menu.
      private javax.swing.tree.DefaultMutableTreeNode createTypeTree​(Type type, TypeSystem ts, java.lang.String label, FSIndexRepository ir)
      Creates the type tree.
      private void deleteFSTree()
      Delete FS tree.
      void destroyAe()
      Destroy ae.
      AnalysisEngine getAe()
      Gets the ae.
      private java.util.ArrayList<FSNode> getAnnotationsAtPos​(int pos, java.util.List<FSNode> annots)
      Gets the annotations at pos.
      java.io.File getAnnotOpenDir()
      Gets the annot open dir.
      CAS getCas()
      Gets the cas.
      java.lang.String getCodePage()
      Gets the code page.
      java.util.List<java.lang.String> getCodePages()
      Gets the code pages.
      java.io.File getColorSettingFile()
      Gets the color setting file.
      java.io.File getColorSettingsDir()
      Gets the color settings dir.
      java.lang.String getDataPathName()
      Gets the data path name.
      java.awt.Dimension getDimension​(java.lang.String propPrefix)
      Gets the dimension.
      java.io.File getFileOpenDir()
      Gets the file open dir.
      javax.swing.JTree getFsTree()
      Gets the fs tree.
      FSIndex getIndex()
      Gets the index.
      java.lang.String getIndexLabel()
      Gets the index label.
      javax.swing.JTree getIndexTree()
      Gets the index tree.
      java.lang.String getLanguage()
      Gets the language.
      java.lang.String getLanguagePrefsList()
      Gets the language prefs list.
      java.util.List<java.lang.String> getLanguages()
      Gets the languages.
      private static int getMnemonic​(int i)
      Gets the mnemonic.
      java.util.Properties getPreferences()
      Gets the preferences.
      java.util.Map<java.lang.String,​javax.swing.text.Style> getStyleMap()
      Gets the style map.
      javax.swing.JTextArea getTextArea()
      Gets the text area.
      java.io.File getTextFile()
      Gets the text file.
      UndoMgr getUndoMgr()
      Gets the undo mgr.
      java.io.File getXcasFileOpenDir()
      Gets the xcas file open dir.
      void handleException​(java.lang.Throwable e)
      Handle exception.
      protected void handleException​(java.lang.Throwable e, java.lang.StringBuffer msg)
      Handle exception.
      void handleSofas()
      Handle sofas.
      private void init()
      Inits the.
      private void initCas()
      Inits the cas.
      private void initFileLists()
      Inits the file lists.
      private void initFSTree()
      Inits the FS tree.
      private void initializeLogging()
      Initialize logging.
      private void initIRTree()
      Inits the IR tree.
      private void initKeyMap()
      Inits the key map.
      protected void internalRunAE​(boolean doCasReset)
      Internal run AE.
      boolean isAnnotationIndex()
      Checks if is annotation index.
      boolean isDirty()
      Checks if is dirty.
      boolean isExitOnClose()
      Checks if is exit on close.
      void loadAEDescriptor​(java.io.File descriptorFile)
      Load AE descriptor.
      void loadColorPreferences​(java.io.File file)
      Load color preferences.
      void loadFile()
      Load file.
      private void loadProgramPreferences()
      Load program preferences.
      void loadTextFile​(java.io.File textFile1)
      Load a text file.
      void loadXmiFile​(java.io.File xmiCasFile)
      Load xmi file.
      private void populateEditMenu()
      Populate edit menu.
      void resetCPMenu()
      Reset CP menu.
      void resetCursor()
      Reset cursor.
      void resetLangMenu()
      Reset lang menu.
      void resetTrees()
      Reset trees.
      void runAE​(boolean doCasReset)
      Run AE.
      void runCPC()
      Run CPC.
      void saveColorPreferences​(java.io.File file)
      Save color preferences.
      boolean saveFile()
      Save file.
      void saveProgramPreferences()
      Save program preferences.
      private void setAEStatusMessage()
      Sets the AE status message.
      void setAllAnnotationViewerItemEnable​(boolean enabled)
      Sets the all annotation viewer item enable.
      void setAnnotationIndex​(boolean isAnnotationIndex)
      Sets the annotation index.
      void setAnnotOpenDir​(java.io.File annotOpenDir)
      Sets the annot open dir.
      void setCaretStatus​(int dot, int mark)
      Sets the caret status.
      void setCas​(CAS cas)
      Sets the cas.
      void setCodePage​(java.lang.String codePage)
      Sets the code page.
      void setColorSettingFile​(java.io.File colorSettingFile)
      Sets the color setting file.
      void setColorSettingsDir​(java.io.File colorSettingsDir)
      Sets the color settings dir.
      void setDataPath​(java.lang.String dataPath)
      Sets the data path.
      void setDataPathName​(java.lang.String dataPathName)
      Sets the data path name.
      void setDirty​(boolean isDirty)
      Sets the dirty.
      void setEnableCasFileReadingAndWriting()
      Sets the enable cas file reading and writing.
      void setExitOnClose​(boolean exitOnClose)
      Set exit-on-close behavior.
      void setFileOpenDir​(java.io.File fileOpenDir)
      Sets the file open dir.
      void setFileStatusMessage()
      Sets the file status message.
      void setIndex​(FSIndex index)
      Sets the index.
      void setIndexLabel​(java.lang.String indexLabel)
      Sets the index label.
      void setLanguage​(java.lang.String language)
      Sets the language.
      void setLanguagePrefsList​(java.lang.String languagePrefsList)
      Sets the language prefs list.
      void setPreferredSize​(javax.swing.JComponent comp, java.lang.String propPrefix)
      Sets the preferred size.
      void setRerunEnabled​(boolean enabled)
      Sets the rerun enabled.
      void setRunOnCasEnabled()
      Sets the run on cas enabled.
      void setSaveTextFileEnable​(boolean enabled)
      Sets the save text file enable.
      void setStatusbarMessage​(java.lang.String message)
      Sets the statusbar message.
      void setText​(java.lang.String text)
      Set the text to be analyzed.
      void setTextFile​(java.io.File textFile)
      Sets the text file.
      void setTextNoTitle​(java.lang.String text)
      Sets the text no title.
      void setTitle()
      Sets the title.
      void setTypeSystemViewerEnabled​(boolean enabled)
      Sets the type system viewer enabled.
      void setUndoEnabled​(boolean enabled)
      Sets the undo enabled.
      protected boolean setupAE​(java.io.File aeFile)
      Setup AE.
      private void setWaitCursor()
      Sets the wait cursor.
      void setXcasFileOpenDir​(java.io.File xcasFileOpenDir)
      Sets the xcas file open dir.
      private void showError​(java.lang.String msg)
      Show error.
      void showTextPopup​(int x, int y)
      Show text popup.
      private static java.lang.String stringListToString​(java.util.List<java.lang.String> list)
      String list to string.
      private static java.util.List<java.lang.String> stringToArrayList​(java.lang.String s)
      String to array list.
      void updateFSTree​(java.lang.String indexName, FSIndex index1)
      Update FS tree.
      void updateIndexTree​(boolean useCAS)
      Update index tree.
      • Methods inherited from class javax.swing.JFrame

        addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
      • Methods inherited from class java.awt.Frame

        addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecorated
      • Methods inherited from class java.awt.Window

        addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, toFront
      • Methods inherited from class java.awt.Container

        add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
      • Methods inherited from class java.awt.Component

        action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.awt.MenuContainer

        getFont, postEvent
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        The Constant serialVersionUID.
        See Also:
        Constant Field Values
      • logLevels

        public static java.util.List<Level> logLevels
        The log levels.
      • loggerPropertiesFileName

        private static final java.lang.String loggerPropertiesFileName
        The Constant loggerPropertiesFileName.
        See Also:
        Constant Field Values
      • defaultText

        private static final java.lang.String defaultText
        The Constant defaultText.
        See Also:
        Constant Field Values
      • titleText

        private static final java.lang.String titleText
        The Constant titleText.
        See Also:
        Constant Field Values
      • htmlGrayColor

        static final java.lang.String htmlGrayColor
        The Constant htmlGrayColor.
        See Also:
        Constant Field Values
      • indexReposRootLabel

        private static final java.lang.String indexReposRootLabel
        The Constant indexReposRootLabel.
        See Also:
        Constant Field Values
      • noIndexReposLabel

        private static final java.lang.String noIndexReposLabel
        The Constant noIndexReposLabel.
        See Also:
        Constant Field Values
      • textArea

        private javax.swing.JTextArea textArea
        The text area.
      • indexTree

        private javax.swing.JTree indexTree
        The index tree.
      • fsTree

        private javax.swing.JTree fsTree
        The fs tree.
      • statusPanel

        private javax.swing.JPanel statusPanel
        The status panel.
      • statusBar

        private javax.swing.JTextField statusBar
        The status bar.
      • fileStatus

        private javax.swing.JTextField fileStatus
        The file status.
      • aeStatus

        private javax.swing.JTextField aeStatus
        The ae status.
      • caretStatus

        private javax.swing.JTextField caretStatus
        The caret status.
      • textTitleBorder

        private javax.swing.border.Border textTitleBorder
        The text title border.
      • isDirty

        private boolean isDirty
        The is dirty.
      • textScrollPane

        private javax.swing.JScrollPane textScrollPane
        The text scroll pane.
      • indexTreeScrollPane

        private javax.swing.JScrollPane indexTreeScrollPane
        The index tree scroll pane.
      • fsTreeScrollPane

        private javax.swing.JScrollPane fsTreeScrollPane
        The fs tree scroll pane.
      • fileMenu

        private javax.swing.JMenu fileMenu
        The file menu.
      • fileSaveItem

        private javax.swing.JMenuItem fileSaveItem
        The file save item.
      • editMenu

        private javax.swing.JMenu editMenu
        The edit menu.
      • undoItem

        private javax.swing.JMenuItem undoItem
        The undo item.
      • undoMgr

        private UndoMgr undoMgr
        The undo mgr.
      • cutAction

        private javax.swing.Action cutAction
        The cut action.
      • copyAction

        private javax.swing.Action copyAction
        The copy action.
      • allAnnotationViewerItem

        private javax.swing.JMenuItem allAnnotationViewerItem
        The all annotation viewer item.
      • acdItem

        private javax.swing.JMenuItem acdItem
        The acd item.
      • tsViewerItem

        private javax.swing.JMenuItem tsViewerItem
        The ts viewer item.
      • reRunMenu

        private javax.swing.JMenuItem reRunMenu
        The re run menu.
      • runCPCMenu

        private javax.swing.JMenuItem runCPCMenu
        The run CPC menu.
      • runOnCasMenuItem

        private javax.swing.JMenuItem runOnCasMenuItem
        The run on cas menu item.
      • showPerfReportItem

        private javax.swing.JMenuItem showPerfReportItem
        The show perf report item.
      • textPopup

        private javax.swing.JPopupMenu textPopup
        The text popup.
      • xcasReadItem

        private javax.swing.JMenuItem xcasReadItem
        The xcas read item.
      • xcasWriteItem

        private javax.swing.JMenuItem xcasWriteItem
        The xcas write item.
      • xmiCasReadItem

        private javax.swing.JMenuItem xmiCasReadItem
        The xmi cas read item.
      • xmiCasWriteItem

        private javax.swing.JMenuItem xmiCasWriteItem
        The xmi cas write item.
      • typeSystemWriteItem

        private javax.swing.JMenuItem typeSystemWriteItem
        The type system write item.
      • typeSystemReadItem

        private javax.swing.JMenuItem typeSystemReadItem
        The type system read item.
      • recentTextFileMenu

        private javax.swing.JMenu recentTextFileMenu
        The recent text file menu.
      • recentDescFileMenu

        private javax.swing.JMenu recentDescFileMenu
        The recent desc file menu.
      • iniFile

        private java.io.File iniFile
        The ini file.
      • codePages

        private java.util.List<java.lang.String> codePages
        The code pages.
      • codePage

        private java.lang.String codePage
        The code page.
      • cpMenu

        private javax.swing.JMenu cpMenu
        The cp menu.
      • cpButtons

        private javax.swing.ButtonGroup cpButtons
        The cp buttons.
      • languagePrefsList

        java.lang.String languagePrefsList
        The language prefs list.
      • languages

        private java.util.List<java.lang.String> languages
        The languages.
      • langMenu

        private javax.swing.JMenu langMenu
        The lang menu.
      • langButtons

        private javax.swing.ButtonGroup langButtons
        The lang buttons.
      • LANGUAGE_DEFAULT

        private static final java.lang.String LANGUAGE_DEFAULT
        The Constant LANGUAGE_DEFAULT.
        See Also:
        Constant Field Values
      • language

        private java.lang.String language
        The language.
      • defaultLanguages

        private static final java.lang.String defaultLanguages
        The Constant defaultLanguages.
        See Also:
        Constant Field Values
      • textFile

        private java.io.File textFile
        The text file.
      • fileOpenDir

        private java.io.File fileOpenDir
        The file open dir.
      • annotOpenDir

        private java.io.File annotOpenDir
        The annot open dir.
      • xcasFileOpenDir

        private java.io.File xcasFileOpenDir
        The xcas file open dir.
      • colorSettingsDir

        private java.io.File colorSettingsDir
        The color settings dir.
      • indexLabel

        private java.lang.String indexLabel
        The index label.
      • index

        private FSIndex index
        The index.
      • isAnnotationIndex

        private boolean isAnnotationIndex
        The is annotation index.
      • cas

        private CAS cas
        The cas.
      • aeDescriptorFile

        private java.io.File aeDescriptorFile
        The ae descriptor file.
      • logFile

        private java.io.File logFile
        The log file.
      • log

        private Logger log
        The log.
      • colorSettingFile

        private java.io.File colorSettingFile
        The color setting file.
      • selectionColor

        private static final java.awt.Color selectionColor
        The Constant selectionColor.
      • preferences

        private java.util.Properties preferences
        The preferences.
      • lastRunProcessTrace

        private ProcessTrace lastRunProcessTrace
        The last run process trace.
      • textDirPref

        public static final java.lang.String textDirPref
        The Constant textDirPref.
        See Also:
        Constant Field Values
      • aeDirPref

        public static final java.lang.String aeDirPref
        The Constant aeDirPref.
        See Also:
        Constant Field Values
      • xcasDirPref

        public static final java.lang.String xcasDirPref
        The Constant xcasDirPref.
        See Also:
        Constant Field Values
      • textSizePref

        public static final java.lang.String textSizePref
        The Constant textSizePref.
        See Also:
        Constant Field Values
      • indexTreeSizePref

        public static final java.lang.String indexTreeSizePref
        The Constant indexTreeSizePref.
        See Also:
        Constant Field Values
      • fsTreeSizePref

        public static final java.lang.String fsTreeSizePref
        The Constant fsTreeSizePref.
        See Also:
        Constant Field Values
      • tsWindowSizePref

        public static final java.lang.String tsWindowSizePref
        The Constant tsWindowSizePref.
        See Also:
        Constant Field Values
      • annotViewSizePref

        public static final java.lang.String annotViewSizePref
        The Constant annotViewSizePref.
        See Also:
        Constant Field Values
      • logViewSizePref

        public static final java.lang.String logViewSizePref
        The Constant logViewSizePref.
        See Also:
        Constant Field Values
      • widthSuffix

        public static final java.lang.String widthSuffix
        The Constant widthSuffix.
        See Also:
        Constant Field Values
      • heightSuffix

        public static final java.lang.String heightSuffix
        The Constant heightSuffix.
        See Also:
        Constant Field Values
      • colorFilePref

        private static final java.lang.String colorFilePref
        The Constant colorFilePref.
        See Also:
        Constant Field Values
      • colorDirPref

        private static final java.lang.String colorDirPref
        The Constant colorDirPref.
        See Also:
        Constant Field Values
      • cpCurrentPref

        private static final java.lang.String cpCurrentPref
        The Constant cpCurrentPref.
        See Also:
        Constant Field Values
      • langCurrentPref

        private static final java.lang.String langCurrentPref
        The Constant langCurrentPref.
        See Also:
        Constant Field Values
      • langListPref

        private static final java.lang.String langListPref
        The Constant langListPref.
        See Also:
        Constant Field Values
      • textFileListPref

        private static final java.lang.String textFileListPref
        The Constant textFileListPref.
        See Also:
        Constant Field Values
      • descFileListPref

        private static final java.lang.String descFileListPref
        The Constant descFileListPref.
        See Also:
        Constant Field Values
      • dataPathPref

        private static final java.lang.String dataPathPref
        The Constant dataPathPref.
        See Also:
        Constant Field Values
      • textDimensionDefault

        private static final java.awt.Dimension textDimensionDefault
        The Constant textDimensionDefault.
      • fsTreeDimensionDefault

        private static final java.awt.Dimension fsTreeDimensionDefault
        The Constant fsTreeDimensionDefault.
      • logFileDimensionDefault

        private static final java.awt.Dimension logFileDimensionDefault
        The Constant logFileDimensionDefault.
      • DEFAULT_STYLE_NAME

        public static final java.lang.String DEFAULT_STYLE_NAME
        The Constant DEFAULT_STYLE_NAME.
        See Also:
        Constant Field Values
      • styleMap

        private java.util.Map<java.lang.String,​javax.swing.text.Style> styleMap
        The style map.
      • maxRecentSize

        private static final int maxRecentSize
        The Constant maxRecentSize.
        See Also:
        Constant Field Values
      • recentTextFiles

        private final RecentFilesList recentTextFiles
        The recent text files.
      • textFileNameList

        private final java.util.List<java.lang.String> textFileNameList
        The text file name list.
      • recentDescFiles

        private final RecentFilesList recentDescFiles
        The recent desc files.
      • descFileNameList

        private final java.util.List<java.lang.String> descFileNameList
        The desc file name list.
      • cursorOwningComponents

        private java.util.List<java.awt.Component> cursorOwningComponents
        The cursor owning components.
      • cursorCache

        private java.util.List<java.awt.Cursor> cursorCache
        The cursor cache.
      • dataPathName

        private java.lang.String dataPathName
        The data path name.
      • sofaSelectionComboBox

        private javax.swing.JComboBox sofaSelectionComboBox
        The sofa selection combo box.
      • sofaSelectionPanel

        private javax.swing.JPanel sofaSelectionPanel
        The sofa selection panel.
      • exitOnClose

        private boolean exitOnClose
        The exit on close.
    • Constructor Detail

      • MainFrame

        public MainFrame​(java.io.File iniFile)
        Constructor for MainFrame.
        Parameters:
        iniFile - the ini file
        Throws:
        java.awt.HeadlessException - -
    • Method Detail

      • runAE

        public void runAE​(boolean doCasReset)
        Run AE.
        Parameters:
        doCasReset - the do cas reset
      • runCPC

        public void runCPC()
        Run CPC.
      • setDataPath

        public void setDataPath​(java.lang.String dataPath)
        Sets the data path.
        Parameters:
        dataPath - the new data path
      • loadAEDescriptor

        public void loadAEDescriptor​(java.io.File descriptorFile)
        Load AE descriptor.
        Parameters:
        descriptorFile - the descriptor file
      • handleException

        public void handleException​(java.lang.Throwable e)
        Handle exception.
        Parameters:
        e - the e
      • handleException

        protected void handleException​(java.lang.Throwable e,
                                       java.lang.StringBuffer msg)
        Handle exception.
        Parameters:
        e - the e
        msg - the msg
      • showError

        private void showError​(java.lang.String msg)
        Show error.
        Parameters:
        msg - the msg
      • loadFile

        public void loadFile()
        Load file.
      • loadXmiFile

        public void loadXmiFile​(java.io.File xmiCasFile)
        Load xmi file.
        Parameters:
        xmiCasFile - the xmi cas file
      • getMnemonic

        private static final int getMnemonic​(int i)
        Gets the mnemonic.
        Parameters:
        i - the i
        Returns:
        the mnemonic
      • createRecentTextFileItem

        private final javax.swing.JMenuItem createRecentTextFileItem​(int num,
                                                                     java.io.File file)
        Creates the recent text file item.
        Parameters:
        num - the num
        file - the file
        Returns:
        the j menu item
      • addRecentTextFile

        private void addRecentTextFile​(java.io.File file)
        Adds the recent text file.
        Parameters:
        file - the file
      • createRecentDescFileItem

        private final javax.swing.JMenuItem createRecentDescFileItem​(int num,
                                                                     java.io.File file)
        Creates the recent desc file item.
        Parameters:
        num - the num
        file - the file
        Returns:
        the j menu item
      • addRecentDescFile

        private void addRecentDescFile​(java.io.File file)
        Adds the recent desc file.
        Parameters:
        file - the file
      • setText

        public void setText​(java.lang.String text)
        Set the text to be analyzed.
        Parameters:
        text - The text.
      • loadTextFile

        public void loadTextFile​(java.io.File textFile1)
        Load a text file.
        Parameters:
        textFile1 - The text file.
      • setTextNoTitle

        public void setTextNoTitle​(java.lang.String text)
        Sets the text no title.
        Parameters:
        text - the new text no title
      • setTitle

        public void setTitle()
        Sets the title.
      • saveFile

        public boolean saveFile()
        Save file.
        Returns:
        true, if successful
      • confirmOverwrite

        public boolean confirmOverwrite​(java.io.File f)
        Confirm overwrite.
        Parameters:
        f - the f
        Returns:
        true, if successful
      • createTextArea

        private void createTextArea()
        Creates the text area.
      • populateEditMenu

        private void populateEditMenu()
        Populate edit menu.
      • createEditActionMap

        private java.util.HashMap<java.lang.Object,​javax.swing.Action> createEditActionMap()
        Creates the edit action map.
        Returns:
        the hash map
      • createMenuBar

        private javax.swing.JMenuBar createMenuBar()
        Creates the menu bar.
        Returns:
        the j menu bar
      • createEditMenu

        private javax.swing.JMenu createEditMenu()
        Creates the edit menu.
        Returns:
        the j menu
      • createHelpMenu

        private javax.swing.JMenu createHelpMenu()
        Creates the help menu.
        Returns:
        the j menu
      • createFileMenu

        private void createFileMenu()
        Creates the file menu.
      • setEnableCasFileReadingAndWriting

        public final void setEnableCasFileReadingAndWriting()
        Sets the enable cas file reading and writing.
      • addCursorOwningComponent

        private final void addCursorOwningComponent​(java.awt.Component comp)
        Adds the cursor owning component.
        Parameters:
        comp - the comp
      • setWaitCursor

        private final void setWaitCursor()
        Sets the wait cursor.
      • resetCursor

        public final void resetCursor()
        Reset cursor.
      • createCodePages

        public void createCodePages()
        Creates the code pages.
      • resetTrees

        public void resetTrees()
        Reset trees.
      • createCPMenu

        private void createCPMenu()
        Creates the CP menu.
      • resetCPMenu

        public void resetCPMenu()
        Reset CP menu.
      • addLanguage

        public void addLanguage​(java.lang.String language1)
        Adds the language.
        Parameters:
        language1 - the language 1
      • createLangMenu

        private void createLangMenu()
        Creates the lang menu.
      • resetLangMenu

        public void resetLangMenu()
        Reset lang menu.
      • createLanguages

        public void createLanguages()
        Creates the languages.
      • createRunMenu

        private javax.swing.JMenu createRunMenu()
        Creates the run menu.
        Returns:
        the j menu
      • createToolsMenu

        private javax.swing.JMenu createToolsMenu()
        Creates the tools menu.
        Returns:
        the j menu
      • createStatusBar

        private void createStatusBar()
        Creates the status bar.
      • setCaretStatus

        public void setCaretStatus​(int dot,
                                   int mark)
        Sets the caret status.
        Parameters:
        dot - the dot
        mark - the mark
      • setFileStatusMessage

        public void setFileStatusMessage()
        Sets the file status message.
      • setAEStatusMessage

        private void setAEStatusMessage()
        Sets the AE status message.
      • setStatusbarMessage

        public void setStatusbarMessage​(java.lang.String message)
        Sets the statusbar message.
        Parameters:
        message - the new statusbar message
      • initializeLogging

        private void initializeLogging()
        Initialize logging.
      • init

        private void init()
        Inits the.
      • initFileLists

        private final void initFileLists()
        Inits the file lists.
      • setupAE

        protected boolean setupAE​(java.io.File aeFile)
        Setup AE.
        Parameters:
        aeFile - the ae file
        Returns:
        true, if successful
      • initCas

        private final void initCas()
        Inits the cas.
      • internalRunAE

        protected void internalRunAE​(boolean doCasReset)
        Internal run AE.
        Parameters:
        doCasReset - the do cas reset
      • initIRTree

        private void initIRTree()
        Inits the IR tree.
      • initFSTree

        private void initFSTree()
        Inits the FS tree.
      • deleteFSTree

        private void deleteFSTree()
        Delete FS tree.
      • updateIndexTree

        public void updateIndexTree​(boolean useCAS)
        Update index tree.
        Parameters:
        useCAS - the use CAS
      • updateFSTree

        public void updateFSTree​(java.lang.String indexName,
                                 FSIndex index1)
        Update FS tree.
        Parameters:
        indexName - the index name
        index1 - the index 1
      • getAnnotationsAtPos

        private java.util.ArrayList<FSNode> getAnnotationsAtPos​(int pos,
                                                                java.util.List<FSNode> annots)
        Gets the annotations at pos.
        Parameters:
        pos - the pos
        annots - the annots
        Returns:
        the annotations at pos
      • createTypeTree

        private javax.swing.tree.DefaultMutableTreeNode createTypeTree​(Type type,
                                                                       TypeSystem ts,
                                                                       java.lang.String label,
                                                                       FSIndexRepository ir)
        Creates the type tree.
        Parameters:
        type - the type
        ts - the ts
        label - the label
        ir - the ir
        Returns:
        the default mutable tree node
      • loadProgramPreferences

        private void loadProgramPreferences()
                                     throws java.io.IOException
        Load program preferences.
        Throws:
        java.io.IOException - Signals that an I/O exception has occurred.
      • setPreferredSize

        public void setPreferredSize​(javax.swing.JComponent comp,
                                     java.lang.String propPrefix)
        Sets the preferred size.
        Parameters:
        comp - the comp
        propPrefix - the prop prefix
      • getDimension

        public java.awt.Dimension getDimension​(java.lang.String propPrefix)
        Gets the dimension.
        Parameters:
        propPrefix - the prop prefix
        Returns:
        the dimension
      • stringListToString

        private static final java.lang.String stringListToString​(java.util.List<java.lang.String> list)
        String list to string.
        Parameters:
        list - the list
        Returns:
        the string
      • stringToArrayList

        private static final java.util.List<java.lang.String> stringToArrayList​(java.lang.String s)
        String to array list.
        Parameters:
        s - the s
        Returns:
        the list
      • saveProgramPreferences

        public void saveProgramPreferences()
                                    throws java.io.IOException
        Save program preferences.
        Throws:
        java.io.IOException - Signals that an I/O exception has occurred.
      • saveColorPreferences

        public void saveColorPreferences​(java.io.File file)
                                  throws java.io.IOException
        Save color preferences.
        Parameters:
        file - the file
        Throws:
        java.io.IOException - Signals that an I/O exception has occurred.
      • loadColorPreferences

        public void loadColorPreferences​(java.io.File file)
                                  throws java.io.IOException
        Load color preferences.
        Parameters:
        file - the file
        Throws:
        java.io.IOException - Signals that an I/O exception has occurred.
      • initKeyMap

        private void initKeyMap()
        Inits the key map.
      • showTextPopup

        public void showTextPopup​(int x,
                                  int y)
        Show text popup.
        Parameters:
        x - the x
        y - the y
      • getIndexTree

        public javax.swing.JTree getIndexTree()
        Gets the index tree.
        Returns:
        the index tree
      • getFsTree

        public javax.swing.JTree getFsTree()
        Gets the fs tree.
        Returns:
        the fs tree
      • getTextArea

        public javax.swing.JTextArea getTextArea()
        Gets the text area.
        Returns:
        the text area
      • getCas

        public CAS getCas()
        Gets the cas.
        Returns:
        the cas
      • isDirty

        public boolean isDirty()
        Checks if is dirty.
        Returns:
        true, if is dirty
      • setDirty

        public void setDirty​(boolean isDirty)
        Sets the dirty.
        Parameters:
        isDirty - the new dirty
      • getPreferences

        public java.util.Properties getPreferences()
        Gets the preferences.
        Returns:
        the preferences
      • getIndexLabel

        public java.lang.String getIndexLabel()
        Gets the index label.
        Returns:
        the index label
      • getIndex

        public FSIndex getIndex()
        Gets the index.
        Returns:
        the index
      • getStyleMap

        public java.util.Map<java.lang.String,​javax.swing.text.Style> getStyleMap()
        Gets the style map.
        Returns:
        the style map
      • setIndexLabel

        public void setIndexLabel​(java.lang.String indexLabel)
        Sets the index label.
        Parameters:
        indexLabel - the new index label
      • isAnnotationIndex

        public boolean isAnnotationIndex()
        Checks if is annotation index.
        Returns:
        true, if is annotation index
      • setAnnotationIndex

        public void setAnnotationIndex​(boolean isAnnotationIndex)
        Sets the annotation index.
        Parameters:
        isAnnotationIndex - the new annotation index
      • setIndex

        public void setIndex​(FSIndex index)
        Sets the index.
        Parameters:
        index - the new index
      • setAllAnnotationViewerItemEnable

        public void setAllAnnotationViewerItemEnable​(boolean enabled)
        Sets the all annotation viewer item enable.
        Parameters:
        enabled - the new all annotation viewer item enable
      • getFileOpenDir

        public java.io.File getFileOpenDir()
        Gets the file open dir.
        Returns:
        the file open dir
      • setFileOpenDir

        public void setFileOpenDir​(java.io.File fileOpenDir)
        Sets the file open dir.
        Parameters:
        fileOpenDir - the new file open dir
      • getTextFile

        public java.io.File getTextFile()
        Gets the text file.
        Returns:
        the text file
      • setTextFile

        public void setTextFile​(java.io.File textFile)
        Sets the text file.
        Parameters:
        textFile - the new text file
      • setSaveTextFileEnable

        public void setSaveTextFileEnable​(boolean enabled)
        Sets the save text file enable.
        Parameters:
        enabled - the new save text file enable
      • getUndoMgr

        public UndoMgr getUndoMgr()
        Gets the undo mgr.
        Returns:
        the undo mgr
      • setUndoEnabled

        public void setUndoEnabled​(boolean enabled)
        Sets the undo enabled.
        Parameters:
        enabled - the new undo enabled
      • getXcasFileOpenDir

        public java.io.File getXcasFileOpenDir()
        Gets the xcas file open dir.
        Returns:
        the xcas file open dir
      • setXcasFileOpenDir

        public void setXcasFileOpenDir​(java.io.File xcasFileOpenDir)
        Sets the xcas file open dir.
        Parameters:
        xcasFileOpenDir - the new xcas file open dir
      • setCas

        public void setCas​(CAS cas)
        Sets the cas.
        Parameters:
        cas - the new cas
      • setRunOnCasEnabled

        public void setRunOnCasEnabled()
        Sets the run on cas enabled.
      • destroyAe

        public void destroyAe()
        Destroy ae.
      • setRerunEnabled

        public void setRerunEnabled​(boolean enabled)
        Sets the rerun enabled.
        Parameters:
        enabled - the new rerun enabled
      • setTypeSystemViewerEnabled

        public void setTypeSystemViewerEnabled​(boolean enabled)
        Sets the type system viewer enabled.
        Parameters:
        enabled - the new type system viewer enabled
      • getColorSettingsDir

        public java.io.File getColorSettingsDir()
        Gets the color settings dir.
        Returns:
        the color settings dir
      • setColorSettingsDir

        public void setColorSettingsDir​(java.io.File colorSettingsDir)
        Sets the color settings dir.
        Parameters:
        colorSettingsDir - the new color settings dir
      • getColorSettingFile

        public java.io.File getColorSettingFile()
        Gets the color setting file.
        Returns:
        the color setting file
      • setColorSettingFile

        public void setColorSettingFile​(java.io.File colorSettingFile)
        Sets the color setting file.
        Parameters:
        colorSettingFile - the new color setting file
      • getAnnotOpenDir

        public java.io.File getAnnotOpenDir()
        Gets the annot open dir.
        Returns:
        the annot open dir
      • setAnnotOpenDir

        public void setAnnotOpenDir​(java.io.File annotOpenDir)
        Sets the annot open dir.
        Parameters:
        annotOpenDir - the new annot open dir
      • getDataPathName

        public java.lang.String getDataPathName()
        Gets the data path name.
        Returns:
        the data path name
      • setDataPathName

        public void setDataPathName​(java.lang.String dataPathName)
        Sets the data path name.
        Parameters:
        dataPathName - the new data path name
      • getCodePage

        public java.lang.String getCodePage()
        Gets the code page.
        Returns:
        the code page
      • setCodePage

        public void setCodePage​(java.lang.String codePage)
        Sets the code page.
        Parameters:
        codePage - the new code page
      • getCodePages

        public java.util.List<java.lang.String> getCodePages()
        Gets the code pages.
        Returns:
        the code pages
      • getLanguage

        public java.lang.String getLanguage()
        Gets the language.
        Returns:
        the language
      • setLanguage

        public void setLanguage​(java.lang.String language)
        Sets the language.
        Parameters:
        language - the new language
      • getLanguages

        public java.util.List<java.lang.String> getLanguages()
        Gets the languages.
        Returns:
        the languages
      • getLanguagePrefsList

        public java.lang.String getLanguagePrefsList()
        Gets the language prefs list.
        Returns:
        the language prefs list
      • setLanguagePrefsList

        public void setLanguagePrefsList​(java.lang.String languagePrefsList)
        Sets the language prefs list.
        Parameters:
        languagePrefsList - the new language prefs list
      • handleSofas

        public void handleSofas()
        Handle sofas.
      • isExitOnClose

        public boolean isExitOnClose()
        Checks if is exit on close.
        Returns:
        true, if is exit on close
      • setExitOnClose

        public void setExitOnClose​(boolean exitOnClose)
        Set exit-on-close behavior. Normally, CVD will shut down the JVM it's running in when it's main window is being closed. Calling setExitOnClose(false) prevents that. It is then the caller's task to shut down the JVM.
        Parameters:
        exitOnClose - the new exit on close