org.autoplot.bookmarks.Util

Utility functions for the DataSetSelector.

Util( )


getRecent

getRecent( org.autoplot.datasource.DataSetSelector sel ) → List

return the recent entries.

Parameters

sel - the selector containing the recent entries.

Returns:

the list.

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


loadRecent

loadRecent( String nodeName, org.autoplot.datasource.DataSetSelector sel, java.util.List deft ) → void

load and maintain recent entries in the context name. This will also add a listener to save recent entries.

Parameters

nodeName - the context
sel - the recent entries are added to this selector.
deft - the deft to use with the first invocation.

Returns:

void (returns nothing)

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


setRecent

setRecent( org.autoplot.datasource.DataSetSelector sel, java.util.List recent ) → void

Convenience method allowing List<Bookmark> to be used. Note presently, this drops any folders.

Parameters

sel - the select
recent - the list of bookmarks

Returns:

void (returns nothing)

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