- Cleanup icon use throughout SDK-Core

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10131 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 12 years ago
parent 65096bec1c
commit 7cece4a7fc
  1. 2
      sdk/jme3-core/src/com/jme3/gde/core/assets/AssetDataObject.java
  2. 5
      sdk/jme3-core/src/com/jme3/gde/core/assets/nodes/ProjectAssetsNode.java
  3. 5
      sdk/jme3-core/src/com/jme3/gde/core/codeless/CodelessProject.java
  4. 3
      sdk/jme3-core/src/com/jme3/gde/core/codeless/CodelessProjectLogicalView.java
  5. 35
      sdk/jme3-core/src/com/jme3/gde/core/completion/AssetCompletionProvider.java
  6. 127
      sdk/jme3-core/src/com/jme3/gde/core/completion/ModelGenerator.java
  7. 13
      sdk/jme3-core/src/com/jme3/gde/core/filters/AbstractFilterNode.java
  8. 5
      sdk/jme3-core/src/com/jme3/gde/core/filters/FilterPostProcessorNode.java
  9. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/65.png
  10. 139
      sdk/jme3-core/src/com/jme3/gde/core/icons/IconList.java
  11. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/anim.png
  12. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/animPlay.png
  13. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/animationcontrol.gif
  14. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/assets.gif
  15. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/audioTrack.png
  16. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/audionode.gif
  17. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/bitmaptext.gif
  18. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/bone.png
  19. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/boneTrack.png
  20. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/box_color.gif
  21. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/box_wire.gif
  22. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/charactercontrol.gif
  23. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/crossedEye.gif
  24. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/effectTrack.png
  25. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/eye.gif
  26. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/font.gif
  27. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/geometry.gif
  28. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/ghostcontrol.gif
  29. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/ghostnode.gif
  30. 0
      sdk/jme3-core/src/com/jme3/gde/core/icons/gui.gif
  31. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/image.gif
  32. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/important.gif
  33. 0
      sdk/jme3-core/src/com/jme3/gde/core/icons/jme-logo.png
  34. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/light.gif
  35. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/lightbulb.gif
  36. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/lightbulb_off.gif
  37. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/linknode.gif
  38. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/material.gif
  39. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/mesh.gif
  40. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/model.gif
  41. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/node.gif
  42. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/ortho.png
  43. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/particleemitter.gif
  44. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/persp.png
  45. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/physicscontrol.gif
  46. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/physicsnode.gif
  47. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/physicswheel.gif
  48. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/player.gif
  49. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/scene.gif
  50. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/skeletonControl.gif
  51. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/sound.gif
  52. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/terrain.png
  53. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/track.png
  54. BIN
      sdk/jme3-core/src/com/jme3/gde/core/icons/vehicle.png
  55. 5
      sdk/jme3-core/src/com/jme3/gde/core/importantfiles/ImportantFilesNode.java
  56. 42
      sdk/jme3-core/src/com/jme3/gde/core/scene/controller/toolbars/CameraToolbar.form
  57. 30
      sdk/jme3-core/src/com/jme3/gde/core/scene/controller/toolbars/CameraToolbar.java
  58. 5
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/SceneExplorerTopComponent.java
  59. 5
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeAnimControl.java
  60. 10
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeAnimation.java
  61. 5
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeAssetLinkNode.java
  62. 5
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeAudioNode.java
  63. 5
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeBitmapText.java
  64. 5
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeBone.java
  65. 5
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeCharacterControl.java
  66. 5
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeDistanceLodCalculator.java
  67. 11
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeGenericControl.java
  68. 5
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeGeometry.java
  69. 5
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeGhostControl.java
  70. 5
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeLight.java
  71. 5
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeMesh.java
  72. 5
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeNode.java
  73. 8
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeParticleEmitter.java
  74. 5
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmePicture.java
  75. 5
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeRigidBodyControl.java
  76. 5
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeSkeletonControl.java
  77. 5
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeTerrainGrid.java
  78. 5
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeTerrainLodControl.java
  79. 5
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeTerrainQuad.java
  80. 14
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeTrack.java
  81. 5
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeVehicleControl.java
  82. 5
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeVehicleWheel.java
  83. 8
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/tracks/AudioTrackVisualPanel1.form
  84. 5
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/tracks/AudioTrackVisualPanel1.java
  85. 8
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/tracks/EffectTrackVisualPanel1.form
  86. 5
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/tracks/EffectTrackVisualPanel1.java
  87. 24
      sdk/jme3-core/src/com/jme3/gde/core/sceneviewer/SceneViewerTopComponent.form
  88. 13
      sdk/jme3-core/src/com/jme3/gde/core/sceneviewer/SceneViewerTopComponent.java

