1.1 --- a/ant.freeform.samples/src/org/netbeans/modules/ant/freeform/customcommands/NewCommandAction.java Mon Oct 17 12:28:25 2011 -0400
1.2 +++ b/ant.freeform.samples/src/org/netbeans/modules/ant/freeform/customcommands/NewCommandAction.java Mon Oct 17 12:34:13 2011 -0400
1.3 @@ -59,6 +59,9 @@
1.4 import org.openide.DialogDisplayer;
1.5 import org.openide.ErrorManager;
1.6 import org.openide.WizardDescriptor;
1.7 +import org.openide.awt.ActionID;
1.8 +import org.openide.awt.ActionReference;
1.9 +import org.openide.awt.ActionRegistration;
1.10 import org.openide.awt.DynamicMenuContent;
1.11 import org.openide.filesystems.FileObject;
1.12 import org.openide.filesystems.FileUtil;
1.13 @@ -74,6 +77,9 @@
1.14 import org.xml.sax.InputSource;
1.15 import org.xml.sax.SAXException;
1.16
1.17 +@ActionID(id = "org.netbeans.modules.ant.freeform.customcommands.NewCommandAction", category = "Tools")
1.18 +@ActionRegistration(displayName = "#LBL_action")
1.19 +@ActionReference(path = "Projects/org-netbeans-modules-ant-freeform/Actions", position = 350)
1.20 public final class NewCommandAction extends AbstractAction implements ContextAwareAction {
1.21
1.22 public NewCommandAction() {
2.1 --- a/ant.freeform.samples/src/org/netbeans/modules/ant/freeform/samples/layer.xml Mon Oct 17 12:28:25 2011 -0400
2.2 +++ b/ant.freeform.samples/src/org/netbeans/modules/ant/freeform/samples/layer.xml Mon Oct 17 12:34:13 2011 -0400
2.3 @@ -42,21 +42,6 @@
2.4 -->
2.5 <!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.1//EN" "http://www.netbeans.org/dtds/filesystem-1_1.dtd">
2.6 <filesystem>
2.7 - <folder name="Actions">
2.8 - <folder name="Tools">
2.9 - <file name="org-netbeans-modules-ant-freeform-customcommands-NewCommandAction.instance"/>
2.10 - </folder>
2.11 - </folder>
2.12 - <folder name="Projects">
2.13 - <folder name="org-netbeans-modules-ant-freeform">
2.14 - <folder name="Actions">
2.15 - <file name="org-netbeans-modules-ant-freeform-customcommands-NewCommandAction.shadow">
2.16 - <attr name="originalFile" stringvalue="Actions/Tools/org-netbeans-modules-ant-freeform-customcommands-NewCommandAction.instance"/>
2.17 - <attr name="position" intvalue="350"/>
2.18 - </file>
2.19 - </folder>
2.20 - </folder>
2.21 - </folder>
2.22 <folder name="Templates">
2.23 <folder name="Project">
2.24 <folder name="Standard">