Changed j3o icon

experimental
Nehon 10 years ago
parent 00e939b32b
commit 7037d8cc62
  1. 2
      sdk/jme3-core/src/com/jme3/gde/core/assets/AssetDataObject.java
  2. 2
      sdk/jme3-core/src/com/jme3/gde/core/assets/BinaryModelFileLoader.java

@ -139,7 +139,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/icons/jme-logo.png");
node.setIconBaseWithExtension("com/jme3/gde/core/icons/model.gif");
return node;
}

@ -54,7 +54,7 @@ import org.openide.loaders.MultiFileLoader;
mimeType = "application/jme3model",
extension = {"j3o", "j3s", "j3odata"}
)
@DataObject.Registration(iconBase = "com/jme3/gde/core/icons/jme-logo.png", displayName = "jME3 Model", mimeType = "application/jme3model")
@DataObject.Registration(iconBase = "com/jme3/gde/core/icons/model.gif", displayName = "jME3 Model", mimeType = "application/jme3model")
@ActionReferences({
@ActionReference(id = @ActionID(category = "Edit", id = "org.openide.actions.CutAction"), path = "Loaders/application/jme3model/Actions", position = 200, separatorBefore = 100),
@ActionReference(id = @ActionID(category = "Edit", id = "org.openide.actions.CopyAction"), path = "Loaders/application/jme3model/Actions", position = 300, separatorAfter = 400),

Loading…
Cancel
Save