Changeset 1792


Ignore:
Timestamp:
11/15/06 09:29:30 (13 years ago)
Author:
curtis
Message:

Add About information to ImageJ About Plugins menu.

Location:
trunk/loci/plugins
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/plugins/About.java

    r1518 r1792  
    3333  private About() { } 
    3434 
    35   public static void main(String[] args) { 
     35  public static void about() { 
    3636    JOptionPane.showMessageDialog(null, 
    3737      "LOCI Plugins for ImageJ\n" + 
    3838      "Built @date@\n\n" + 
    39       "The 4D Data Browser is LOCI software written by\n" + 
    40       "Christopher Peterson, Francis Wong, Curtis Rueden\n" + 
     39      "Copyright 2006 Laboratory for Optical and Computational\n" + 
     40      "Instrumentation; http://www.loci.wisc.edu/software\n\n" + 
     41      "The 4D Data Browser is written by Christopher Peterson,\n" + 
     42      "Francis Wong, Curtis Rueden and Melissa Linkert.\n" + 
     43      "http://www.loci.wisc.edu/4d/#browser\n\n" + 
     44      "The Bio-Formats Importer and Exporter are written by\n" + 
     45      "Melissa Linkert and Curtis Rueden.\n" + 
     46      "http://www.loci.wisc.edu/ome/formats.html\n\n" + 
     47      "The OME Plugin for ImageJ is written by Philip Huettl\n" + 
    4148      "and Melissa Linkert.\n" + 
    42       "http://www.loci.wisc.edu/4d/#browser\n\n" + 
    43       "The Bio-Formats Importer and Exporter are LOCI software\n" + 
    44       "written by Melissa Linkert and Curtis Rueden.\n" + 
    45       "http://www.loci.wisc.edu/ome/formats.html\n\n" + 
    46       "The OME Plugin for ImageJ is LOCI software written by\n" + 
    47       "Philip Huettl and Melissa Linkert.\n" + 
    4849      "http://www.loci.wisc.edu/ome/imagej.html", 
    4950      "LOCI Plugins for ImageJ", JOptionPane.INFORMATION_MESSAGE); 
     51  } 
     52 
     53  public static void main(String[] args) { 
     54    about(); 
    5055    System.exit(0); 
    5156  } 
  • trunk/loci/plugins/LociImporter.java

    r1578 r1792  
    5252    canceled = false; 
    5353    success = false; 
    54     if (!Util.checkVersion()) return; 
    55     if (!Util.checkLibraries(true, true, false, false)) return; 
    56     new Importer(this).run(arg); 
     54    if ("about".equals(arg)) About.about(); 
     55    else if (Util.checkVersion() && 
     56      Util.checkLibraries(true, true, false, false)) 
     57    { 
     58      new Importer(this).run(arg); 
     59    } 
    5760  } 
    5861 
  • trunk/loci/plugins/plugins.config

    r1503 r1792  
    2626Plugins>LOCI, "Bio-Formats Exporter", loci.plugins.LociExporter("") 
    2727Plugins>LOCI, "OME Plugin", loci.plugins.ome.OMEPlugin("") 
     28Help>About Plugins, "LOCI Plugins...", loci.plugins.LociImporter("about") 
Note: See TracChangeset for help on using the changeset viewer.