org.das2.jythoncompletion.JavadocLookup

Provide a class for keeping track of the Javadoc lookups, so this is not buried in code (so much).


getLinkForJavaSignature

getLinkForJavaSignature( String signature ) → String

return a link to the documentation for a java signature. For standard library things, this goes to Oracle's website. For other things, this goes to the Autoplot/Das2 javadocs. Java8 http://docs.oracle.com/javase/8/docs/api/java/io/File.html#createTempFile-java.lang.String-java.lang.String-java.io.File-

Parameters

signature - signature like javax.swing.JCheckBox#paramString()

Returns:

null or the link, like http://docs.oracle.com/javase/6/docs/api/javax/swing/JCheckBox#paramString()

search for examples view on GitHub view source


setLinkForJavaSignature

setLinkForJavaSignature( String signatureStart, String link ) → void

add the location of the javadocs for the given path. The path should be / separated, not period separated.

Parameters

signatureStart - e.g. "gov/nasa/gsfc/spdf/cdfj"
link - e.g. "https://cdaweb.sci.gsfc.nasa.gov/~nand/cdfj/docs/"

Returns:

void (returns nothing)

search for examples view on GitHub view source