<h2>org.das2.jythoncompletion.CompletionSupport</h2><p>support functions for Jython editor completions.</p>
<hr>
<a name="checkJavaSubClass"></a>
<h2>checkJavaSubClass</h2>
checkJavaSubClass( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/javax/swing/text/JTextComponent.html'>javax.swing.text.JTextComponent</a> editor ) &rarr; <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/jythoncompletion/CompletionContext.html'>org.das2.jythoncompletion.CompletionContext</a>

<p>is the carot within a subclass of an identifiable Java class?
 TODO: this is a proof-of-concept kludge right now, where it just looks for g.*</p>

<h3>Parameters</h3>
editor - a JTextComponent

<h3>Returns:</h3>
null or the CompletionContext for this.
<br><br>
<a href="https://github.com/autoplot/dev/search?q=checkJavaSubClass&unscoped_q=checkJavaSubClass">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/jythoncompletion/CompletionSupport.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/jythoncompletion/CompletionSupport.html#checkJavaSubClass">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/jythoncompletion/CompletionSupport.java">[view source]</a>
<br>
<br>
<hr>
<a name="getCompletionContext"></a>
<h2>getCompletionContext</h2>
getCompletionContext( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/javax/swing/text/JTextComponent.html'>javax.swing.text.JTextComponent</a> editor ) &rarr; <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/jythoncompletion/CompletionContext.html'>org.das2.jythoncompletion.CompletionContext</a>

<p>get the completion context for the editor at the carot position.</p>

<h3>Parameters</h3>
editor - the editor component containing the script and the carot position.

<h3>Returns:</h3>
the completion context
<br><br>
<a href="https://github.com/autoplot/dev/search?q=getCompletionContext&unscoped_q=getCompletionContext">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/jythoncompletion/CompletionSupport.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/jythoncompletion/CompletionSupport.html#getCompletionContext">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/jythoncompletion/CompletionSupport.java">[view source]</a>
<br>
<br>
getCompletionContext( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> line, int pos, int i0, int i1, int i2 ) &rarr; <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/jythoncompletion/CompletionContext.html'>org.das2.jythoncompletion.CompletionContext</a><br>