当前位置: 首页>>代码示例>>Java>>正文


Java CommonProjectActions.deleteProjectAction方法代码示例

本文整理汇总了Java中org.netbeans.spi.project.ui.support.CommonProjectActions.deleteProjectAction方法的典型用法代码示例。如果您正苦于以下问题:Java CommonProjectActions.deleteProjectAction方法的具体用法?Java CommonProjectActions.deleteProjectAction怎么用?Java CommonProjectActions.deleteProjectAction使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.netbeans.spi.project.ui.support.CommonProjectActions的用法示例。


在下文中一共展示了CommonProjectActions.deleteProjectAction方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getActions

import org.netbeans.spi.project.ui.support.CommonProjectActions; //导入方法依赖的package包/类
@Override
public Action[] getActions(boolean context) {
    Collection<? extends ProjectActionsPathProvider> addonPaths =
            project.getLookup().lookupAll(ProjectActionsPathProvider.class);
    String[] layerPaths = new String[]{
        BMProject.getLayerProjectActionsPath(project.getType()),
        BMProject.getLayerProjectActionsPath(BMProject.TYPE_ANY)
    };
    layerPaths = BMProjectUtils.aggregateLayerPaths(addonPaths, layerPaths);

    Action[] defaultProjectActions = new Action[]{
        // CommonProjectActions.newFileAction(),
        CommonProjectActions.renameProjectAction(),
        CommonProjectActions.deleteProjectAction(),
        CommonProjectActions.closeProjectAction(),
        CommonProjectActions.customizeProjectAction(),
    };

    Action[] actions = NodeSubmenuUtils.createActions(context, defaultProjectActions, layerPaths);

    return actions;
}
 
开发者ID:chhh,项目名称:batmass,代码行数:23,代码来源:BMProjectLogicalView.java

示例2: getActions

import org.netbeans.spi.project.ui.support.CommonProjectActions; //导入方法依赖的package包/类
@Override
public Action[] getActions(boolean arg0) {
    Action[] nodeActions = {
        CommonProjectActions.newFileAction(),
        null,
        ProjectSensitiveActions.projectCommandAction(ActionProvider.COMMAND_BUILD, Bundle.LBL_BuildAction_Name(), null),
        ProjectSensitiveActions.projectCommandAction(ActionProvider.COMMAND_REBUILD, Bundle.LBL_CleanBuildAction_Name(), null),
        ProjectSensitiveActions.projectCommandAction(ActionProvider.COMMAND_CLEAN, Bundle.LBL_CleanAction_Name(), null),
        null,
        ProjectSensitiveActions.projectCommandAction(ActionProvider.COMMAND_RUN, Bundle.LBL_RunAction_Name(), null),
        ProjectSensitiveActions.projectCommandAction(ActionProvider.COMMAND_DEBUG, Bundle.LBL_DebugAction_Name(), null),
        ProjectSensitiveActions.projectCommandAction(ActionProvider.COMMAND_PROFILE, Bundle.LBL_ProfileAction_Name(), null),
        ProjectSensitiveActions.projectCommandAction(ActionProvider.COMMAND_TEST, Bundle.LBL_TestAction_Name(), null),
        null,
        CommonProjectActions.copyProjectAction(),
        CommonProjectActions.deleteProjectAction(),
        CommonProjectActions.setAsMainProjectAction(),
        CommonProjectActions.closeProjectAction(),
    };
    return nodeActions;
}
 
开发者ID:tunnelvisionlabs,项目名称:goworks,代码行数:22,代码来源:GoProjectLogicalView.java

示例3: getActions

import org.netbeans.spi.project.ui.support.CommonProjectActions; //导入方法依赖的package包/类
@Override
public Action[] getActions(boolean arg0) {
    return new Action[]{
        CommonProjectActions.newFileAction(),
        CommonProjectActions.copyProjectAction(),
        CommonProjectActions.deleteProjectAction(),
        CommonProjectActions.renameProjectAction(),
        CommonProjectActions.customizeProjectAction(),
        CommonProjectActions.closeProjectAction()
    };
}
 
开发者ID:rajmahendra,项目名称:NetBeans-JBake-Plugin,代码行数:12,代码来源:JBakeProjectLogicalView.java

示例4: getActions

import org.netbeans.spi.project.ui.support.CommonProjectActions; //导入方法依赖的package包/类
@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;
}
 
开发者ID:jMonkeyEngine,项目名称:sdk,代码行数:15,代码来源:AssetPackProjectLogicalView.java

示例5: getActions

import org.netbeans.spi.project.ui.support.CommonProjectActions; //导入方法依赖的package包/类
@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;
        }
 
开发者ID:jMonkeyEngine,项目名称:sdk,代码行数:11,代码来源:CodelessProjectLogicalView.java

