public class TmXmlReader_v12 extends TmXmlReader
|Modifier and Type||Method and Description|
Returns the GUI state saved in the file.
Returns the model saved in the file, or
Returns the collection of views that were saved in this file.
Reads the settings element of the file, and sets the fields of the specified
createModel, getErrorMessage, getLog, getVersion, isReadingOk, readTracks
public TmXmlReader_v12(File file)
public void readSettings(Settings settings, DetectorProvider detectorProvider, TrackerProvider trackerProvider, SpotAnalyzerProvider spotAnalyzerProvider, EdgeAnalyzerProvider edgeAnalyzerProvider, TrackAnalyzerProvider trackAnalyzerProvider)
Settingsobject according to the xml file content. The provided
Settingsobject is left untouched if the settings element cannot be found in the file.
Settingsobject to flesh out.
detectorProvider- the detector provider, required to configure the settings with a correct
null, will skip reading detector parameters.
trackerProvider- the tracker provider, required to configure the settings with a correct
null, will skip reading tracker parameters.
spotAnalyzerProvider- the spot analyzer provider, required to instantiates the saved
null, will skip reading spot analyzers.
edgeAnalyzerProvider- the edge analyzer provider, required to instantiates the saved
null, will skip reading edge analyzers.
trackAnalyzerProvider- the track analyzer provider, required to instantiates the saved
null, will skip reading track analyzers.
public String getGUIState()
public Collection<TrackMateModelView> getViews(ViewProvider provider, Model model, Settings settings, SelectionModel selectionModel)
ViewProviderto instantiate the view. Each saved view must be known by the specified provider.
model- the model to display in the views.
settings- the settings to build the views.
SelectionModelmodel that will be shared with the new views.
Copyright © 2015–2017 Fiji. All rights reserved.