forked from imagej/ImageJ
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c1a5946
Showing
280 changed files
with
85,395 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Main-Class: ij.ImageJ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
The ant utility (http://ant.apache.org/) will compile and run ImageJ using | ||
the build file (build.xml) in this directory. There is a version of ant at | ||
|
||
http://rsb.info.nih.gov/ij/download/tools/ant/ant.zip | ||
|
||
set up to use the JVM distributed with the Windows version of ImageJ. | ||
The README included in the ZIP archive has more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Runs ImageJ as an Applet --> | ||
|
||
<html> | ||
<head> | ||
<title>ImageJ Applet</title> | ||
</head> | ||
<body> | ||
|
||
<applet codebase="." code="ij.ImageJApplet.class" archive="ij.jar" width=0 height=0> | ||
</applet> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<!-- Ant makefile for ImageJ --> | ||
|
||
<project name="ImageJ" default="run"> | ||
|
||
<target name="compile" description="Compile everything."> | ||
<!-- First, ensure the build directory exists. --> | ||
<mkdir dir="build" /> | ||
<!-- Build everything; add debug="on" to debug --> | ||
<javac srcdir="." destdir="build" optimize="on" source="1.4" target="1.4" debug="on"> | ||
<!-- The plugins directory only needs to be | ||
present at runtime, not at build time. --> | ||
<exclude name="plugins/**"/> | ||
</javac> | ||
</target> | ||
|
||
|
||
<target name="build" depends="compile" description="Build ij.jar."> | ||
<!-- Copy needed files into the build directory. --> | ||
<copy file="IJ_Props.txt" todir="build" /> | ||
<copy file="images/microscope.gif" tofile="build/microscope.gif" /> | ||
<copy file="images/about.jpg" tofile="build/about.jpg" /> | ||
<copy file="plugins/MacAdapter.class" tofile="build/MacAdapter.class" /> | ||
<copy file="plugins/JavaScriptEvaluator.class" tofile="build/JavaScriptEvaluator.class" /> | ||
<copy todir="build/macros"><fileset dir="macros"/></copy> | ||
<!-- Build ij.jar. --> | ||
<jar jarfile="ij.jar" basedir="build" | ||
manifest="MANIFEST.MF" /> | ||
</target> | ||
|
||
|
||
<target name="clean" description="Delete the build files."> | ||
<delete dir="build" /> | ||
<delete file="ij.jar" /> | ||
</target> | ||
|
||
|
||
<target name="run" depends="build" description="Build and run ImageJ."> | ||
<copy file="ij.jar" toDir=".." /> | ||
<java maxmemory="640m" jar="ij.jar" fork="yes" /> | ||
</target> | ||
|
||
|
||
<target name="run2" depends="build" description="Build and run ImageJ."> | ||
<!-- Run in ImageJ directory --> | ||
<copy file="ij.jar" toDir=".." /> | ||
<java maxmemory="640m" dir=".." jar="ij.jar" fork="yes" /> | ||
</target> | ||
|
||
<target name="zip" depends="clean" description="Build zrc.zip."> | ||
<zip zipfile="../src.zip" | ||
basedir=".." | ||
includes="source/**" | ||
/> | ||
</target> | ||
|
||
|
||
<target name="javadocs" description="Build the JavaDocs."> | ||
<delete dir="../api" /> | ||
<mkdir dir="../api" /> | ||
<javadoc | ||
sourcepath="." | ||
packagenames="ij.*" | ||
destdir="../api" | ||
author="true" | ||
version="true" | ||
use="true" | ||
windowtitle="ImageJ API"> | ||
</javadoc> | ||
</target> | ||
|
||
|
||
</project> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package ij; | ||
|
||
/** Plugins that implement this interface are notified | ||
when ImageJ is about to run a menu command. */ | ||
public interface CommandListener { | ||
|
||
public String commandExecuting(String command); | ||
|
||
} |
Oops, something went wrong.