diff --git a/sdk/jme3-core/src/com/jme3/gde/core/codeless/CodelessProjectWizardAction.java b/sdk/jme3-core/src/com/jme3/gde/core/codeless/CodelessProjectWizardAction.java index 14de215e8..5f8d64936 100644 --- a/sdk/jme3-core/src/com/jme3/gde/core/codeless/CodelessProjectWizardAction.java +++ b/sdk/jme3-core/src/com/jme3/gde/core/codeless/CodelessProjectWizardAction.java @@ -47,6 +47,9 @@ import org.netbeans.api.project.ProjectManager; import org.netbeans.api.project.ui.OpenProjects; import org.openide.DialogDisplayer; import org.openide.WizardDescriptor; +import org.openide.awt.ActionID; +import org.openide.awt.ActionReference; +import org.openide.awt.ActionRegistration; import org.openide.filesystems.FileLock; import org.openide.filesystems.FileObject; import org.openide.filesystems.FileUtil; @@ -54,9 +57,13 @@ import org.openide.util.Exceptions; import org.openide.util.HelpCtx; import org.openide.util.actions.CallableSystemAction; -// An example action demonstrating how the wizard could be called from within -// your code. You can copy-paste the code below wherever you need. @SuppressWarnings({"unchecked", "rawtypes"}) +@ActionID(id = "com.jme3.gde.core.codeless.CodelessProjectWizardAction", category = "CodelessProjects") +@ActionRegistration(iconBase = "com/jme3/gde/core/assets/actions/jme-logo.png", + displayName = "#CTL_Codeless_Project", + lazy = false, + iconInMenu = true) +@ActionReference(path = "Menu/File/Import", name = "CodelessProject", position = 0) public final class CodelessProjectWizardAction extends CallableSystemAction { private static final Logger logger = Logger.getLogger(CodelessProjectWizardAction.class.getName()); diff --git a/sdk/jme3-core/src/com/jme3/gde/core/layer.xml b/sdk/jme3-core/src/com/jme3/gde/core/layer.xml index cc273d2a8..2f18a19a3 100644 --- a/sdk/jme3-core/src/com/jme3/gde/core/layer.xml +++ b/sdk/jme3-core/src/com/jme3/gde/core/layer.xml @@ -2,15 +2,6 @@ - - - - - - - - - @@ -65,10 +56,6 @@ - - - -