Class JavaLanguageSupport

java.lang.Object
org.fife.rsta.ac.AbstractLanguageSupport
org.fife.rsta.ac.java.JavaLanguageSupport
All Implemented Interfaces:
LanguageSupport

public class JavaLanguageSupport extends AbstractLanguageSupport
Language support for Java.
Version:
1.0
See Also:
  • Field Details

  • Constructor Details

    • JavaLanguageSupport

      public JavaLanguageSupport()
      Constructor.
  • Method Details

    • 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:
    • 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:
    • 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.