From 24056c1979923a5432f81d3f2499ee32ab5f4dde Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Fri, 25 Jan 2013 16:32:05 +0000 Subject: [PATCH] SDK: - add default options to BlenderDataObject git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10154 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../jme3/gde/blender/BlenderDataObject.java | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/sdk/jme3-blender/src/com/jme3/gde/blender/BlenderDataObject.java b/sdk/jme3-blender/src/com/jme3/gde/blender/BlenderDataObject.java index d193cdd47..dede5d4db 100644 --- a/sdk/jme3-blender/src/com/jme3/gde/blender/BlenderDataObject.java +++ b/sdk/jme3-blender/src/com/jme3/gde/blender/BlenderDataObject.java @@ -22,7 +22,23 @@ import org.openide.loaders.MultiFileLoader; @ActionReference(id = @ActionID(category = "jMonkeyPlatform", id = "com.jme3.gde.core.assets.actions.ConvertModel"), path = "Loaders/application/blender/Actions", position = 10), @ActionReference(id = - @ActionID(category = "jMonkeyPlatform", id = "com.jme3.gde.core.assets.actions.OpenModel"), path = "Loaders/application/blender/Actions", position = 20)}) + @ActionID(category = "jMonkeyPlatform", id = "com.jme3.gde.core.assets.actions.OpenModel"), path = "Loaders/application/blender/Actions", position = 20), + @ActionReference(id = + @ActionID(category = "Edit", id = "org.openide.actions.CutAction"), path = "Loaders/application/jme3filterpostprocessor/Actions", position = 200, separatorBefore = 100), + @ActionReference(id = + @ActionID(category = "Edit", id = "org.openide.actions.CopyAction"), path = "Loaders/application/jme3filterpostprocessor/Actions", position = 300, separatorAfter = 400), + @ActionReference(id = + @ActionID(category = "Edit", id = "org.openide.actions.DeleteAction"), path = "Loaders/application/jme3filterpostprocessor/Actions", position = 500), + @ActionReference(id = + @ActionID(category = "System", id = "org.openide.actions.RenameAction"), path = "Loaders/application/jme3filterpostprocessor/Actions", position = 600, separatorAfter = 700), + @ActionReference(id = + @ActionID(category = "System", id = "org.openide.actions.SaveAsTemplateAction"), path = "Loaders/application/jme3filterpostprocessor/Actions", position = 800, separatorAfter = 900), + @ActionReference(id = + @ActionID(category = "System", id = "org.openide.actions.FileSystemAction"), path = "Loaders/application/jme3filterpostprocessor/Actions", position = 1000, separatorAfter = 1100), + @ActionReference(id = + @ActionID(category = "System", id = "org.openide.actions.ToolsAction"), path = "Loaders/application/jme3filterpostprocessor/Actions", position = 1200), + @ActionReference(id = + @ActionID(category = "System", id = "org.openide.actions.PropertiesAction"), path = "Loaders/application/jme3filterpostprocessor/Actions", position = 1300)}) public class BlenderDataObject extends SpatialAssetDataObject { public BlenderDataObject(FileObject pf, MultiFileLoader loader) throws DataObjectExistsException, IOException {