Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
E
ellipsoid-projection
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tomancaklab
ellipsoid-projection
Commits
d187887a
Commit
d187887a
authored
May 29, 2018
by
Tobias Pietzsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make IJ2 plugin, rename
parent
09ca8f45
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
20 deletions
+11
-20
README.md
README.md
+1
-1
src/main/java/de/mpicbg/ovaries/OvariesProjectionPlugin.java
src/main/java/de/mpicbg/ovaries/OvariesProjectionPlugin.java
+10
-7
src/main/resources/plugins.config
src/main/resources/plugins.config
+0
-12
No files found.
README.md
View file @
d187887a
...
...
@@ -20,5 +20,5 @@ maven to build and install it:
mvn install
The entry-point for the plugin is the
[
OvariesP
lugIn
](
src/main/java/de/mpicbg/ovaries/OvariesPlugI
n.java
)
class.
The entry-point for the plugin is the
[
OvariesP
rojectionPlugin
](
src/main/java/de/mpicbg/ovaries/OvariesProjectionPlugi
n.java
)
class.
src/main/java/de/mpicbg/ovaries/OvariesP
lugI
n.java
→
src/main/java/de/mpicbg/ovaries/OvariesP
rojectionPlugi
n.java
View file @
d187887a
...
...
@@ -6,13 +6,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
...
...
@@ -41,6 +41,8 @@ import javax.swing.JMenuBar;
import
javax.swing.JMenuItem
;
import
javax.swing.filechooser.FileFilter
;
import
org.scijava.command.Command
;
import
org.scijava.plugin.Plugin
;
import
org.scijava.ui.behaviour.io.InputTriggerConfig
;
import
org.scijava.ui.behaviour.util.Actions
;
...
...
@@ -53,15 +55,16 @@ import bdv.viewer.ViewerOptions;
import
bdv.viewer.ViewerPanel
;
import
ij.ImageJ
;
import
ij.Prefs
;
import
ij.plugin.PlugIn
;
import
mpicbg.spim.data.SpimDataException
;
public
class
OvariesPlugIn
implements
PlugIn
@Plugin
(
type
=
Command
.
class
,
menuPath
=
"Plugins>BigDataViewer>Ellipsoid Surface Projection"
)
public
class
OvariesProjectionPlugin
implements
Command
{
static
String
lastDatasetPath
=
"
/Users/pietzsch/Dropbox/data/ivana/S7/export.xml
"
;
static
String
lastDatasetPath
=
""
;
@Override
public
void
run
(
final
String
arg
)
public
void
run
()
{
File
file
=
null
;
...
...
@@ -196,6 +199,6 @@ public class OvariesPlugIn implements PlugIn
public
static
void
main
(
final
String
[]
args
)
{
ImageJ
.
main
(
args
);
new
OvariesP
lugIn
().
run
(
null
);
new
OvariesP
rojectionPlugin
().
run
(
);
}
}
src/main/resources/plugins.config
deleted
100644 → 0
View file @
09ca8f45
# Name: Ellipsoid Surface Projection
# Author: Tobias Pietzsch
# Version: 1.0.0
# A single .jar file can contain multiple plugins, specified in separate lines.
#
# The format is: <menu>, "<menu label>", <class name>
#
# If something like ("<arg>") is appended to the class name, the setup() method
# will get that as arg parameter; otherwise arg is simply the empty string.
Plugins
>
BigDataViewer
,
"Ovary Surface Projection"
,
de
.
mpicbg
.
ovaries
.
OvariesPlugIn
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment