Changeset 34701 in osm for applications/editors/josm


Ignore:
Timestamp:
2018-10-28T17:28:36+01:00 (6 years ago)
Author:
donvip
Message:

openjfx => javafx

Location:
applications/editors/josm/plugins/javafx
Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/javafx/.classpath

    r34700 r34701  
    66        <classpathentry exported="true" kind="lib" path="lib/javafx-base-11-win.jar" sourcepath="lib/javafx-base-11-sources.jar">
    77                <attributes>
    8                         <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-openjfx/lib/javafx-base-11-javadoc.jar!/"/>
     8                        <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-javafx/lib/javafx-base-11-javadoc.jar!/"/>
    99                </attributes>
    1010        </classpathentry>
    1111        <classpathentry exported="true" kind="lib" path="lib/javafx-controls-11-win.jar" sourcepath="lib/javafx-controls-11-sources.jar">
    1212                <attributes>
    13                         <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-openjfx/lib/javafx-controls-11-javadoc.jar!/"/>
     13                        <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-javafx/lib/javafx-controls-11-javadoc.jar!/"/>
    1414                </attributes>
    1515        </classpathentry>
    1616        <classpathentry exported="true" kind="lib" path="lib/javafx-fxml-11-win.jar" sourcepath="lib/javafx-fxml-11-sources.jar">
    1717                <attributes>
    18                         <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-openjfx/lib/javafx-fxml-11-javadoc.jar!/"/>
     18                        <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-javafx/lib/javafx-fxml-11-javadoc.jar!/"/>
    1919                </attributes>
    2020        </classpathentry>
    2121        <classpathentry exported="true" kind="lib" path="lib/javafx-graphics-11-win.jar" sourcepath="lib/javafx-graphics-11-sources.jar">
    2222                <attributes>
    23                         <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-openjfx/lib/javafx-graphics-11-javadoc.jar!/"/>
     23                        <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-javafx/lib/javafx-graphics-11-javadoc.jar!/"/>
    2424                </attributes>
    2525        </classpathentry>
    2626        <classpathentry exported="true" kind="lib" path="lib/javafx-media-11-win.jar" sourcepath="lib/javafx-media-11-sources.jar">
    2727                <attributes>
    28                         <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-openjfx/lib/javafx-media-11-javadoc.jar!/"/>
     28                        <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-javafx/lib/javafx-media-11-javadoc.jar!/"/>
    2929                </attributes>
    3030        </classpathentry>
    3131        <classpathentry exported="true" kind="lib" path="lib/javafx-swing-11-win.jar" sourcepath="lib/javafx-swing-11-sources.jar">
    3232                <attributes>
    33                         <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-openjfx/lib/javafx-swing-11-javadoc.jar!/"/>
     33                        <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-javafx/lib/javafx-swing-11-javadoc.jar!/"/>
    3434                </attributes>
    3535        </classpathentry>
    3636        <classpathentry exported="true" kind="lib" path="lib/javafx-web-11-win.jar" sourcepath="lib/javafx-web-11-sources.jar">
    3737                <attributes>
    38                         <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-openjfx/lib/javafx-web-11-javadoc.jar!/"/>
     38                        <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-javafx/lib/javafx-web-11-javadoc.jar!/"/>
    3939                </attributes>
    4040        </classpathentry>
  • applications/editors/josm/plugins/javafx/build.xml

    r34700 r34701  
    1010    -->
    1111    <property name="plugin.author" value="Don-vip"/>
    12     <property name="plugin.class" value="org.openstreetmap.josm.plugins.openjfx.OpenJfxPlugin"/>
     12    <property name="plugin.class" value="org.openstreetmap.josm.plugins.javafx.JavaFxPlugin"/>
    1313    <property name="plugin.description" value="Provides the OpenJFX (JavaFX) library for JOSM core and other JOSM plugins. Provides additional features such as MP3 audio playback."/>
    1414    <property name="plugin.minimum.java.version" value="11"/>
     15    <property name="plugin.provides" value="javafx"/>
    1516    <!--<property name="plugin.icon" value="..."/>-->
    1617    <!--<property name="plugin.link" value="..."/>-->
  • applications/editors/josm/plugins/javafx/src/org/openstreetmap/josm/plugins/javafx/JavaFxPlugin.java

    r34700 r34701  
    3232 * OpenJFX plugin brings OpenJFX (JavaFX) to other plugins.
    3333 */
    34 public class JavafxPlugin extends Plugin {
     34public class JavaFxPlugin extends Plugin {
    3535
    3636    /**
     
    3838     * @param info plugin info
    3939     */
    40     public JavafxPlugin(PluginInformation info) {
     40    public JavaFxPlugin(PluginInformation info) {
    4141        super(info);
    4242        AudioPlayer.setSoundPlayerClass(JavaFxMediaPlayer.class);
     
    5454
    5555    private static void extractNativeLibs(String ext) {
    56         CodeSource src = JavafxPlugin.class.getProtectionDomain().getCodeSource();
     56        CodeSource src = JavaFxPlugin.class.getProtectionDomain().getCodeSource();
    5757        if (src != null) {
    5858            try (ZipFile zf = new ZipFile(Paths.get(src.getLocation().toURI()).toFile(), StandardCharsets.UTF_8)) {
     
    7777            }
    7878        } else {
    79             Logging.error("Unable to locate openjfx jar file");
     79            Logging.error("Unable to locate javafx jar file");
    8080        }
    8181    }
    8282
    8383    private static Path getNativeDir() throws IOException {
    84         return Files.createDirectories(new File(Preferences.main().getPluginsDirectory(), "openjfx").toPath());
     84        return Files.createDirectories(new File(Preferences.main().getPluginsDirectory(), "javafx").toPath());
    8585    }
    8686
Note: See TracChangeset for help on using the changeset viewer.