Class JavaLanguageSupport

    • Field Detail

      • jarManager

        private JarManager jarManager
        The shared jar manager to use with all JavaCompletionProviders, or null if each one should have a unique jar manager.
      • PROPERTY_LISTENER

        private static final java.lang.String PROPERTY_LISTENER
        Client property installed on text areas that points to a listener.
        See Also:
        Constant Field Values
    • Constructor Detail

      • JavaLanguageSupport

        public JavaLanguageSupport()
        Constructor.
    • Method Detail

      • getCompletionProvider

        public JavaCompletionProvider getCompletionProvider​(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea textArea)
        Returns the completion provider running on a text area with this Java language support installed.
        Parameters:
        textArea - The text area.
        Returns:
        The completion provider. This will be null if the text area does not have this JavaLanguageSupport installed.
      • getJarManager

        public JarManager getJarManager()
        Returns the shared jar manager instance. NOTE: This method will be removed over time, as the Java support becomes more robust!
        Returns:
        The shared jar manager.
      • getParser

        public JavaParser getParser​(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea textArea)
        Returns the Java parser running on a text area with this Java language support installed.
        Parameters:
        textArea - The text area.
        Returns:
        The Java parser. This will be null if the text area does not have this JavaLanguageSupport installed.
      • install

        public void install​(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea textArea)
        Installs this support.
        Parameters:
        textArea - The text area to install onto.
        See Also:
        LanguageSupport.uninstall(RSyntaxTextArea)
      • installKeyboardShortcuts

        private void installKeyboardShortcuts​(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea textArea)
        Installs extra keyboard shortcuts supported by this language support.
        Parameters:
        textArea - The text area to install the shortcuts into.
      • uninstall

        public void uninstall​(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea textArea)
        Description copied from interface: LanguageSupport
        Uninstalls this support.
        Parameters:
        textArea - The text area to uninstall from.
        See Also:
        LanguageSupport.install(RSyntaxTextArea)
      • uninstallKeyboardShortcuts

        private void uninstallKeyboardShortcuts​(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea textArea)
        Uninstalls any keyboard shortcuts specific to this language support.
        Parameters:
        textArea - The text area to uninstall the actions from.