示例6: getActions

import org.netbeans.spi.project.ui.support.CommonProjectActions; //导入方法依赖的package包/类
@Override
public Action[] getActions(boolean arg0) {
    return new Action[]{
        CommonProjectActions.newFileAction(),
        CommonProjectActions.deleteProjectAction(),
        CommonProjectActions.setAsMainProjectAction(),
        null,
        actionsProcessor.createAction(ActionsEnum.RUN_AUTOCOMPILE),
        actionsProcessor.createAction(ActionsEnum.RUN),
        null,
        actionsProcessor.createAction(ActionsEnum.CLEAN),
        actionsProcessor.createAction(ActionsEnum.COMPILE),
        actionsProcessor.createAction(ActionsEnum.CLEAN_BUILD),
        null,
        actionsProcessor.createAction(ActionsEnum.DEBUG_AUTOCOMPILE),
        actionsProcessor.createAction(ActionsEnum.DEBUG),
        null,
        actionsProcessor.createAction(ActionsEnum.TEST_AUTOCOMPILE),
        actionsProcessor.createAction(ActionsEnum.TEST),
        actionsProcessor.createAction(ActionsEnum.JACOCO4SBT),
        actionsProcessor.createAction(ActionsEnum.SBT_SCOVERAGE),
        null,
        actionsProcessor.createAction(ActionsEnum.RELOAD_PROJECT),
        null,
        CommonProjectActions.closeProjectAction(),
        null,
        CommonProjectActions.customizeProjectAction()
    };

}
 
开发者ID:pedrohidalgo,项目名称:pleasure,代码行数:31,代码来源:PlayProject.java

示例7: getActions

import org.netbeans.spi.project.ui.support.CommonProjectActions; //导入方法依赖的package包/类
@Override
public Action[] getActions(boolean arg0) {
    return new Action[]{
        CommonProjectActions.newFileAction(),
        CommonProjectActions.copyProjectAction(),
        CommonProjectActions.deleteProjectAction(),
        CommonProjectActions.closeProjectAction()
    };
}
 
开发者ID:phaus,项目名称:netbeans-ansible,代码行数:10,代码来源:AnsibleProject.java

示例8: getActions

import org.netbeans.spi.project.ui.support.CommonProjectActions; //导入方法依赖的package包/类
@Override
public Action[] getActions(boolean arg0) {
    return new Action[]{
        //                    CommonProjectActions.newFileAction(),
        CommonProjectActions.copyProjectAction(),
        CommonProjectActions.deleteProjectAction(),
        CommonProjectActions.customizeProjectAction(),
        CommonProjectActions.closeProjectAction()
    };
}
 
开发者ID:Xianguang-Zhou,项目名称:netbeans-dlang-plugin,代码行数:11,代码来源:DlangProject.java

示例9: getActions

import org.netbeans.spi.project.ui.support.CommonProjectActions; //导入方法依赖的package包/类
@Override
public Action[] getActions(boolean arg0) {
    return new Action[]{
        CommonProjectActions.newFileAction(),
        CommonProjectActions.copyProjectAction(),
        CommonProjectActions.deleteProjectAction(),
        CommonProjectActions.closeProjectAction(),
        CommonProjectActions.customizeProjectAction(),
        //Added on top of tuitorial 
        CommonProjectActions.newProjectAction(),
        CommonProjectActions.setAsMainProjectAction()
    };
}
 
开发者ID:StanWarford,项目名称:BaciBeans,代码行数:14,代码来源:BaciBeansProject.java

示例10: getActions

import org.netbeans.spi.project.ui.support.CommonProjectActions; //导入方法依赖的package包/类
@Override
public Action[] getActions(boolean arg0) {
    return new Action[]{
        CommonProjectActions.newFileAction(),
        CommonProjectActions.copyProjectAction(),
        CommonProjectActions.deleteProjectAction(),
        CommonProjectActions.closeProjectAction(),
        CommonProjectActions.customizeProjectAction()
    };
}
 
开发者ID:daimor,项目名称:NBStudio,代码行数:11,代码来源:CacheProjectLogicalView.java

示例11: getActions

import org.netbeans.spi.project.ui.support.CommonProjectActions; //导入方法依赖的package包/类
@Override
public Action[] getActions(boolean arg0) {
    return new Action[]{
                CommonProjectActions.newFileAction(),
                CommonProjectActions.copyProjectAction(),
                CommonProjectActions.deleteProjectAction(),
                CommonProjectActions.closeProjectAction()
            };
}
 
开发者ID:WallRushGO,项目名称:NetBeans-C5,代码行数:10,代码来源:SiteProjectLogicalView.java


注:本文中的org.netbeans.spi.project.ui.support.CommonProjectActions.deleteProjectAction方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。