org.autoplot.test.Util

Util( )


pushContextMenu

pushContextMenu( org.das2.graph.DasPlot c, String[] items ) → javax.swing.JMenuItem

push the context menu item identified by the items. This is a list of regular expressions identifying the levels.

Parameters

c - the focus plot
items - labels, eg [ "Plot Element Type", "Series" ]

Returns:

the JMenuItem found, which has been pushed.

[search for examples] [view on GitHub] [view on old javadoc]


reportLogger

reportLogger( java.util.logging.Logger l ) → void

print a report about the logger to stderr.

Parameters

l - a Logger

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc]


waitUntilBusy

waitUntilBusy( int timeout, org.autoplot.dom.Application dom ) → void

wait until dom.controller.pendingChanges becomes true.

Parameters

timeout - timeout in milliseconds.
dom - the application.

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc]