# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: /space/nball/projects # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: projectui/src/org/netbeans/modules/project/ui/actions/Bundle.properties *** /space/nball/projects/projectui/src/org/netbeans/modules/project/ui/actions/Bundle.properties Base (1.26) --- /space/nball/projects/projectui/src/org/netbeans/modules/project/ui/actions/Bundle.properties Locally Modified (Based On 1.26) *************** *** 38,43 **** --- 38,44 ---- # {0} number of project # {1} the first project name LBL_BuildProjectAction_Name=Build {0,choice,0#Project|1#"{1}" Project|1<{0} Projects} + LBL_CleanProjectAction_Name=Clean {0,choice,0#Project|1#"{1}" Project|1<{0} Projects} LBL_RebuildProjectAction_Name=Clean and Build {0,choice,0#Project|1#"{1}" Project|1<{0} Projects} LBL_CleanProjectAction_Name=Clean {0,choice,0#Project|1#"{1}" Project|1<{0} Projects} LBL_JavadocProjectAction_Name=&Generate Javadoc for {0,choice,0#Project|1#"{1}"|1 + + + + *************** *** 79,84 **** --- 83,92 ---- + + + + Index: projectui/src/org/netbeans/modules/project/ui/actions/Actions.java *** /space/nball/projects/projectui/src/org/netbeans/modules/project/ui/actions/Actions.java Base (1.28) --- /space/nball/projects/projectui/src/org/netbeans/modules/project/ui/actions/Actions.java Locally Modified (Based On 1.28) *************** *** 163,168 **** --- 163,178 ---- return a; } + public static Action cleanProject() { + Action a = new ProjectAction( + ActionProvider.COMMAND_CLEAN, + NbBundle.getMessage(Actions.class, "LBL_CleanProjectAction_Name" ), // NO18N + new ImageIcon( Utilities.loadImage( "org/netbeans/modules/project/ui/resources/cleanCurrentProject.gif" ) ), //NOI18N + null ); + a.putValue("iconBase","org/netbeans/modules/project/ui/resources/cleanCurrentProject.gif"); //NOI18N + return a; + } + public static Action rebuildProject() { Action a = new ProjectAction( ActionProvider.COMMAND_REBUILD, *************** *** 303,308 **** --- 313,327 ---- return a; } + public static Action cleanMainProject() { + Action a = new MainProjectAction( + ActionProvider.COMMAND_CLEAN, + NbBundle.getMessage(Actions.class, "LBL_CleanMainProjectAction_Name" ), + new ImageIcon( Utilities.loadImage( "org/netbeans/modules/project/ui/resources/cleanProject.gif" ) ) ); //NOI18N + a.putValue("iconBase","org/netbeans/modules/project/ui/resources/cleanProject.gif"); //NOI18N + return a; + } + public static Action rebuildMainProject() { Action a = new MainProjectAction( ActionProvider.COMMAND_REBUILD, Index: projectuiapi/arch.xml *** /space/nball/projects/projectuiapi/arch.xml Base (1.13) --- /space/nball/projects/projectuiapi/arch.xml Locally Modified (Based On 1.13) *************** *** 864,875 **** -->

! No.

--- 864,887 ---- --> +

! Several project related actions are registered in the Actions folder in the layer. ! Product branding is intended to use those actions to build main menu, toolbars and shortcuts.

+
    +
  • Actions/Project/org-netbeans-modules-project-ui-BuildMainProject.instance
  • +
  • Actions/Project/org-netbeans-modules-project-ui-CleanMainProject.instance
  • +
  • Actions/Project/org-netbeans-modules-project-ui-RebuildMainProject.instance
  • +
  • Actions/Project/org-netbeans-modules-project-ui-RunMainProject.instance
  • +
  • Actions/Project/org-netbeans-modules-project-ui-DebugMainProject.instance
  • +
  • Actions/Project/org-netbeans-modules-project-ui-TestProject.instance
  • +
  • Actions/Project/org-netbeans-modules-project-ui-BuildProject.instance
  • +
  • Actions/Project/org-netbeans-modules-project-ui-CleanProject.instance
  • +
  • Actions/Project/org-netbeans-modules-project-ui-RebuildProject.instance
  • +
  • Actions/Project/org-netbeans-modules-project-ui-RunProject.instance
  • +
+