public class ExportTracksToXML extends AbstractTMAction
Modifier and Type | Class and Description |
---|---|
static class |
ExportTracksToXML.Factory |
Modifier and Type | Field and Description |
---|---|
static String |
INFO_TEXT |
static String |
KEY |
static String |
NAME |
logger
Constructor and Description |
---|
ExportTracksToXML() |
Modifier and Type | Method and Description |
---|---|
void |
execute(TrackMate trackmate,
SelectionModel selectionModel,
DisplaySettings displaySettings,
Frame parent)
Executes this action within an application specified by the parameters.
|
static void |
export(Model model,
Settings settings,
File file)
Static utility that silently exports tracks in a simplified xml format,
describe in this class.
|
setLogger
public static final String NAME
public static final String KEY
public static final String INFO_TEXT
public static void export(Model model, Settings settings, File file) throws FileNotFoundException, IOException
model
- the Model
that contains the tracks to export.settings
- a Settings
object, only used to read its
Settings.dt
field, the frame interval.file
- the file to save to.FileNotFoundException
- if the target file cannot be written.IOException
- if there is a problem writing the file.public void execute(TrackMate trackmate, SelectionModel selectionModel, DisplaySettings displaySettings, Frame parent)
TrackMateAction
trackmate
- the TrackMate
instance to use to execute the action.selectionModel
- the SelectionModel
currently used in the application,displaySettings
- the DisplaySettings
used to render the views in the
application.parent
- the user-interface parent window.Copyright © 2015–2021 Fiji. All rights reserved.