+ loadFile(file, protocol, format);
+ }
+
+ /**
+ * necessary to use Object here in order to pass the file data
+ *
+ * @param viewport
+ * @param file
+ * File preferably to String
+ * @param protocol
+ * @param format
+ */
+ public void loadFile(AlignViewport viewport, File file,
+ DataSourceType protocol, FileFormatI format)
+ {
+ if (viewport != null)
+ {
+ this.viewport = viewport;
+ }
+ this.selectedFile = file;
+ loadFile(selectedFile.getPath(), protocol, format);
+ }
+
+ private void loadFile(String file, DataSourceType protocol,
+ FileFormatI format)
+ {