org.fife.rsta.ac.java
Class JavaLanguageSupport

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

public class JavaLanguageSupport
extends AbstractLanguageSupport

Language support for Java.

Version:
1.0
Author:
Robert Futrell

Field Summary
 
Fields inherited from interface org.fife.rsta.ac.LanguageSupport
PROPERTY_LANGUAGE_PARSER
 
Constructor Summary
JavaLanguageSupport()
          Constructor.
 
Method Summary
 JavaCompletionProvider getCompletionProvider(RSyntaxTextArea textArea)
          Returns the completion provider running on a text area with this Java language support installed.
 JarManager getJarManager()
          Returns the shared jar manager instance.
 JavaParser getParser(RSyntaxTextArea textArea)
          Returns the Java parser running on a text area with this Java language support installed.
 void install(RSyntaxTextArea textArea)
          Installs this support.
 void uninstall(RSyntaxTextArea textArea)
          Uninstalls this support.
 
Methods inherited from class org.fife.rsta.ac.AbstractLanguageSupport
createAutoCompletion, createDefaultCompletionCellRenderer, getAutoActivationDelay, getAutoCompletionFor, getDefaultCompletionCellRenderer, getShowDescWindow, getTextAreas, installImpl, isAutoActivationEnabled, isAutoCompleteEnabled, isParameterAssistanceEnabled, setAutoActivationDelay, setAutoActivationEnabled, setAutoCompleteEnabled, setDefaultCompletionCellRenderer, setParameterAssistanceEnabled, setShowDescWindow, uninstallImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaLanguageSupport

public JavaLanguageSupport()
Constructor.

Method Detail

getCompletionProvider

public JavaCompletionProvider getCompletionProvider(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(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(RSyntaxTextArea textArea)
Installs this support.

Parameters:
textArea - The text area to install onto.
See Also:
LanguageSupport.uninstall(RSyntaxTextArea)

uninstall

public void uninstall(RSyntaxTextArea textArea)
Uninstalls this support.

Parameters:
textArea - The text area to uninstall from.
See Also:
LanguageSupport.install(RSyntaxTextArea)


Copyright © 2003-2011. All Rights Reserved.