Java Code Examples for org.netbeans.spi.project.ui.support.CommonProjectActions#closeProjectAction()
The following examples show how to use
org.netbeans.spi.project.ui.support.CommonProjectActions#closeProjectAction() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BrokenProject.java From netbeans with Apache License 2.0 | 5 votes |
@Override public Action[] getActions(boolean context) { return new Action[] { CommonProjectActions.closeProjectAction(), null, BrokenActionInfo.ACTION }; }
Example 2
Source File: ExtProjectConvertorServices.java From netbeans with Apache License 2.0 | 5 votes |
@NonNull private Action[] transientActions() { Action[] res = actions; if (res == null) { res = actions = new Action[] { CommonProjectActions.closeProjectAction() }; } return res; }
Example 3
Source File: LazyProject.java From netbeans with Apache License 2.0 | 5 votes |
@Override public Action[] getActions(boolean context) { OpenProjectList.preferredProject(LazyProject.this); return new Action[] { SystemAction.get(LazyProjectInitializing.class), CommonProjectActions.closeProjectAction() }; }
Example 4
Source File: NbAndroidRootProjectImpl.java From NBANDROID-V2 with Apache License 2.0 | 5 votes |
@Override public Action[] getActions(boolean arg0) { return new Action[]{ ProjectSensitiveActions.projectCommandAction(ActionProvider.COMMAND_REBUILD, "Clean and Build", null), ProjectSensitiveActions.projectCommandAction(ActionProvider.COMMAND_CLEAN, "Clean", null), ProjectSensitiveActions.projectCommandAction(ActionProvider.COMMAND_BUILD, "Buld", null), configurationsProjectAction, CommonProjectActions.setAsMainProjectAction(), CommonProjectActions.customizeProjectAction(), CommonProjectActions.closeProjectAction() }; }
Example 5
Source File: AssetPackProjectLogicalView.java From MikuMikuStudio with BSD 2-Clause "Simplified" License | 5 votes |
@Override public Action[] getActions(boolean arg0) { Action[] nodeActions = new Action[9]; nodeActions[0] = new PublishAssetPackAction(project); nodeActions[1] = new ConvertOgreBinaryMeshesAction(project); nodeActions[2] = new ImportWorldForgeAction(project); nodeActions[3] = new CleanupProjectAction(project); nodeActions[4] = CommonProjectActions.copyProjectAction(); nodeActions[5] = CommonProjectActions.deleteProjectAction(); nodeActions[6] = CommonProjectActions.setAsMainProjectAction(); nodeActions[7] = CommonProjectActions.closeProjectAction(); nodeActions[8] = CommonProjectActions.customizeProjectAction(); return nodeActions; }
Example 6
Source File: CodelessProjectLogicalView.java From MikuMikuStudio with BSD 2-Clause "Simplified" License | 5 votes |
@Override public Action[] getActions(boolean arg0) { Action[] nodeActions = new Action[7]; // nodeActions[0] = CommonProjectActions.newFileAction(); nodeActions[1] = CommonProjectActions.copyProjectAction(); nodeActions[2] = CommonProjectActions.deleteProjectAction(); nodeActions[5] = CommonProjectActions.setAsMainProjectAction(); nodeActions[6] = CommonProjectActions.closeProjectAction(); return nodeActions; }