This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
actions.add(ProjectSensitiveActions.projectCommandAction(ActionProvider.COMMAND_TEST, bundle.getString("LBL_TestAction_Name"), null)); // NOI18N
actions.add(CommonProjectActions.setProjectConfigurationAction());
actions.add(null);
List j2seActions = Utilities.actionsForPath("Projects/org-netbeans-modules-java-j2seproject/Actions");
if (!j2seActions.isEmpty()) {
actions.addAll(j2seActions);
}
actions.add(CommonProjectActions.setAsMainProjectAction());
actions.add(CommonProjectActions.openSubprojectsAction());
actions.add(CommonProjectActions.closeProjectAction());
</folder>
</pre>
</api>
<api group="layer" name="ProjectTypeActions" type="export" category="devel">
<p>
Providers of generic actions for a specific project type can register
<code>Action</code> and <code>JSeparator</code> instances in a special folder
<code>Projects/${project-code-name}/Actions/</code>. So if any module wishes
to extend, hide or reorder some of them it can just register its actions there.
Example:
</p>
<pre>
<folder name="Projects" >
<folder name="project-code-name" >
<folder name="Actions" >
<file name="org-mymodule-MyAction.instance" >
<attr name="instanceCreate" stringvalue="org.mymodule.MyAction" />
</file>
<!-- XXX link to Javadoc or something with definitions -->
<api group="layer" name="Templates" type="export" category="official">