Changeset 2996 in osm for applications/editors


Ignore:
Timestamp:
2007-05-22T21:57:55+02:00 (17 years ago)
Author:
imi
Message:
  • added josm.plugins - Java property to load plugins regardless of preferences
  • fixed posibility to load Plugins from bootstrap classloader (with full manifest support)
  • added system wide plugin and ressource directories
Location:
applications/editors/josm/plugins/annotation-tester
Files:
6 added
1 deleted
2 edited
2 copied

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/annotation-tester/.classpath

    r1882 r2996  
    33        <classpathentry kind="src" path="src"/>
    44        <classpathentry including="images/" kind="src" path=""/>
     5        <classpathentry combineaccessrules="false" exported="true" kind="src" path="/josm"/>
    56        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
    6         <classpathentry combineaccessrules="false" kind="src" path="/josm"/>
    77        <classpathentry kind="output" path="bin"/>
    88</classpath>
  • applications/editors/josm/plugins/annotation-tester/build.xml

    r1467 r2996  
    22
    33        <target name="build">
    4                 <jar destfile="${user.home}/.josm/plugins/annotation-tester.jar" basedir="bin">
     4                <jar destfile="${user.home}/.josm/plugins/annotation-tester.jar"
     5                         basedir="bin"
     6                         manifest="src/org/openstreetmap/josm/plugins/annotationtester/MANIFEST.MF">
    57                        <fileset dir="."><include name="images/*"/></fileset>
    6                         <manifest>
    7                                 <attribute name="Main-Class" value="annotationtester.AnnotationTester" />
    8                                 <attribute name="Plugin-Class" value="annotationtester.AnnotationTesterAction" />
    9                                 <attribute name="Plugin-Description" value="Make the Annotation Preset Tester tool available in the help menu." />
    10                         </manifest>
    118                </jar>
    129        </target>
  • applications/editors/josm/plugins/annotation-tester/src/org/openstreetmap/josm/plugins/annotationtester/AnnotationTester.java

    r2993 r2996  
    1 package annotationtester;
     1package org.openstreetmap.josm.plugins.annotationtester;
    22
    33import java.awt.BorderLayout;
  • applications/editors/josm/plugins/annotation-tester/src/org/openstreetmap/josm/plugins/annotationtester/AnnotationTesterAction.java

    r2993 r2996  
    1 package annotationtester;
     1package org.openstreetmap.josm.plugins.annotationtester;
    22
    33import static org.openstreetmap.josm.tools.I18n.tr;
     
    1818
    1919        public AnnotationTesterAction() {
    20                 super(tr("Annotation Preset Tester"), "annotation-tester", tr("Open the annotation preset test tool for previewing annotation preset dialogs."), KeyEvent.VK_A, KeyEvent.CTRL_DOWN_MASK | KeyEvent.ALT_DOWN_MASK, true);
     20                super(tr("Annotation Preset Tester"), "annotation-tester2", tr("Open the annotation preset test tool for previewing annotation preset dialogs."), KeyEvent.VK_A, KeyEvent.CTRL_DOWN_MASK | KeyEvent.ALT_DOWN_MASK, true);
    2121                Main.main.menu.helpMenu.addSeparator();
    2222                Main.main.menu.helpMenu.add(this);
Note: See TracChangeset for help on using the changeset viewer.