本文整理汇总了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;
}
示例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;
}
示例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()
};
}
示例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;
}
示例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;
}
示例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()
};
}
示例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()
};
}
示例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()
};
}
示例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()
};
}
示例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()
};
}
示例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()
};
}