Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
BigDataViewer_Core_Extension
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BioinformaticDataCompression
BigDataViewer_Core_Extension
Commits
a4d6ee7b
Commit
a4d6ee7b
authored
10 years ago
by
Tobias Pietzsch
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into monolithic-imgloader
parents
83b43835
b0eb1ef7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fiji/src/main/java/bdv/ij/BigDataViewerPlugIn.java
+6
-0
6 additions, 0 deletions
fiji/src/main/java/bdv/ij/BigDataViewerPlugIn.java
with
6 additions
and
0 deletions
fiji/src/main/java/bdv/ij/BigDataViewerPlugIn.java
+
6
−
0
View file @
a4d6ee7b
...
...
@@ -16,6 +16,8 @@ import bdv.ij.util.ProgressWriterIJ;
public
class
BigDataViewerPlugIn
implements
PlugIn
{
static
String
lastDatasetPath
=
"./export.xml"
;
@Override
public
void
run
(
final
String
arg
)
{
...
...
@@ -24,6 +26,7 @@ public class BigDataViewerPlugIn implements PlugIn
if
(
Prefs
.
useJFileChooser
)
{
final
JFileChooser
fileChooser
=
new
JFileChooser
();
fileChooser
.
setSelectedFile
(
new
File
(
lastDatasetPath
)
);
fileChooser
.
setFileFilter
(
new
FileFilter
()
{
@Override
...
...
@@ -57,6 +60,8 @@ public class BigDataViewerPlugIn implements PlugIn
else
// use FileDialog
{
final
FileDialog
fd
=
new
FileDialog
(
(
Frame
)
null
,
"Open"
,
FileDialog
.
LOAD
);
fd
.
setDirectory
(
new
File
(
lastDatasetPath
).
getParent
()
);
fd
.
setFile
(
new
File
(
lastDatasetPath
).
getName
()
);
fd
.
setFilenameFilter
(
new
FilenameFilter
()
{
@Override
...
...
@@ -83,6 +88,7 @@ public class BigDataViewerPlugIn implements PlugIn
{
try
{
lastDatasetPath
=
file
.
getAbsolutePath
();
BigDataViewer
.
view
(
file
.
getAbsolutePath
(),
new
ProgressWriterIJ
()
);
}
catch
(
final
Exception
e
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment