Changeset 31244 in osm for applications
- Timestamp:
- 2015-06-08T02:48:18+02:00 (10 years ago)
- Location:
- applications/editors/josm/plugins/plastic_laf
- Files:
-
- 9 added
- 3 deleted
- 3 edited
- 1 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/plastic_laf/.classpath
r30749 r31244 4 4 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/> 5 5 <classpathentry combineaccessrules="false" kind="src" path="/JOSM"/> 6 <classpathentry kind="lib" path="lib/jgoodies-common-1.8.0.jar"/>7 <classpathentry kind="lib" path="lib/jgoodies-looks-2.6.0.jar"/>6 <classpathentry exported="true" kind="lib" path="lib/jgoodies-common-1.9.0.jar"/> 7 <classpathentry exported="true" kind="lib" path="lib/jgoodies-looks-2.8.0.jar"/> 8 8 <classpathentry kind="output" path="bin"/> 9 9 </classpath> -
applications/editors/josm/plugins/plastic_laf/.project
r29853 r31244 13 13 </buildSpec> 14 14 <natures> 15 <nature>org.sonar.ide.eclipse.core.sonarNature</nature> 15 16 <nature>org.eclipse.jdt.core.javanature</nature> 16 17 </natures> -
applications/editors/josm/plugins/plastic_laf/build.xml
r30749 r31244 9 9 See http://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins 10 10 --> 11 <property name="plugin.author" value="Imi " />12 <property name="plugin.class" value=" plastic_laf.Plugin" />11 <property name="plugin.author" value="Imi, Don-vip" /> 12 <property name="plugin.class" value="org.openstreetmap.josm.plugins.plasticlaf.PlasticLafPlugin" /> 13 13 <property name="plugin.description" value="The great JGoodies Plastic Look and Feel." /> 14 14 <!--<property name="plugin.icon" value="" />--> -
applications/editors/josm/plugins/plastic_laf/src/org/openstreetmap/josm/plugins/plasticlaf/PlasticLafPlugin.java
r31227 r31244 1 // License: GPL2 package plastic_laf;1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.plasticlaf; 3 3 4 4 import javax.swing.UIManager; 5 5 import javax.swing.UnsupportedLookAndFeelException; 6 6 7 import org.openstreetmap.josm.plugins.Plugin; 7 8 import org.openstreetmap.josm.plugins.PluginInformation; 8 9 … … 12 13 13 14 /** 14 * Pl ugin that brings JGoodies Plastic Look and Feel to JOSM.15 * PlasticLafPlugin that brings JGoodies Plastic Look and Feel to JOSM. 15 16 */ 16 public class Pl ugin {17 public class PlasticLafPlugin extends Plugin { 17 18 18 /** 19 * Constructs a new {@code Plugin}. 20 * @param info plugin info 21 * @throws UnsupportedLookAndFeelException if look and feel cannot be set 22 */ 23 public Plugin(PluginInformation info) throws UnsupportedLookAndFeelException { 19 /** 20 * Constructs a new {@code PlasticLafPlugin}. 21 * @param info plugin info 22 * @throws UnsupportedLookAndFeelException if look and feel cannot be set 23 */ 24 public PlasticLafPlugin(PluginInformation info) throws UnsupportedLookAndFeelException { 25 super(info); 24 26 UIManager.getDefaults().put("ClassLoader", getClass().getClassLoader()); 25 26 27 27 UIManager.installLookAndFeel("Plastic", PlasticLookAndFeel.class.getName()); 28 UIManager.installLookAndFeel("Plastic3D", Plastic3DLookAndFeel.class.getName()); 29 UIManager.installLookAndFeel("PlasticXP", PlasticXPLookAndFeel.class.getName()); 28 30 } 29 31 }
Note:
See TracChangeset
for help on using the changeset viewer.