org.autoplot.jythonsupport.ui.DataMashUp
GUI for specifying mashups, where a number of
data sets are loaded and combined. These are implemented as small
jython scripts, consisting only of declarations and an expression.
DataMashUp( )
Creates new form DataMashUp
enableTimeRange
enableTimeRange( ) → void
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getAsJythonExpr
getAsJythonExpr( javax.swing.tree.TreeNode tn ) → String
return the Jython for just the node.
Parameters
tn - a TreeNode
Returns:
a String
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getAsJythonInline
getAsJythonInline( ) → String
return the mashup as a jython inline script.
Returns:
the mashup as a jython inline script.
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getAsJythonInline( javax.swing.tree.TreeNode tn ) → String
insertElement
insertElement( Object[] array, int index, Object node ) → Object[]
insert element into array at index, as long as index is within the array
or at the length of the array.
Parameters
array - array of elements
index - index for insertion, which may be out of bounds for the array.
node - the object to insert.
Returns:
an Object[]
See Also:
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isDataMashupJythonInline
isDataMashupJythonInline( String jython ) → boolean
return true if the script conforms to the Jython mashup requirements.
Parameters
jython - script.
Returns:
true if the script conforms to the Jython mashup requirements.
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
main
main( String[] args ) → void
Parameters
args - a java.lang.String[]
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
printPath
printPath( Object[] newPath ) → String
print the path to a string, comma delimited.
Parameters
newPath - a java.lang.Object[]
Returns:
a String
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
rename
rename( String oldName, String newName ) → void
rename the parameter and all usages within the tree.
Parameters
oldName - a String
newName - a String
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setAsJythonInline
setAsJythonInline( String script ) → void
configure the mashup tool using the "vap+inline" URI.
Parameters
script - a String
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setIds
setIds( java.util.List ids ) → void
set the ids for each of the URIs.
Parameters
ids - list of Java identifiers.
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setResolver
setResolver( org.autoplot.jythonsupport.ui.DataMashUp.Resolver r ) → void
Parameters
r - a DataMashUp.Resolver
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setUris
setUris( java.util.List uris ) → void
set the list of URIs.
Parameters
uris - a list of URIs.
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]