diff --git a/sdk/jme3-texture-editor/src/com/jme3/gde/textureeditor/Bundle.properties b/sdk/jme3-texture-editor/src/com/jme3/gde/textureeditor/Bundle.properties
index 8a31ef16a..dea647841 100644
--- a/sdk/jme3-texture-editor/src/com/jme3/gde/textureeditor/Bundle.properties
+++ b/sdk/jme3-texture-editor/src/com/jme3/gde/textureeditor/Bundle.properties
@@ -9,5 +9,3 @@ OpenIDE-Module-Long-Description=\
This plugin combines commonly needed image operations for textures.
OpenIDE-Module-Name=Texture Editor
OpenIDE-Module-Short-Description=Combines commonly needed image operations for textures
-Services/MIMEResolver/JmeTextureResolver.xml=JmeTexture Files
-Templates/Other/JmeTextureTemplate.jpg=Empty JmeTexture file
diff --git a/sdk/jme3-texture-editor/src/com/jme3/gde/textureeditor/JmeTextureDataObject.java b/sdk/jme3-texture-editor/src/com/jme3/gde/textureeditor/JmeTextureDataObject.java
index 9988288f5..ac4cc340d 100644
--- a/sdk/jme3-texture-editor/src/com/jme3/gde/textureeditor/JmeTextureDataObject.java
+++ b/sdk/jme3-texture-editor/src/com/jme3/gde/textureeditor/JmeTextureDataObject.java
@@ -5,8 +5,13 @@
package com.jme3.gde.textureeditor;
import java.io.IOException;
+import org.openide.awt.ActionID;
+import org.openide.awt.ActionReference;
+import org.openide.awt.ActionReferences;
import org.openide.filesystems.FileObject;
+import org.openide.filesystems.MIMEResolver;
import org.openide.loaders.DataNode;
+import org.openide.loaders.DataObject;
import org.openide.loaders.DataObjectExistsException;
import org.openide.loaders.MultiDataObject;
import org.openide.loaders.MultiFileLoader;
@@ -14,6 +19,32 @@ import org.openide.nodes.Node;
import org.openide.nodes.Children;
import org.openide.util.Lookup;
+@MIMEResolver.ExtensionRegistration(
+ displayName = "jME3 Texture",
+ mimeType = "image/x-jmetexture",
+ extension = {"png", "bmp", "jpg", "PNG", "BMP", "JPG", "jpeg", "JPEG", "tga", "TGA"}
+)
+@DataObject.Registration(displayName = "jME3 Texture", mimeType = "image/x-jmetexture", iconBase = "com/jme3/gde/textureeditor/Computer_File_068.gif")
+@ActionReferences(value = {
+ @ActionReference(id =
+ @ActionID(category = "JME3", id = "com.jme3.gde.textureeditor.OpenTexture"), path = "Loaders/image/x-jmetexture/Actions", position = 0),
+ @ActionReference(id =
+ @ActionID(category = "Edit", id = "org.openide.actions.CutAction"), path = "Loaders/image/x-jmetexture/Actions", position = 200, separatorBefore = 100),
+ @ActionReference(id =
+ @ActionID(category = "Edit", id = "org.openide.actions.CopyAction"), path = "Loaders/image/x-jmetexture/Actions", position = 300, separatorAfter = 400),
+ @ActionReference(id =
+ @ActionID(category = "Edit", id = "org.openide.actions.DeleteAction"), path = "Loaders/image/x-jmetexture/Actions", position = 500),
+ @ActionReference(id =
+ @ActionID(category = "System", id = "org.openide.actions.RenameAction"), path = "Loaders/image/x-jmetexture/Actions", position = 600, separatorAfter = 700),
+ @ActionReference(id =
+ @ActionID(category = "System", id = "org.openide.actions.SaveAsTemplateAction"), path = "Loaders/image/x-jmetexture/Actions", position = 800, separatorAfter = 900),
+ @ActionReference(id =
+ @ActionID(category = "System", id = "org.openide.actions.FileSystemAction"), path = "Loaders/image/x-jmetexture/Actions", position = 1000, separatorAfter = 1100),
+ @ActionReference(id =
+ @ActionID(category = "System", id = "org.openide.actions.ToolsAction"), path = "Loaders/image/x-jmetexture/Actions", position = 1200),
+ @ActionReference(id =
+ @ActionID(category = "System", id = "org.openide.actions.PropertiesAction"), path = "Loaders/image/x-jmetexture/Actions", position = 1300)
+})
public class JmeTextureDataObject extends MultiDataObject {
public JmeTextureDataObject(FileObject pf, MultiFileLoader loader) throws DataObjectExistsException, IOException {
diff --git a/sdk/jme3-texture-editor/src/com/jme3/gde/textureeditor/layer.xml b/sdk/jme3-texture-editor/src/com/jme3/gde/textureeditor/layer.xml
index e10396a2e..677d7d144 100644
--- a/sdk/jme3-texture-editor/src/com/jme3/gde/textureeditor/layer.xml
+++ b/sdk/jme3-texture-editor/src/com/jme3/gde/textureeditor/layer.xml
@@ -22,93 +22,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/sdk/jme3-texture-editor/src/com/jme3/gde/textureeditor/package-info.java b/sdk/jme3-texture-editor/src/com/jme3/gde/textureeditor/package-info.java
new file mode 100644
index 000000000..3693cc317
--- /dev/null
+++ b/sdk/jme3-texture-editor/src/com/jme3/gde/textureeditor/package-info.java
@@ -0,0 +1,9 @@
+@ActionReferences(value = {
+ @ActionReference(id =
+ @ActionID(category = "JME3", id = "com.jme3.gde.textureeditor.OpenTexture"), path = "Loaders/image/png-gif-jpeg-bmp/Actions", position = 0),
+})
+package com.jme3.gde.textureeditor;
+
+import org.openide.awt.ActionID;
+import org.openide.awt.ActionReference;
+import org.openide.awt.ActionReferences;