Class FileListDatasetDefinition
java.lang.Object
net.preibisch.mvrecon.fiji.datasetmanager.FileListDatasetDefinition
- All Implemented Interfaces:
MultiViewDatasetDefinition
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static interfaceprotected static classprotected static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddMessageAsJLabel(String msg, ij.gui.GenericDialog gd) static voidaddMessageAsJLabel(String msg, ij.gui.GenericDialog gd, Font font) static voidaddMessageAsJLabel(String msg, ij.gui.GenericDialog gd, Font font, Color color) static booleancontainsAny(String s, String... templates) createDataset(String xmlFileName) This method is supposed to (interactively, ideally ImageJ-macroscriptable) query all necessary data from the user to build up a SpimData object and save it as an XML file.static StringgetColoredHtmlFromPattern(String pattern, boolean withRootTag) static ColorgetColorN(long n) An explanation for the user what exactly thisMultiViewDatasetDefinitionsupports and how it needs to be stored.getFilesFromPattern(String pattern, long fileMinSize) static FilegetLongestPathPrefix(Collection<String> paths) static StringgetTitle()Defines the title under which it will be displayed in the list of available multi-view dataset definitionsstatic voidstatic net.imglib2.util.Pair<String, String> splitIntoPathAndPattern(String s, String... templates) static net.imglib2.util.Pair<String, String> boolean
-
Field Details
-
GLOB_SPECIAL_CHARS
-
loadChoices
-
Z_VARIABLE_CHOICE
- See Also:
-
windowsHack
public static boolean windowsHack -
defaultLoadChoice
public static int defaultLoadChoice -
defaultVirtual
public static boolean defaultVirtual
-
-
Constructor Details
-
FileListDatasetDefinition
public FileListDatasetDefinition()
-
-
Method Details
-
supportsRemoteXMLLocation
public boolean supportsRemoteXMLLocation()- Specified by:
supportsRemoteXMLLocationin interfaceMultiViewDatasetDefinition- Returns:
- if the XML can be stored somewhere else but where the data is located
-
addMessageAsJLabel
-
addMessageAsJLabel
-
addMessageAsJLabel
-
getFilesFromPattern
-
createDataset
Description copied from interface:MultiViewDatasetDefinitionThis method is supposed to (interactively, ideally ImageJ-macroscriptable) query all necessary data from the user to build up a SpimData object and save it as an XML file.- Specified by:
createDatasetin interfaceMultiViewDatasetDefinition- Parameters:
xmlFileName- - the filename of the XML that was selected (no path!)- Returns:
- - the saved
SpimData2object
-
getLongestPathPrefix
-
getTitle
Description copied from interface:MultiViewDatasetDefinitionDefines the title under which it will be displayed in the list of available multi-view dataset definitions- Specified by:
getTitlein interfaceMultiViewDatasetDefinition- Returns:
- the title
-
getExtendedDescription
Description copied from interface:MultiViewDatasetDefinitionAn explanation for the user what exactly thisMultiViewDatasetDefinitionsupports and how it needs to be stored. Up to 15 lines will be displayed with 80 characters each. No newline characters are allowed.- Specified by:
getExtendedDescriptionin interfaceMultiViewDatasetDefinition- Returns:
- description
-
newInstance
- Specified by:
newInstancein interfaceMultiViewDatasetDefinition- Returns:
- - a new instance of this implementation
-
containsAny
-
getColoredHtmlFromPattern
-
getColorN
-
splitIntoPrefixAndPattern
public static net.imglib2.util.Pair<String,String> splitIntoPrefixAndPattern(FilenamePatternDetector detector) -
getRangeRepresentation
-
splitIntoPathAndPattern
public static net.imglib2.util.Pair<String,String> splitIntoPathAndPattern(String s, String... templates) -
main
-