<h2>org.das2.jythoncompletion.CompletionContext</h2><p>CompletionContext describes a place in code where completion was triggered, containing the type of completion and the context around it.</p> <h2>CompletionContext( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> contextType, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> contextString, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> completable )</h2> <p></p> <hr> <a name="METHOD_NAME"></a> <h2>METHOD_NAME</h2> <p></p> <hr> <a name="CLASS_METHOD_NAME"></a> <h2>CLASS_METHOD_NAME</h2> <p></p> <hr> <a name="ATTRIBUTE_NAME"></a> <h2>ATTRIBUTE_NAME</h2> <p></p> <hr> <a name="PACKAGE_NAME"></a> <h2>PACKAGE_NAME</h2> <p></p> <hr> <a name="MODULE_NAME"></a> <h2>MODULE_NAME</h2> <p></p> <hr> <a name="DEFAULT_NAME"></a> <h2>DEFAULT_NAME</h2> <p></p> <hr> <a name="STRING_LITERAL_ARGUMENT"></a> <h2>STRING_LITERAL_ARGUMENT</h2> <p>a string literal argument for a command like getDataSet. We can delegate completion to an engine for this command.</p> <hr> <a name="COMMAND_ARGUMENT"></a> <h2>COMMAND_ARGUMENT</h2> <p>we are within the body of a command such as "plot" and we want to see what the arguments and named parameters are.</p> <hr> <a name="contextType"></a> <h2>contextType</h2> <p>the context type, such as COMMAND_ARGUMENT or STRING_LITERAL_ARGUMENT. In ds= getDataSet('/hom<C>'), this is STRING_LITERAL_ARGUMENT</p> <hr> <a name="contextString"></a> <h2>contextString</h2> <p>the context string, such as a command name. In ds= getDataSet('/hom<C>'), this is 'getDataSet'</p> <hr> <a name="completable"></a> <h2>completable</h2> <p>the item on which completion was triggered. In ds= getDataSet('/hom<C>'), this is '/hom'</p> <hr> <a name="getContextObjectClass"></a> <h2>getContextObjectClass</h2> getContextObjectClass( ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html'>java.lang.Class</a> <p>return null or the class for the context.</p> <h3>Returns:</h3> a java.lang.Class <br><br> <a href="https://github.com/autoplot/dev/search?q=getContextObjectClass&unscoped_q=getContextObjectClass">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/jythoncompletion/CompletionContext.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/jythoncompletion/CompletionContext.html#getContextObjectClass">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/jythoncompletion/CompletionContext.java">[view source]</a> <br> <br> <hr> <a name="setContextObjectClass"></a> <h2>setContextObjectClass</h2> setContextObjectClass( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html'>java.lang.Class</a> claz ) → void <p></p> <h3>Parameters</h3> claz - a java.lang.Class <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=setContextObjectClass&unscoped_q=setContextObjectClass">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/jythoncompletion/CompletionContext.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/jythoncompletion/CompletionContext.html#setContextObjectClass">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/jythoncompletion/CompletionContext.java">[view source]</a> <br> <br> <hr> <a name="toString"></a> <h2>toString</h2> toString( ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> <p></p> <h3>Returns:</h3> java.lang.String <br><br> <a href="https://github.com/autoplot/dev/search?q=toString&unscoped_q=toString">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/jythoncompletion/CompletionContext.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/jythoncompletion/CompletionContext.html#toString">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/jythoncompletion/CompletionContext.java">[view source]</a> <br> <br>