@ -133,7 +133,7 @@ public class AssetDataObject extends MultiDataObject {
@Override
protected Node createNodeDelegate() {
AssetDataNode node = new AssetDataNode(this, Children.LEAF, new ProxyLookup(getCookieSet().getLookup(), contentLookup));
node.setIconBaseWithExtension("com/jme3/gde/core/assets/jme-logo.png");
node.setIconBaseWithExtension("com/jme3/gde/core/icons/jme-logo.png");
return node;
}

@ -33,13 +33,13 @@ package com.jme3.gde.core.assets.nodes;
import com.jme3.gde.core.assets.AssetDataObject;
import com.jme3.gde.core.assets.ProjectAssetManager;
import com.jme3.gde.core.icons.IconList;
import java.awt.Image;
import org.netbeans.api.project.Project;
import org.openide.loaders.DataObject;
import org.openide.loaders.DataObjectNotFoundException;
import org.openide.nodes.FilterNode;
import org.openide.nodes.Node;
import org.openide.util.ImageUtilities;
import org.openide.util.Lookup;
import org.openide.util.lookup.ProxyLookup;
@ -49,8 +49,7 @@ import org.openide.util.lookup.ProxyLookup;
*/
public class ProjectAssetsNode extends FilterNode {
private static Image smallImage =
ImageUtilities.loadImage("/com/jme3/gde/core/assets/nodes/icons/assets.gif");
private static Image smallImage = IconList.asset.getImage();
public ProjectAssetsNode(ProjectAssetManager manager, Project proj, Node node) throws DataObjectNotFoundException {
super(node, new AssetChildren(manager, node), createLookupProxy(manager, node));

@ -2,6 +2,7 @@
package com.jme3.gde.core.codeless;
import com.jme3.gde.core.assets.ProjectAssetManager;
import com.jme3.gde.core.icons.IconList;
import java.beans.PropertyChangeListener;
import java.io.File;
import java.io.IOException;
@ -21,7 +22,6 @@ import org.netbeans.spi.project.ui.LogicalViewProvider;
import org.netbeans.spi.project.ui.support.DefaultProjectOperations;
import org.openide.filesystems.FileObject;
import org.openide.util.Exceptions;
import org.openide.util.ImageUtilities;
import org.openide.util.Lookup;
import org.openide.util.lookup.Lookups;
@ -203,8 +203,7 @@ class CodelessProject implements Project {
@Override
public Icon getIcon() {
return new ImageIcon(ImageUtilities.loadImage(
"com/jme3/gde/core/sceneviewer/jme-logo.png"));
return IconList.jmeLogo;
}
@Override

@ -1,6 +1,7 @@
package com.jme3.gde.core.codeless;
import com.jme3.gde.core.assets.ProjectAssetManager;
import com.jme3.gde.core.icons.IconList;
import java.awt.Image;
import java.util.LinkedList;
import java.util.List;
@ -66,7 +67,7 @@ class CodelessProjectLogicalView implements LogicalViewProvider {
@Override
public Image getIcon(int type) {
return ImageUtilities.loadImage("com/jme3/gde/core/sceneviewer/jme-logo.png");
return IconList.jmeLogo.getImage();
}
@Override

@ -32,6 +32,7 @@
package com.jme3.gde.core.completion;
import com.jme3.gde.core.assets.ProjectAssetManager;
import com.jme3.gde.core.icons.IconList;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
@ -60,7 +61,6 @@ import org.netbeans.spi.editor.completion.support.CompletionUtilities;
import org.openide.filesystems.FileObject;
import org.openide.loaders.DataObject;
import org.openide.util.Exceptions;
import org.openide.util.ImageUtilities;
/**
*
@ -70,23 +70,6 @@ import org.openide.util.ImageUtilities;
public class AssetCompletionProvider implements CompletionProvider {
private static final Logger logger = Logger.getLogger(AssetCompletionProvider.class.getName());
private static ImageIcon assetIcon =
new ImageIcon(ImageUtilities.loadImage("com/jme3/gde/core/assets/nodes/icons/assets.gif"));
private static ImageIcon modelIcon =
new ImageIcon(ImageUtilities.loadImage("com/jme3/gde/core/assets/nodes/icons/model.gif"));
private static ImageIcon soundIcon =
new ImageIcon(ImageUtilities.loadImage("com/jme3/gde/core/assets/nodes/icons/sound.gif"));
private static ImageIcon materialIcon =
new ImageIcon(ImageUtilities.loadImage("com/jme3/gde/core/assets/nodes/icons/material.gif"));
private static ImageIcon matDefIcon =
new ImageIcon(ImageUtilities.loadImage("com/jme3/gde/core/assets/jme-logo.png"));
private static ImageIcon fontIcon =
new ImageIcon(ImageUtilities.loadImage("com/jme3/gde/core/assets/nodes/icons/font.gif"));
private static ImageIcon filterIcon =
new ImageIcon(ImageUtilities.loadImage("com/jme3/gde/core/filters/icons/eye.gif"));
private static ImageIcon textureIcon =
new ImageIcon(ImageUtilities.loadImage("com/jme3/gde/core/assets/nodes/icons/image.gif"));
private enum AssetType {
Invalid, Model, Material, Filter, MatDef, Texture, Sound, Font, Xml, Asset
@ -366,28 +349,28 @@ public class AssetCompletionProvider implements CompletionProvider {
ImageIcon icon = null;
switch (type) {
case Model:
icon = modelIcon;
icon = IconList.model;
break;
case Material:
icon = materialIcon;
icon = IconList.material;
break;
case MatDef:
icon = matDefIcon;
icon = IconList.matDef;
break;
case Texture:
icon = textureIcon;
icon = IconList.texture;
break;
case Sound:
icon = soundIcon;
icon = IconList.sound;
break;
case Font:
icon = fontIcon;
icon = IconList.font;
break;
case Filter:
icon = filterIcon;
icon = IconList.filter;
break;
case Asset:
icon = assetIcon;
icon = IconList.asset;
break;
case Invalid:
break;

@ -0,0 +1,127 @@
/*
* Copyright (c) 2003-2012 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* * Neither the name of 'jMonkeyEngine' nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package com.jme3.gde.core.completion;
//import java.lang.reflect.Modifier;
import java.util.Collections;
import java.util.List;
import javax.swing.text.Document;
import javax.swing.text.JTextComponent;
import org.netbeans.api.editor.mimelookup.MimeRegistration;
import org.netbeans.spi.editor.codegen.CodeGenerator;
import org.netbeans.spi.editor.codegen.CodeGeneratorContextProvider;
import org.openide.util.Exceptions;
import org.openide.util.Lookup;
public class ModelGenerator implements CodeGenerator {
JTextComponent textComp;
/**
*
* @param context containing JTextComponent and possibly other items
* registered by {@link CodeGeneratorContextProvider}
*/
private ModelGenerator(Lookup context) { // Good practice is not to save Lookup outside ctor
textComp = context.lookup(JTextComponent.class);
}
// @MimeRegistration(mimeType = "text/x-java", service = CodeGenerator.Factory.class)
public static class Factory implements CodeGenerator.Factory {
public List<? extends CodeGenerator> create(Lookup context) {
return Collections.singletonList(new ModelGenerator(context));
}
}
/**
* The name which will be inserted inside Insert Code dialog
*/
public String getDisplayName() {
return "Sample Generator";
}
/**
* This will be invoked when user chooses this Generator from Insert Code
* dialog
*/
public void invoke() {
try {
Document doc = textComp.getDocument();
int caretPos = textComp.getCaretPosition();
doc.insertString(caretPos, "hack", null);
// Document doc = textComp.getDocument();
// JavaSource javaSource = JavaSource.forDocument(doc);
// CancellableTask task = new CancellableTask<WorkingCopy>() {
// public void run(WorkingCopy workingCopy) throws IOException {
// workingCopy.toPhase(Phase.RESOLVED);
// CompilationUnitTree cut = workingCopy.getCompilationUnit();
// TreeMaker make = workingCopy.getTreeMaker();
// for (Tree typeDecl : cut.getTypeDecls()) {
// if (Tree.Kind.CLASS == typeDecl.getKind()) {
// ClassTree clazz = (ClassTree) typeDecl;
// ModifiersTree methodModifiers =
// make.Modifiers(Collections.<Modifier>singleton(Modifier.PUBLIC),
// Collections.<AnnotationTree>emptyList());
// VariableTree parameter =
// make.Variable(make.Modifiers(Collections.<Modifier>singleton(Modifier.FINAL),
// Collections.<AnnotationTree>emptyList()),
// "arg0",
// make.Identifier("Object"),
// null);
// TypeElement element = workingCopy.getElements().getTypeElement("java.io.IOException");
// ExpressionTree throwsClause = make.QualIdent(element);
// MethodTree newMethod =
// make.Method(methodModifiers,
// "writeExternal",
// make.PrimitiveType(TypeKind.VOID),
// Collections.<TypeParameterTree>emptyList(),
// Collections.singletonList(parameter),
// Collections.<ExpressionTree>singletonList(throwsClause),
// "{ throw new UnsupportedOperationException(\"Not supported yet.\") }",
// null);
// ClassTree modifiedClazz = make.addClassMember(clazz, newMethod);
// workingCopy.rewrite(clazz, modifiedClazz);
// }
// }
// }
//
// public void cancel() {
// }
// };
// ModificationResult result = javaSource.runModificationTask(task);
// result.commit();
} catch (Exception ex) {
Exceptions.printStackTrace(ex);
}
}
}

@ -32,6 +32,7 @@
package com.jme3.gde.core.filters;
import com.jme3.gde.core.filters.actions.EnableFiterAction;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.properties.SceneExplorerProperty;
import com.jme3.gde.core.properties.ScenePropertyChangeListener;
import com.jme3.gde.core.util.PropertyUtils;
@ -51,7 +52,6 @@ import org.openide.nodes.Children;
import org.openide.nodes.Node;
import org.openide.nodes.Sheet;
import org.openide.util.Exceptions;
import org.openide.util.ImageUtilities;
import org.openide.util.actions.SystemAction;
/**
@ -65,8 +65,6 @@ public abstract class AbstractFilterNode extends AbstractNode implements FilterN
protected DataObject dataObject;
protected Filter filter;
private static Image icon;
private static final String ICON_ENABLED = "com/jme3/gde/core/filters/icons/eye.gif";
private static final String ICON_DISABLED = "com/jme3/gde/core/filters/icons/crossedEye.gif";
@Override
public Image getIcon(int type) {
@ -81,10 +79,10 @@ public abstract class AbstractFilterNode extends AbstractNode implements FilterN
public void toggleIcon(boolean enabled) {
if (enabled) {
icon = ImageUtilities.loadImage(ICON_ENABLED);
icon = IconList.eyeOpen.getImage();
} else {
icon = ImageUtilities.loadImage(ICON_DISABLED);
icon = IconList.eyeCrossed.getImage();
}
fireIconChange();
@ -98,9 +96,8 @@ public abstract class AbstractFilterNode extends AbstractNode implements FilterN
super(Children.LEAF);
this.filter = filter;
setName(filter.getName());
icon = ImageUtilities.loadImage(ICON_ENABLED);
setIconBaseWithExtension(ICON_ENABLED);
icon = IconList.eyeOpen.getImage();
// setIconBaseWithExtension(IconList.eyeOpen.);
}
@Override

@ -33,6 +33,7 @@ package com.jme3.gde.core.filters;
import com.jme3.gde.core.assets.FilterDataObject;
import com.jme3.gde.core.filters.actions.NewFilterPopup;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.scene.SceneApplication;
import com.jme3.post.Filter;
import com.jme3.post.FilterPostProcessor;
@ -50,7 +51,6 @@ import org.openide.nodes.Children;
import org.openide.nodes.Node;
import org.openide.nodes.NodeTransfer;
import org.openide.util.Exceptions;
import org.openide.util.ImageUtilities;
import org.openide.util.Lookup;
import org.openide.util.datatransfer.PasteType;
import org.openide.util.lookup.Lookups;
@ -62,8 +62,7 @@ import org.openide.util.lookup.Lookups;
public class FilterPostProcessorNode extends AbstractNode {
private FilterDataObject dataObject;
private static Image smallImage =
ImageUtilities.loadImage("com/jme3/gde/core/filters/icons/eye.gif");
private static Image smallImage = IconList.eyeOpen.getImage();
private FilterPostProcessor fpp;
public FilterPostProcessorNode(FilterDataObject dataObject) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 832 B

@ -0,0 +1,139 @@
/*
* Copyright (c) 2003-2012 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* * Neither the name of 'jMonkeyEngine' nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package com.jme3.gde.core.icons;
import javax.swing.ImageIcon;
import org.openide.util.ImageUtilities;
/**
*
* @author normenhansen
*/
public class IconList {
public static final ImageIcon jmeLogo =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/jme-logo.png", false);
public static ImageIcon asset =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/assets.gif", false);
public static ImageIcon model =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/model.gif", false);
public static ImageIcon sound =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/sound.gif", false);
public static ImageIcon material =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/material.gif", false);
public static ImageIcon matDef =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/jme-logo.png", false);
public static ImageIcon font =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/font.gif", false);
public static ImageIcon filter =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/eye.gif", false);
public static ImageIcon texture =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/image.gif", false);
public static ImageIcon orthoMode =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/ortho.png", false);
public static ImageIcon perspMode =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/persp.png", false);
public static ImageIcon userMode =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/user.png", false);
public static ImageIcon bottomView =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/bottom.png", false);
public static ImageIcon backView =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/back.png", false);
public static ImageIcon topView =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/top.png", false);
public static ImageIcon leftView =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/left.png", false);
public static ImageIcon rightView =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/right.png", false);
public static ImageIcon frontView =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/front.png", false);
public static ImageIcon audioTrack =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/audioTrack.png", false);
public static ImageIcon effectTrack =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/effectTrack.png", false);
public static ImageIcon boneTrack =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/boneTrack.png", false);
public static ImageIcon track =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/track.png", false);
public static ImageIcon lightOff =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/lightbulb_off.gif", false);
public static ImageIcon lightOn =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/lightbulb.gif", false);
public static ImageIcon eyeOpen =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/eye.gif", false);
public static ImageIcon eyeCrossed =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/crossedEye.gif", false);
public static ImageIcon colorBox =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/box_color.gif", false);
public static ImageIcon wireBox =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/box_wire.gif", false);
public static ImageIcon info =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/65.png", false);
public static ImageIcon player =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/player.gif", false);
public static ImageIcon important =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/important.gif", false);
public static ImageIcon animControl =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/animationcontrol.gif", false);
public static ImageIcon animation =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/anim.png", false);
public static ImageIcon animationPlay =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/animPlay.png", false);
public static ImageIcon link =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/linknode.gif", false);
public static ImageIcon bone =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/bone.png", false);
public static ImageIcon wheel =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/physicswheel.gif", false);
public static ImageIcon geometry =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/geometry.gif", false);
public static ImageIcon ghostControl =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/ghostcontrol.gif", false);
public static ImageIcon light =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/light.gif", false);
public static ImageIcon mesh =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/mesh.gif", false);
public static ImageIcon node =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/node.gif", false);
public static ImageIcon emitter =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/particleemitter.gif", false);
public static ImageIcon physicsControl =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/physicscontrol.gif", false);
public static ImageIcon skeletonControl =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/skeletonControl.gif", false);
public static ImageIcon terrain =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/terrain.png", false);
public static ImageIcon vehicle =
ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/vehicle.png", false);
// public static ImageIcon orthoMode =
// ImageUtilities.loadImageIcon(, false);
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 850 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 665 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 572 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 619 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 794 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 340 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 295 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 617 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 763 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 561 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1022 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 748 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 990 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 562 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 581 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 608 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 562 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 562 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 562 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 604 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 706 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 553 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 405 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 567 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 598 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 340 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 771 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 582 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 700 B

@ -4,6 +4,7 @@
*/
package com.jme3.gde.core.importantfiles;
import com.jme3.gde.core.icons.IconList;
import java.awt.Image;
import java.util.ArrayList;
import java.util.List;
@ -20,7 +21,6 @@ import org.openide.nodes.AbstractNode;
import org.openide.nodes.Children;
import org.openide.nodes.Node;
import org.openide.util.Exceptions;
import org.openide.util.ImageUtilities;
import org.openide.util.Lookup;
/**
@ -29,8 +29,7 @@ import org.openide.util.Lookup;
*/
public class ImportantFilesNode extends AbstractNode implements FileChangeListener {
private static Image smallImage =
ImageUtilities.loadImage("com/jme3/gde/core/importantfiles/important.gif");
private static Image smallImage = IconList.important.getImage();
public ImportantFilesNode(Project proj) throws DataObjectNotFoundException {
super(new ImportantFilesChildren(proj));

@ -1,4 +1,4 @@
<?xml version="1.1" encoding="UTF-8" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<Form version="1.5" maxVersion="1.8">
<NonVisualComponents>
@ -10,8 +10,8 @@
<SubComponents>
<MenuItem class="javax.swing.JMenuItem" name="frontMenuItem">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/com/jme3/gde/core/scene/controller/toolbars/front.png"/>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="IconList.frontView" type="code"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="com/jme3/gde/core/scene/controller/toolbars/Bundle.properties" key="CameraToolbar.frontMenuItem.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
@ -23,8 +23,8 @@
</MenuItem>
<MenuItem class="javax.swing.JMenuItem" name="leftMenuItem">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/com/jme3/gde/core/scene/controller/toolbars/left.png"/>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="IconList.leftView" type="code"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="com/jme3/gde/core/scene/controller/toolbars/Bundle.properties" key="CameraToolbar.leftMenuItem.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
@ -36,8 +36,8 @@
</MenuItem>
<MenuItem class="javax.swing.JMenuItem" name="rightMenuItem">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/com/jme3/gde/core/scene/controller/toolbars/right.png"/>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="IconList.rightView" type="code"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="com/jme3/gde/core/scene/controller/toolbars/Bundle.properties" key="CameraToolbar.rightMenuItem.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
@ -49,8 +49,8 @@
</MenuItem>
<MenuItem class="javax.swing.JMenuItem" name="topMenuItem">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/com/jme3/gde/core/scene/controller/toolbars/top.png"/>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="IconList.topView" type="code"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="com/jme3/gde/core/scene/controller/toolbars/Bundle.properties" key="CameraToolbar.topMenuItem.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
@ -62,8 +62,8 @@
</MenuItem>
<MenuItem class="javax.swing.JMenuItem" name="backMenuItem">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/com/jme3/gde/core/scene/controller/toolbars/back.png"/>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="IconList.backView" type="code"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="com/jme3/gde/core/scene/controller/toolbars/Bundle.properties" key="CameraToolbar.backMenuItem.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
@ -75,8 +75,8 @@
</MenuItem>
<MenuItem class="javax.swing.JMenuItem" name="bottomMenuItem">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/com/jme3/gde/core/scene/controller/toolbars/bottom.png"/>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="IconList.bottomView" type="code"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="com/jme3/gde/core/scene/controller/toolbars/Bundle.properties" key="CameraToolbar.bottomMenuItem.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
@ -108,7 +108,7 @@
<Component id="viewButton" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="enableOrtho" min="-2" max="-2" attributes="0"/>
<EmptySpace pref="96" max="32767" attributes="0"/>
<EmptySpace pref="116" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@ -125,8 +125,8 @@
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
<Font name="Tahoma" size="8" style="0"/>
</Property>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/com/jme3/gde/core/scene/controller/toolbars/user.png"/>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="IconList.userMode" type="code"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="com/jme3/gde/core/scene/controller/toolbars/Bundle.properties" key="CameraToolbar.viewButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
@ -145,8 +145,8 @@
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
<Font name="Tahoma" size="8" style="0"/>
</Property>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/com/jme3/gde/core/sceneviewer/icons/persp.png"/>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="IconList.perspMode" type="code"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="com/jme3/gde/core/scene/controller/toolbars/Bundle.properties" key="CameraToolbar.enableOrtho.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
@ -155,7 +155,7 @@
<ResourceString bundle="com/jme3/gde/core/scene/controller/toolbars/Bundle.properties" key="CameraToolbar.enableOrtho.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
</Property>
<Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor">
<Color id="Pointeur par d&#xe9;faut"/>
<Color id="Standardcursor"/>
</Property>
<Property name="focusable" type="boolean" value="false"/>
<Property name="horizontalTextPosition" type="int" value="4"/>
@ -168,8 +168,8 @@
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[50, 23]"/>
</Property>
<Property name="selectedIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/com/jme3/gde/core/sceneviewer/icons/ortho.png"/>
<Property name="selectedIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="IconList.orthoMode" type="code"/>
</Property>
<Property name="verticalTextPosition" type="int" value="3"/>
</Properties>

@ -4,6 +4,7 @@
*/
package com.jme3.gde.core.scene.controller.toolbars;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.sceneviewer.SceneViewerTopComponent;
import com.jme3.gde.core.sceneviewer.actions.SwitchBackViewAction;
import com.jme3.gde.core.sceneviewer.actions.SwitchBottomViewAction;
@ -13,7 +14,6 @@ import com.jme3.gde.core.sceneviewer.actions.SwitchRightViewAction;
import com.jme3.gde.core.sceneviewer.actions.SwitchTopViewAction;
import com.jme3.gde.core.sceneviewer.actions.ToggleOrthoPerspAction;
import com.jme3.gde.core.util.CameraUtil.View;
import javax.swing.ImageIcon;
import org.openide.util.NbBundle;
/**
@ -24,8 +24,6 @@ public class CameraToolbar extends javax.swing.JToolBar {
protected boolean isUserView = true;
private static CameraToolbar instance;
ImageIcon userIcon = new ImageIcon(getClass().getResource("/com/jme3/gde/core/scene/controller/toolbars/user.png"));
//toolbar actions
private ToggleOrthoPerspAction toggleOrthoPerspAction;
private SwitchFrontViewAction switchFrontViewAction;
private SwitchLeftViewAction switchLeftViewAction;
@ -74,7 +72,7 @@ public class CameraToolbar extends javax.swing.JToolBar {
viewButton = new javax.swing.JButton();
enableOrtho = new javax.swing.JToggleButton();
frontMenuItem.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/scene/controller/toolbars/front.png"))); // NOI18N
frontMenuItem.setIcon(IconList.frontView);
frontMenuItem.setText(org.openide.util.NbBundle.getMessage(CameraToolbar.class, "CameraToolbar.frontMenuItem.text")); // NOI18N
frontMenuItem.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
@ -83,7 +81,7 @@ public class CameraToolbar extends javax.swing.JToolBar {
});
viewMenu.add(frontMenuItem);
leftMenuItem.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/scene/controller/toolbars/left.png"))); // NOI18N
leftMenuItem.setIcon(IconList.leftView);
leftMenuItem.setText(org.openide.util.NbBundle.getMessage(CameraToolbar.class, "CameraToolbar.leftMenuItem.text")); // NOI18N
leftMenuItem.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
@ -92,7 +90,7 @@ public class CameraToolbar extends javax.swing.JToolBar {
});
viewMenu.add(leftMenuItem);
rightMenuItem.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/scene/controller/toolbars/right.png"))); // NOI18N
rightMenuItem.setIcon(IconList.rightView);
rightMenuItem.setText(org.openide.util.NbBundle.getMessage(CameraToolbar.class, "CameraToolbar.rightMenuItem.text")); // NOI18N
rightMenuItem.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
@ -101,7 +99,7 @@ public class CameraToolbar extends javax.swing.JToolBar {
});
viewMenu.add(rightMenuItem);
topMenuItem.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/scene/controller/toolbars/top.png"))); // NOI18N
topMenuItem.setIcon(IconList.topView);
topMenuItem.setText(org.openide.util.NbBundle.getMessage(CameraToolbar.class, "CameraToolbar.topMenuItem.text")); // NOI18N
topMenuItem.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
@ -110,7 +108,7 @@ public class CameraToolbar extends javax.swing.JToolBar {
});
viewMenu.add(topMenuItem);
backMenuItem.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/scene/controller/toolbars/back.png"))); // NOI18N
backMenuItem.setIcon(IconList.backView);
backMenuItem.setText(org.openide.util.NbBundle.getMessage(CameraToolbar.class, "CameraToolbar.backMenuItem.text")); // NOI18N
backMenuItem.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
@ -119,7 +117,7 @@ public class CameraToolbar extends javax.swing.JToolBar {
});
viewMenu.add(backMenuItem);
bottomMenuItem.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/scene/controller/toolbars/bottom.png"))); // NOI18N
bottomMenuItem.setIcon(IconList.bottomView);
bottomMenuItem.setText(org.openide.util.NbBundle.getMessage(CameraToolbar.class, "CameraToolbar.bottomMenuItem.text")); // NOI18N
bottomMenuItem.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
@ -128,8 +126,8 @@ public class CameraToolbar extends javax.swing.JToolBar {
});
viewMenu.add(bottomMenuItem);
viewButton.setFont(new java.awt.Font("Tahoma", 0, 8));
viewButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/scene/controller/toolbars/user.png"))); // NOI18N
viewButton.setFont(new java.awt.Font("Tahoma", 0, 8)); // NOI18N
viewButton.setIcon(IconList.userMode);
viewButton.setText(org.openide.util.NbBundle.getMessage(CameraToolbar.class, "CameraToolbar.viewButton.text")); // NOI18N
viewButton.setFocusable(false);
viewButton.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
@ -141,8 +139,8 @@ public class CameraToolbar extends javax.swing.JToolBar {
}
});
enableOrtho.setFont(new java.awt.Font("Tahoma", 0, 8));
enableOrtho.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/sceneviewer/icons/persp.png"))); // NOI18N
enableOrtho.setFont(new java.awt.Font("Tahoma", 0, 8)); // NOI18N
enableOrtho.setIcon(IconList.perspMode);
enableOrtho.setText(org.openide.util.NbBundle.getMessage(CameraToolbar.class, "CameraToolbar.enableOrtho.text")); // NOI18N
enableOrtho.setToolTipText(org.openide.util.NbBundle.getMessage(CameraToolbar.class, "CameraToolbar.enableOrtho.toolTipText")); // NOI18N
enableOrtho.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
@ -151,7 +149,7 @@ public class CameraToolbar extends javax.swing.JToolBar {
enableOrtho.setMaximumSize(new java.awt.Dimension(27, 23));
enableOrtho.setMinimumSize(new java.awt.Dimension(27, 23));
enableOrtho.setPreferredSize(new java.awt.Dimension(50, 23));
enableOrtho.setSelectedIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/sceneviewer/icons/ortho.png"))); // NOI18N
enableOrtho.setSelectedIcon(IconList.orthoMode);
enableOrtho.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
enableOrtho.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
@ -167,7 +165,7 @@ public class CameraToolbar extends javax.swing.JToolBar {
.addComponent(viewButton)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(enableOrtho, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(96, Short.MAX_VALUE))
.addContainerGap(116, Short.MAX_VALUE))
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
@ -306,7 +304,7 @@ private void enableOrthoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-F
case User:
default:
if (!isUserView) {
viewButton.setIcon(userIcon);
viewButton.setIcon(IconList.userMode);
viewButton.setText(NbBundle.getMessage(CameraToolbar.class, "CameraToolbar.viewButton.label"));
isUserView = true;
}

@ -31,6 +31,7 @@
*/
package com.jme3.gde.core.sceneexplorer;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.scene.PreviewRequest;
import com.jme3.gde.core.scene.SceneApplication;
import com.jme3.gde.core.scene.SceneListener;
@ -59,7 +60,6 @@ import org.openide.explorer.view.BeanTreeView;
import org.openide.nodes.Node;
import org.openide.util.Exceptions;
import org.openide.util.HelpCtx;
import org.openide.util.ImageUtilities;
import org.openide.util.Lookup;
import org.openide.util.NbBundle;
import org.openide.util.actions.SystemAction;
@ -75,7 +75,6 @@ public final class SceneExplorerTopComponent extends TopComponent implements Exp
private static SceneExplorerTopComponent instance;
/** path to the icon used by the component and its open action */
static final String ICON_PATH = "com/jme3/gde/core/sceneexplorer/jme-logo.png";
private static final String PREFERRED_ID = "SceneExplorerTopComponent";
private SceneRequest request;
// private final Result<AbstractSceneExplorerNode> nodeSelectionResult;
@ -89,7 +88,7 @@ public final class SceneExplorerTopComponent extends TopComponent implements Exp
initActions();
setName(NbBundle.getMessage(SceneExplorerTopComponent.class, "CTL_SceneExplorerTopComponent"));
setToolTipText(NbBundle.getMessage(SceneExplorerTopComponent.class, "HINT_SceneExplorerTopComponent"));
setIcon(ImageUtilities.loadImage(ICON_PATH, true));
setIcon(IconList.jmeLogo.getImage());
associateLookup(ExplorerUtils.createLookup(explorerManager, getActionMap()));
// nodeSelectionResult = Utilities.actionsGlobalContext().lookupResult(AbstractSceneExplorerNode.class);
// nodeSelectionResult.addLookupListener(this);

@ -32,6 +32,7 @@
package com.jme3.gde.core.sceneexplorer.nodes;
import com.jme3.animation.AnimControl;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.properties.AnimationProperty;
import com.jme3.gde.core.scene.SceneApplication;
import com.jme3.gde.core.sceneexplorer.nodes.actions.TrackVisibilityPopup;
@ -47,7 +48,6 @@ import org.openide.nodes.Node;
import org.openide.nodes.Sheet;
import org.openide.util.Exceptions;
import org.openide.util.HelpCtx;
import org.openide.util.ImageUtilities;
import org.openide.util.actions.BooleanStateAction;
import org.openide.util.actions.SystemAction;
@ -63,8 +63,7 @@ public class JmeAnimControl extends AbstractSceneExplorerNode {
private boolean displayBoneTracks = false;
private boolean displayEffectTracks = true;
private boolean displayAudioTracks = true;
private static Image smallImage =
ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/animationcontrol.gif");
private static Image smallImage = IconList.animControl.getImage();
public JmeAnimControl() {
}

@ -36,6 +36,7 @@ import com.jme3.animation.AnimControl;
import com.jme3.animation.AnimEventListener;
import com.jme3.animation.Animation;
import com.jme3.animation.LoopMode;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.properties.AnimationProperty;
import com.jme3.gde.core.scene.SceneApplication;
import com.jme3.gde.core.sceneexplorer.nodes.actions.ChannelDialog;
@ -53,7 +54,6 @@ import org.openide.loaders.DataObject;
import org.openide.nodes.Node;
import org.openide.nodes.Sheet;
import org.openide.util.Exceptions;
import org.openide.util.ImageUtilities;
/**
*
@ -63,8 +63,6 @@ import org.openide.util.ImageUtilities;
public class JmeAnimation extends AbstractSceneExplorerNode {
private Animation animation;
private static final String ICON = "com/jme3/gde/core/sceneexplorer/nodes/icons/anim.png";
private static final String ICON_PLAY = "com/jme3/gde/core/sceneexplorer/nodes/icons/animPlay.png";
private Image icon;
private JmeAnimControl jmeControl;
private boolean playing = false;
@ -86,7 +84,7 @@ public class JmeAnimation extends AbstractSceneExplorerNode {
setName(animation.getName());
children.setAnimation(this);
children.setAnimControl(jmeControl);
icon = ImageUtilities.loadImage(ICON);
icon = IconList.animation.getImage();
}
@ -104,10 +102,10 @@ public class JmeAnimation extends AbstractSceneExplorerNode {
public void toggleIcon(boolean enabled) {
if (!playing) {
icon = ImageUtilities.loadImage(ICON);
icon = IconList.animation.getImage();
} else {
icon = ImageUtilities.loadImage(ICON_PLAY);
icon = IconList.animationPlay.getImage();
}
fireIconChange();

@ -32,6 +32,7 @@
package com.jme3.gde.core.sceneexplorer.nodes;
import com.jme3.asset.ModelKey;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.scene.SceneApplication;
import com.jme3.gde.core.sceneexplorer.nodes.actions.AddUserDataAction;
import com.jme3.gde.core.sceneexplorer.nodes.actions.NewControlPopup;
@ -55,7 +56,6 @@ import org.openide.nodes.Children;
import org.openide.nodes.Node;
import org.openide.nodes.Sheet;
import org.openide.util.Exceptions;
import org.openide.util.ImageUtilities;
import org.openide.util.actions.SystemAction;
/**
@ -65,8 +65,7 @@ import org.openide.util.actions.SystemAction;
@org.openide.util.lookup.ServiceProvider(service = SceneExplorerNode.class)
public class JmeAssetLinkNode extends JmeNode {
private static Image smallImage =
ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/linknode.gif");
private static Image smallImage = IconList.link.getImage();
private AssetLinkNode geom;
private AssetLinkChildren linkChildren;

@ -34,12 +34,12 @@ package com.jme3.gde.core.sceneexplorer.nodes;
import com.jme3.audio.AudioNode;
import com.jme3.audio.AudioNode.Status;
import com.jme3.audio.Filter;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.properties.AudioDataProperty;
import com.jme3.math.Vector3f;
import java.awt.Image;
import org.openide.loaders.DataObject;
import org.openide.nodes.Sheet;
import org.openide.util.ImageUtilities;
/**
*
@ -48,8 +48,7 @@ import org.openide.util.ImageUtilities;
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
public class JmeAudioNode extends JmeNode {
private static Image smallImage =
ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/audionode.gif");
private static Image smallImage = IconList.sound.getImage();
private AudioNode node;
public JmeAudioNode() {

@ -33,11 +33,11 @@ package com.jme3.gde.core.sceneexplorer.nodes;
import com.jme3.font.BitmapFont;
import com.jme3.font.BitmapText;
import com.jme3.gde.core.icons.IconList;
import com.jme3.math.ColorRGBA;
import java.awt.Image;
import org.openide.loaders.DataObject;
import org.openide.nodes.Sheet;
import org.openide.util.ImageUtilities;
/**
*
@ -46,8 +46,7 @@ import org.openide.util.ImageUtilities;
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
public class JmeBitmapText extends JmeNode {
private static Image smallImage =
ImageUtilities.loadImage("/com/jme3/gde/core/sceneexplorer/nodes/icons/bitmaptext.gif");
private static Image smallImage = IconList.font.getImage();
private BitmapText geom;
public JmeBitmapText() {

@ -32,6 +32,7 @@
package com.jme3.gde.core.sceneexplorer.nodes;
import com.jme3.animation.Bone;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.scene.SceneApplication;
import java.awt.Image;
import java.awt.datatransfer.DataFlavor;
@ -44,7 +45,6 @@ import org.openide.awt.Actions;
import org.openide.loaders.DataObject;
import org.openide.nodes.Sheet;
import org.openide.util.Exceptions;
import org.openide.util.ImageUtilities;
/**
*
@ -53,8 +53,7 @@ import org.openide.util.ImageUtilities;
@org.openide.util.lookup.ServiceProvider(service = SceneExplorerNode.class)
public class JmeBone extends AbstractSceneExplorerNode {
private static Image smallImage =
ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/bone.png");
private static Image smallImage = IconList.bone.getImage();
private Bone bone;
private JmeSkeletonControl jmeSkeletonControl;
protected final DataFlavor BONE_FLAVOR = new DataFlavor(ClipboardSpatial.class, "Bone");

@ -33,6 +33,7 @@ package com.jme3.gde.core.sceneexplorer.nodes;
import com.jme3.bullet.collision.shapes.CollisionShape;
import com.jme3.bullet.control.CharacterControl;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.scene.SceneApplication;
import com.jme3.math.Vector3f;
import com.jme3.scene.Spatial;
@ -41,6 +42,7 @@ import java.io.IOException;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
import javax.swing.Action;
import javax.swing.ImageIcon;
import org.openide.actions.DeleteAction;
import org.openide.loaders.DataObject;
import org.openide.nodes.Sheet;
@ -55,8 +57,7 @@ import org.openide.util.actions.SystemAction;
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
public class JmeCharacterControl extends AbstractSceneExplorerNode {
private static Image smallImage =
ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/player.gif");
private static Image smallImage = IconList.player.getImage();
private CharacterControl geom;
public JmeCharacterControl() {

@ -31,6 +31,7 @@
*/
package com.jme3.gde.core.sceneexplorer.nodes;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.scene.SceneApplication;
import com.jme3.terrain.geomipmap.TerrainLodControl;
import com.jme3.terrain.geomipmap.lodcalc.DistanceLodCalculator;
@ -43,7 +44,6 @@ import org.openide.loaders.DataObject;
import org.openide.nodes.Children;
import org.openide.nodes.Sheet;
import org.openide.util.Exceptions;
import org.openide.util.ImageUtilities;
import org.openide.util.actions.SystemAction;
@ -57,8 +57,7 @@ public class JmeDistanceLodCalculator extends AbstractSceneExplorerNode {
private DistanceLodCalculator lodCalculator;
private TerrainLodControl lodControl;
private static Image smallImage =
ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/physicswheel.gif");
private static Image smallImage = IconList.wheel.getImage();
public JmeDistanceLodCalculator() {
}

@ -31,6 +31,7 @@
*/
package com.jme3.gde.core.sceneexplorer.nodes;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.properties.SceneExplorerProperty;
import com.jme3.gde.core.properties.ScenePropertyChangeListener;
import com.jme3.gde.core.scene.SceneApplication;
@ -51,7 +52,6 @@ import org.openide.nodes.AbstractNode;
import org.openide.nodes.Children;
import org.openide.nodes.Sheet;
import org.openide.util.Exceptions;
import org.openide.util.ImageUtilities;
import org.openide.util.actions.SystemAction;
import org.openide.util.lookup.InstanceContent;
import org.openide.util.lookup.ProxyLookup;
@ -63,8 +63,7 @@ import org.openide.util.lookup.ProxyLookup;
public class JmeGenericControl extends AbstractNode implements ScenePropertyChangeListener {
private Control control;
private static Image smallImage =
ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/animationcontrol.gif");
private static Image smallImage = IconList.wheel.getImage();
private DataObject dobject;
private InstanceContent lookupContents;
@ -81,14 +80,12 @@ public class JmeGenericControl extends AbstractNode implements ScenePropertyChan
@Override
public Image getIcon(int type) {
return super.getIcon(type);
// return smallImage;
return smallImage;
}
@Override
public Image getOpenedIcon(int type) {
return super.getOpenedIcon(type);
// return smallImage;
return smallImage;
}
@Override

@ -31,6 +31,7 @@
*/
package com.jme3.gde.core.sceneexplorer.nodes;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.scene.SceneApplication;
import com.jme3.gde.core.sceneexplorer.MaterialChangeListener;
import com.jme3.gde.core.sceneexplorer.SceneExplorerTopComponent;
@ -42,7 +43,6 @@ import java.io.IOException;
import java.util.concurrent.Callable;
import org.openide.loaders.DataObject;
import org.openide.nodes.Sheet;
import org.openide.util.ImageUtilities;
/**
*
@ -51,8 +51,7 @@ import org.openide.util.ImageUtilities;
@org.openide.util.lookup.ServiceProvider(service = SceneExplorerNode.class)
public class JmeGeometry extends JmeSpatial implements MaterialChangeListener {
private static Image smallImage =
ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/geometry.gif");
private static Image smallImage = IconList.geometry.getImage();
private Geometry geom;
public JmeGeometry() {

@ -33,6 +33,7 @@ package com.jme3.gde.core.sceneexplorer.nodes;
import com.jme3.bullet.collision.shapes.CollisionShape;
import com.jme3.bullet.control.GhostControl;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.scene.SceneApplication;
import com.jme3.math.Quaternion;
import com.jme3.math.Vector3f;
@ -46,7 +47,6 @@ import org.openide.actions.DeleteAction;
import org.openide.loaders.DataObject;
import org.openide.nodes.Sheet;
import org.openide.util.Exceptions;
import org.openide.util.ImageUtilities;
import org.openide.util.actions.SystemAction;
/**
@ -56,8 +56,7 @@ import org.openide.util.actions.SystemAction;
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
public class JmeGhostControl extends AbstractSceneExplorerNode {
private static Image smallImage =
ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/ghostcontrol.gif");
private static Image smallImage = IconList.ghostControl.getImage();
private GhostControl geom;
public JmeGhostControl() {

@ -31,6 +31,7 @@
*/
package com.jme3.gde.core.sceneexplorer.nodes;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.scene.SceneApplication;
import com.jme3.light.Light;
import com.jme3.math.ColorRGBA;
@ -45,7 +46,6 @@ import org.openide.nodes.Children;
import org.openide.nodes.Node;
import org.openide.nodes.Sheet;
import org.openide.util.Exceptions;
import org.openide.util.ImageUtilities;
import org.openide.util.actions.SystemAction;
/**
@ -57,8 +57,7 @@ public class JmeLight extends AbstractSceneExplorerNode {
private Spatial spatial;
private Light light;
private static Image smallImage =
ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/light.gif");
private static Image smallImage = IconList.light.getImage();
public JmeLight() {
}

@ -31,6 +31,7 @@
*/
package com.jme3.gde.core.sceneexplorer.nodes;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.scene.SceneApplication;
import com.jme3.light.Light;
import com.jme3.scene.Geometry;
@ -45,7 +46,6 @@ import org.openide.actions.DeleteAction;
import org.openide.nodes.Children;
import org.openide.nodes.Sheet;
import org.openide.util.Exceptions;
import org.openide.util.ImageUtilities;
import org.openide.util.actions.SystemAction;
/**
@ -57,8 +57,7 @@ public class JmeMesh extends AbstractSceneExplorerNode{
private Geometry geom;
private Mesh mesh;
private static Image smallImage =
ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/mesh.gif");
private static Image smallImage = IconList.mesh.getImage();
public JmeMesh() {
}

@ -31,6 +31,7 @@
*/
package com.jme3.gde.core.sceneexplorer.nodes;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.scene.SceneApplication;
import com.jme3.gde.core.sceneexplorer.nodes.actions.AddUserDataAction;
import com.jme3.gde.core.sceneexplorer.nodes.actions.NewControlPopup;
@ -56,7 +57,6 @@ import org.openide.awt.Actions;
import org.openide.loaders.DataObject;
import org.openide.nodes.Sheet;
import org.openide.util.Exceptions;
import org.openide.util.ImageUtilities;
import org.openide.util.actions.SystemAction;
import org.openide.util.datatransfer.PasteType;
@ -67,8 +67,7 @@ import org.openide.util.datatransfer.PasteType;
@org.openide.util.lookup.ServiceProvider(service = SceneExplorerNode.class)
public class JmeNode extends JmeSpatial {
private static Image smallImage =
ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/node.gif");
private static Image smallImage = IconList.node.getImage();
private Node node;
public JmeNode() {

@ -37,6 +37,7 @@ import com.jme3.effect.influencers.DefaultParticleInfluencer;
import com.jme3.effect.influencers.ParticleInfluencer;
import com.jme3.effect.shapes.EmitterShape;
import com.jme3.gde.core.assets.ProjectAssetManager;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.properties.ParticleInfluencerProperty;
import com.jme3.gde.core.util.PropertyUtils;
import com.jme3.math.ColorRGBA;
@ -50,7 +51,6 @@ import org.openide.loaders.DataObject;
import org.openide.nodes.Node;
import org.openide.nodes.PropertySupport;
import org.openide.nodes.Sheet;
import org.openide.util.ImageUtilities;
/**
*
@ -61,8 +61,7 @@ public class JmeParticleEmitter extends JmeGeometry {
public JmeParticleEmitter() {
}
private static Image smallImage =
ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/particleemitter.gif");
private static Image smallImage = IconList.emitter.getImage();
private ParticleEmitter geom;
public JmeParticleEmitter(ParticleEmitter spatial, JmeSpatialChildren children) {
@ -132,7 +131,7 @@ public class JmeParticleEmitter extends JmeGeometry {
set2.setDisplayName("Particle Influencer" + " - " + obj.getParticleInfluencer().getClass().getSimpleName());
set2.setName(obj.getParticleInfluencer().getClass().getName());
ParticleInfluencerProperty prop = new ParticleInfluencerProperty(obj,this, this.getLookup().lookup(ProjectAssetManager.class).getProject());
ParticleInfluencerProperty prop = new ParticleInfluencerProperty(obj, this, this.getLookup().lookup(ProjectAssetManager.class).getProject());
prop.addPropertyChangeListener(this);
set2.put(prop);
@ -191,7 +190,6 @@ public class JmeParticleEmitter extends JmeGeometry {
private Property createButtonProperty() {
return new PropertySupport.ReadWrite<Object>("emit", Object.class, "Emit all particles", "Click here to emit all particles of this emitter ") {
JmeParticleEmitterButtonProperty pe;
@Override

@ -31,11 +31,11 @@
*/
package com.jme3.gde.core.sceneexplorer.nodes;
import com.jme3.gde.core.icons.IconList;
import com.jme3.ui.Picture;
import java.awt.Image;
import org.openide.loaders.DataObject;
import org.openide.nodes.Sheet;
import org.openide.util.ImageUtilities;
/**
*
@ -44,8 +44,7 @@ import org.openide.util.ImageUtilities;
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
public class JmePicture extends JmeGeometry {
private static Image smallImage =
ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/picture.gif");
private static Image smallImage = IconList.texture.getImage();
private Picture geom;
public JmePicture() {

@ -33,6 +33,7 @@ package com.jme3.gde.core.sceneexplorer.nodes;
import com.jme3.bullet.collision.shapes.CollisionShape;
import com.jme3.bullet.control.RigidBodyControl;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.scene.SceneApplication;
import com.jme3.math.Quaternion;
import com.jme3.math.Vector3f;
@ -46,7 +47,6 @@ import org.openide.actions.DeleteAction;
import org.openide.loaders.DataObject;
import org.openide.nodes.Sheet;
import org.openide.util.Exceptions;
import org.openide.util.ImageUtilities;
import org.openide.util.actions.SystemAction;
/**
@ -56,8 +56,7 @@ import org.openide.util.actions.SystemAction;
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
public class JmeRigidBodyControl extends AbstractSceneExplorerNode {
private static Image smallImage =
ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/physicscontrol.gif");
private static Image smallImage = IconList.physicsControl.getImage();
private RigidBodyControl geom;
public JmeRigidBodyControl() {

@ -32,6 +32,7 @@
package com.jme3.gde.core.sceneexplorer.nodes;
import com.jme3.animation.SkeletonControl;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.scene.SceneApplication;
import com.jme3.scene.Spatial;
import java.awt.Image;
@ -44,7 +45,6 @@ import org.openide.loaders.DataObject;
import org.openide.nodes.Node;
import org.openide.nodes.Sheet;
import org.openide.util.Exceptions;
import org.openide.util.ImageUtilities;
import org.openide.util.actions.SystemAction;
/**
@ -55,8 +55,7 @@ import org.openide.util.actions.SystemAction;
public class JmeSkeletonControl extends AbstractSceneExplorerNode {
private SkeletonControl skeletonControl;
private static Image smallImage =
ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/skeletonControl.gif");
private static Image smallImage = IconList.skeletonControl.getImage();
public JmeSkeletonControl() {
}

@ -31,6 +31,7 @@
*/
package com.jme3.gde.core.sceneexplorer.nodes;
import com.jme3.gde.core.icons.IconList;
import com.jme3.math.Vector3f;
import com.jme3.terrain.geomipmap.TerrainGrid;
import com.jme3.terrain.geomipmap.TerrainGridListener;
@ -40,7 +41,6 @@ import java.util.logging.Level;
import java.util.logging.Logger;
import org.openide.loaders.DataObject;
import org.openide.nodes.Sheet;
import org.openide.util.ImageUtilities;
/**
*
@ -49,8 +49,7 @@ import org.openide.util.ImageUtilities;
@org.openide.util.lookup.ServiceProvider(service = SceneExplorerNode.class)
public class JmeTerrainGrid extends JmeTerrainQuad implements TerrainGridListener {
private static Image smallImage =
ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/terrain.png");
private static Image smallImage = IconList.terrain.getImage();
private TerrainGrid geom;
public JmeTerrainGrid() {

@ -32,6 +32,7 @@
package com.jme3.gde.core.sceneexplorer.nodes;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.scene.SceneApplication;
import com.jme3.scene.Spatial;
import com.jme3.terrain.geomipmap.TerrainLodControl;
@ -49,7 +50,6 @@ import org.openide.nodes.Children;
import org.openide.nodes.Node;
import org.openide.nodes.Sheet;
import org.openide.util.Exceptions;
import org.openide.util.ImageUtilities;
import org.openide.util.actions.SystemAction;
/**
@ -59,8 +59,7 @@ import org.openide.util.actions.SystemAction;
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
public class JmeTerrainLodControl extends AbstractSceneExplorerNode {
private static Image smallImage =
ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/physicswheel.gif");
private static Image smallImage = IconList.wheel.getImage();
private TerrainLodControl terrainLodControl;
public JmeTerrainLodControl() {

@ -31,11 +31,11 @@
*/
package com.jme3.gde.core.sceneexplorer.nodes;
import com.jme3.gde.core.icons.IconList;
import com.jme3.terrain.geomipmap.TerrainQuad;
import java.awt.Image;
import org.openide.loaders.DataObject;
import org.openide.nodes.Sheet;
import org.openide.util.ImageUtilities;
/**
*
@ -44,8 +44,7 @@ import org.openide.util.ImageUtilities;
@org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
public class JmeTerrainQuad extends JmeNode {
private static Image smallImage =
ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/terrain.png");
private static Image smallImage = IconList.terrain.getImage();
private TerrainQuad geom;
public JmeTerrainQuad() {

@ -37,6 +37,7 @@ import com.jme3.animation.AudioTrack;
import com.jme3.animation.BoneTrack;
import com.jme3.animation.EffectTrack;
import com.jme3.animation.Track;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.properties.AudioTrackProperty;
import com.jme3.gde.core.properties.EffectTrackEmitterProperty;
import com.jme3.gde.core.properties.SceneExplorerProperty;
@ -53,7 +54,6 @@ import org.openide.loaders.DataObject;
import org.openide.nodes.Children;
import org.openide.nodes.Sheet;
import org.openide.util.Exceptions;
import org.openide.util.ImageUtilities;
import org.openide.util.actions.SystemAction;
/**
@ -63,14 +63,10 @@ import org.openide.util.actions.SystemAction;
@org.openide.util.lookup.ServiceProvider(service = SceneExplorerNode.class)
public class JmeTrack extends AbstractSceneExplorerNode {
private static Image iconBoneTrack =
ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/boneTrack.png");
private static Image iconEffectTrack =
ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/effectTrack.png");
private static Image iconAudioTrack =
ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/audioTrack.png");
private static Image iconTrack =
ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/track.png");
private static Image iconBoneTrack = IconList.boneTrack.getImage();
private static Image iconEffectTrack = IconList.effectTrack.getImage();
private static Image iconAudioTrack = IconList.audioTrack.getImage();
private static Image iconTrack = IconList.track.getImage();
private Track track;
private AnimControl control;

@ -34,6 +34,7 @@ package com.jme3.gde.core.sceneexplorer.nodes;
import com.jme3.bullet.collision.shapes.CollisionShape;
import com.jme3.bullet.control.VehicleControl;
import com.jme3.bullet.objects.VehicleWheel;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.scene.SceneApplication;
import com.jme3.math.Quaternion;
import com.jme3.math.Vector3f;
@ -51,7 +52,6 @@ import org.openide.nodes.Children;
import org.openide.nodes.Node;
import org.openide.nodes.Sheet;
import org.openide.util.Exceptions;
import org.openide.util.ImageUtilities;
import org.openide.util.actions.SystemAction;
/**
@ -61,8 +61,7 @@ import org.openide.util.actions.SystemAction;
@org.openide.util.lookup.ServiceProvider(service = SceneExplorerNode.class)
public class JmeVehicleControl extends AbstractSceneExplorerNode {
private static Image smallImage =
ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/vehicle.png");
private static Image smallImage = IconList.vehicle.getImage();
private VehicleControl vehicle;
public JmeVehicleControl() {

@ -33,6 +33,7 @@ package com.jme3.gde.core.sceneexplorer.nodes;
import com.jme3.bullet.control.VehicleControl;
import com.jme3.bullet.objects.VehicleWheel;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.scene.SceneApplication;
import com.jme3.light.Light;
import com.jme3.math.Vector3f;
@ -45,7 +46,6 @@ import org.openide.actions.DeleteAction;
import org.openide.nodes.Children;
import org.openide.nodes.Sheet;
import org.openide.util.Exceptions;
import org.openide.util.ImageUtilities;
import org.openide.util.actions.SystemAction;
/**
@ -57,8 +57,7 @@ public class JmeVehicleWheel extends AbstractSceneExplorerNode{
private VehicleWheel wheel;
private VehicleControl vehicle;
private static Image smallImage =
ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/physicswheel.gif");
private static Image smallImage = IconList.wheel.getImage();
public JmeVehicleWheel() {
}

@ -1,4 +1,4 @@
<?xml version="1.1" encoding="UTF-8" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<Form version="1.5" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
<AuxValues>
@ -95,7 +95,7 @@
</Group>
<EmptySpace max="-2" attributes="0"/>
<Component id="jLabel4" min="-2" max="-2" attributes="0"/>
<EmptySpace pref="27" max="32767" attributes="0"/>
<EmptySpace pref="28" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@ -106,8 +106,8 @@
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
<Font name="Tahoma" size="12" style="1"/>
</Property>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/com/jme3/gde/core/sceneexplorer/nodes/icons/audioTrack.png"/>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="IconList.audioTrack" type="code"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="com/jme3/gde/core/sceneexplorer/nodes/actions/impl/tracks/Bundle.properties" key="AudioTrackVisualPanel1.jLabel1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>

@ -33,6 +33,7 @@ package com.jme3.gde.core.sceneexplorer.nodes.actions.impl.tracks;
import com.jme3.animation.Animation;
import com.jme3.audio.AudioNode;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.sceneexplorer.nodes.JmeAnimation;
import com.jme3.scene.Node;
import com.jme3.scene.Spatial;
@ -118,7 +119,7 @@ public final class AudioTrackVisualPanel1 extends JPanel {
jPanel1.setBorder(javax.swing.BorderFactory.createEtchedBorder());
jLabel1.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/sceneexplorer/nodes/icons/audioTrack.png"))); // NOI18N
jLabel1.setIcon(IconList.audioTrack);
org.openide.awt.Mnemonics.setLocalizedText(jLabel1, org.openide.util.NbBundle.getMessage(AudioTrackVisualPanel1.class, "AudioTrackVisualPanel1.jLabel1.text")); // NOI18N
jLabel2.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
@ -194,7 +195,7 @@ public final class AudioTrackVisualPanel1 extends JPanel {
.addComponent(jSlider1, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel4)
.addContainerGap(27, Short.MAX_VALUE))
.addContainerGap(28, Short.MAX_VALUE))
);
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);

@ -1,4 +1,4 @@
<?xml version="1.1" encoding="UTF-8" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<Form version="1.5" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
<AuxValues>
@ -95,7 +95,7 @@
</Group>
<EmptySpace max="-2" attributes="0"/>
<Component id="jLabel4" min="-2" max="-2" attributes="0"/>
<EmptySpace pref="27" max="32767" attributes="0"/>
<EmptySpace pref="28" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@ -106,8 +106,8 @@
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
<Font name="Tahoma" size="12" style="1"/>
</Property>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/com/jme3/gde/core/sceneexplorer/nodes/icons/effectTrack.png"/>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="IconList.effectTrack" type="code"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="com/jme3/gde/core/sceneexplorer/nodes/actions/impl/tracks/Bundle.properties" key="EffectTrackVisualPanel1.jLabel1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>

@ -33,6 +33,7 @@ package com.jme3.gde.core.sceneexplorer.nodes.actions.impl.tracks;
import com.jme3.animation.Animation;
import com.jme3.effect.ParticleEmitter;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.sceneexplorer.nodes.JmeAnimation;
import com.jme3.scene.Node;
import com.jme3.scene.Spatial;
@ -118,7 +119,7 @@ public final class EffectTrackVisualPanel1 extends JPanel {
jPanel1.setBorder(javax.swing.BorderFactory.createEtchedBorder());
jLabel1.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/sceneexplorer/nodes/icons/effectTrack.png"))); // NOI18N
jLabel1.setIcon(IconList.effectTrack);
org.openide.awt.Mnemonics.setLocalizedText(jLabel1, org.openide.util.NbBundle.getMessage(EffectTrackVisualPanel1.class, "EffectTrackVisualPanel1.jLabel1.text")); // NOI18N
jLabel2.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
@ -194,7 +195,7 @@ public final class EffectTrackVisualPanel1 extends JPanel {
.addComponent(jSlider1, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel4)
.addContainerGap(27, Short.MAX_VALUE))
.addContainerGap(28, Short.MAX_VALUE))
);
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);

@ -30,8 +30,8 @@
<SubComponents>
<Component class="javax.swing.JToggleButton" name="enableCamLight">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/com/jme3/gde/core/sceneviewer/icons/lightbulb_off.gif"/>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="IconList.lightOff" type="code"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="com/jme3/gde/core/sceneviewer/Bundle.properties" key="SceneViewerTopComponent.enableCamLight.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
@ -41,8 +41,8 @@
</Property>
<Property name="focusable" type="boolean" value="false"/>
<Property name="horizontalTextPosition" type="int" value="0"/>
<Property name="selectedIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/com/jme3/gde/core/sceneviewer/icons/lightbulb.gif"/>
<Property name="selectedIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="IconList.lightOn" type="code"/>
</Property>
<Property name="verticalTextPosition" type="int" value="3"/>
</Properties>
@ -52,8 +52,8 @@
</Component>
<Component class="javax.swing.JToggleButton" name="jToggleButton1">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/com/jme3/gde/core/filters/icons/eye.gif"/>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="IconList.eyeOpen" type="code"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="com/jme3/gde/core/sceneviewer/Bundle.properties" key="SceneViewerTopComponent.jToggleButton1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
@ -73,8 +73,8 @@
</Component>
<Component class="javax.swing.JToggleButton" name="enableWireframe">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/com/jme3/gde/core/sceneviewer/icons/box_color.gif"/>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="IconList.colorBox" type="code"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="com/jme3/gde/core/sceneviewer/Bundle.properties" key="SceneViewerTopComponent.enableWireframe.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
@ -84,8 +84,8 @@
</Property>
<Property name="focusable" type="boolean" value="false"/>
<Property name="horizontalTextPosition" type="int" value="0"/>
<Property name="selectedIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/com/jme3/gde/core/sceneviewer/icons/box_wire.gif"/>
<Property name="selectedIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="IconList.wireBox" type="code"/>
</Property>
<Property name="verticalTextPosition" type="int" value="3"/>
</Properties>
@ -99,8 +99,8 @@
</Container>
<Component class="javax.swing.JToggleButton" name="enableStats">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/com/jme3/gde/core/sceneviewer/icons/65.png"/>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="IconList.info" type="code"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="com/jme3/gde/core/sceneviewer/Bundle.properties" key="SceneViewerTopComponent.enableStats.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>

@ -25,6 +25,7 @@
package com.jme3.gde.core.sceneviewer;
import com.jme3.gde.core.filters.FilterExplorerTopComponent;
import com.jme3.gde.core.icons.IconList;
import com.jme3.gde.core.scene.SceneApplication;
import com.jme3.gde.core.scene.SceneRequest;
import com.jme3.input.awt.AwtKeyInput;
@ -176,12 +177,12 @@ public final class SceneViewerTopComponent extends TopComponent {
jToolBar1.setRollover(true);
enableCamLight.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/sceneviewer/icons/lightbulb_off.gif"))); // NOI18N
enableCamLight.setIcon(IconList.lightOff);
org.openide.awt.Mnemonics.setLocalizedText(enableCamLight, org.openide.util.NbBundle.getMessage(SceneViewerTopComponent.class, "SceneViewerTopComponent.enableCamLight.text")); // NOI18N
enableCamLight.setToolTipText(org.openide.util.NbBundle.getMessage(SceneViewerTopComponent.class, "SceneViewerTopComponent.enableCamLight.toolTipText")); // NOI18N
enableCamLight.setFocusable(false);
enableCamLight.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
enableCamLight.setSelectedIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/sceneviewer/icons/lightbulb.gif"))); // NOI18N
enableCamLight.setSelectedIcon(IconList.lightOn);
enableCamLight.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
enableCamLight.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
@ -190,7 +191,7 @@ public final class SceneViewerTopComponent extends TopComponent {
});
jToolBar1.add(enableCamLight);
jToggleButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/filters/icons/eye.gif"))); // NOI18N
jToggleButton1.setIcon(IconList.eyeOpen);
org.openide.awt.Mnemonics.setLocalizedText(jToggleButton1, org.openide.util.NbBundle.getMessage(SceneViewerTopComponent.class, "SceneViewerTopComponent.jToggleButton1.text")); // NOI18N
jToggleButton1.setToolTipText(org.openide.util.NbBundle.getMessage(SceneViewerTopComponent.class, "SceneViewerTopComponent.jToggleButton1.toolTipText")); // NOI18N
jToggleButton1.setFocusable(false);
@ -204,12 +205,12 @@ public final class SceneViewerTopComponent extends TopComponent {
jToolBar1.add(jToggleButton1);
jToolBar1.add(jSeparator1);
enableWireframe.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/sceneviewer/icons/box_color.gif"))); // NOI18N
enableWireframe.setIcon(IconList.colorBox);
org.openide.awt.Mnemonics.setLocalizedText(enableWireframe, org.openide.util.NbBundle.getMessage(SceneViewerTopComponent.class, "SceneViewerTopComponent.enableWireframe.text")); // NOI18N
enableWireframe.setToolTipText(org.openide.util.NbBundle.getMessage(SceneViewerTopComponent.class, "SceneViewerTopComponent.enableWireframe.toolTipText")); // NOI18N
enableWireframe.setFocusable(false);
enableWireframe.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
enableWireframe.setSelectedIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/sceneviewer/icons/box_wire.gif"))); // NOI18N
enableWireframe.setSelectedIcon(IconList.wireBox);
enableWireframe.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
enableWireframe.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
@ -219,7 +220,7 @@ public final class SceneViewerTopComponent extends TopComponent {
jToolBar1.add(enableWireframe);
jToolBar1.add(jPanel1);
enableStats.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/sceneviewer/icons/65.png"))); // NOI18N
enableStats.setIcon(IconList.info);
org.openide.awt.Mnemonics.setLocalizedText(enableStats, org.openide.util.NbBundle.getMessage(SceneViewerTopComponent.class, "SceneViewerTopComponent.enableStats.text")); // NOI18N
enableStats.setToolTipText(org.openide.util.NbBundle.getMessage(SceneViewerTopComponent.class, "SceneViewerTopComponent.enableStats.toolTipText")); // NOI18N
enableStats.setFocusable(false);

Loading…
Cancel
Save