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


Java ProjectSensitiveActions.projectCommandAction方法代码示例

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


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

示例1: getActions

import org.netbeans.spi.project.ui.support.ProjectSensitiveActions; //导入方法依赖的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

示例2: buildZip

import org.netbeans.spi.project.ui.support.ProjectSensitiveActions; //导入方法依赖的package包/类
@ActionID(category="Project", id="org.netbeans.modules.apisupport.project.suite.buildZip")
@ActionRegistration(displayName="#SUITE_ACTION_zip", lazy=false)
@ActionReference(path=SUITE_PACKAGE_ACTIONS_PATH, position=100)
@Messages("SUITE_ACTION_zip=ZIP Distribution")
public static Action buildZip() {
    return ProjectSensitiveActions.projectCommandAction(COMMAND_BUILD_ZIP, SUITE_ACTION_zip(), null);
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:8,代码来源:SuiteActions.java

示例3: nbms

import org.netbeans.spi.project.ui.support.ProjectSensitiveActions; //导入方法依赖的package包/类
@ActionID(category="Project", id="org.netbeans.modules.apisupport.project.suite.nbms")
@ActionRegistration(displayName="#SUITE_ACTION_nbms", lazy=false)
@ActionReference(path=SUITE_PACKAGE_ACTIONS_PATH, position=200)
@Messages("SUITE_ACTION_nbms=NBMs")
public static Action nbms() {
    return ProjectSensitiveActions.projectCommandAction(COMMAND_NBMS, SUITE_ACTION_nbms(), null);
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:8,代码来源:SuiteActions.java

示例4: buildMac

import org.netbeans.spi.project.ui.support.ProjectSensitiveActions; //导入方法依赖的package包/类
@ActionID(category="Project", id="org.netbeans.modules.apisupport.project.suite.buildMac")
@ActionRegistration(displayName="#SUITE_ACTION_mac", lazy=false)
@ActionReference(path=SUITE_PACKAGE_ACTIONS_PATH, position=300)
@Messages("SUITE_ACTION_mac=Mac OS X Application")
public static Action buildMac() {
    return ProjectSensitiveActions.projectCommandAction(COMMAND_BUILD_MAC, SUITE_ACTION_mac(), null);
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:8,代码来源:SuiteActions.java

示例5: buildJnlp

import org.netbeans.spi.project.ui.support.ProjectSensitiveActions; //导入方法依赖的package包/类
@ActionID(category="Project", id="org.netbeans.modules.apisupport.project.suite.buildJnlp")
@ActionRegistration(displayName="#SUITE_ACTION_build_jnlp", lazy=false)
@ActionReference(path=SUITE_JNLP_ACTIONS_PATH, position=100)
@Messages("SUITE_ACTION_build_jnlp=Build")
public static Action buildJnlp() {
    return ProjectSensitiveActions.projectCommandAction(COMMAND_BUILD_JNLP, SUITE_ACTION_build_jnlp(), null);
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:8,代码来源:SuiteActions.java

示例6: runJnlp

import org.netbeans.spi.project.ui.support.ProjectSensitiveActions; //导入方法依赖的package包/类
@ActionID(category="Project", id="org.netbeans.modules.apisupport.project.suite.runJnlp")
@ActionRegistration(displayName="#SUITE_ACTION_run_jnlp", lazy=false)
@ActionReference(path=SUITE_JNLP_ACTIONS_PATH, position=200)
@Messages("SUITE_ACTION_run_jnlp=Run")
public static Action runJnlp() {
    return ProjectSensitiveActions.projectCommandAction(COMMAND_RUN_JNLP, SUITE_ACTION_run_jnlp(), null);
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:8,代码来源:SuiteActions.java

示例7: debugJnlp

import org.netbeans.spi.project.ui.support.ProjectSensitiveActions; //导入方法依赖的package包/类
@ActionID(category="Project", id="org.netbeans.modules.apisupport.project.suite.debugJnlp")
@ActionRegistration(displayName="#SUITE_ACTION_debug_jnlp", lazy=false)
@ActionReference(path=SUITE_JNLP_ACTIONS_PATH, position=300)
@Messages("SUITE_ACTION_debug_jnlp=Debug")
public static Action debugJnlp() {
    return ProjectSensitiveActions.projectCommandAction(COMMAND_DEBUG_JNLP, SUITE_ACTION_debug_jnlp(), null);
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:8,代码来源:SuiteActions.java

示例8: buildOsgi

import org.netbeans.spi.project.ui.support.ProjectSensitiveActions; //导入方法依赖的package包/类
@ActionID(category="Project", id="org.netbeans.modules.apisupport.project.suite.buildOsgi")
@ActionRegistration(displayName="#SUITE_ACTION_build_osgi", lazy=false)
@ActionReference(path=SUITE_OSGI_ACTIONS_PATH, position=100)
@Messages("SUITE_ACTION_build_osgi=Build Bundles")
public static Action buildOsgi() {
    return ProjectSensitiveActions.projectCommandAction(COMMAND_BUILD_OSGI, SUITE_ACTION_build_osgi(), null);
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:8,代码来源:SuiteActions.java

示例9: buildOsgiObr

import org.netbeans.spi.project.ui.support.ProjectSensitiveActions; //导入方法依赖的package包/类
@ActionID(category="Project", id="org.netbeans.modules.apisupport.project.suite.buildOsgiObr")
@ActionRegistration(displayName="#SUITE_ACTION_build_osgi_obr", lazy=false)
@ActionReference(path=SUITE_OSGI_ACTIONS_PATH, position=200)
@Messages("SUITE_ACTION_build_osgi_obr=Build Bundle Repository")
public static Action buildOsgiObr() {
    return ProjectSensitiveActions.projectCommandAction(COMMAND_BUILD_OSGI_OBR, SUITE_ACTION_build_osgi_obr(), null);
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:8,代码来源:SuiteActions.java

示例10: runOsgi

import org.netbeans.spi.project.ui.support.ProjectSensitiveActions; //导入方法依赖的package包/类
@ActionID(category="Project", id="org.netbeans.modules.apisupport.project.suite.runOsgi")
@ActionRegistration(displayName="#SUITE_ACTION_run_osgi", lazy=false)
@ActionReference(path=SUITE_OSGI_ACTIONS_PATH, position=300)
@Messages("SUITE_ACTION_run_osgi=Run in Felix")
public static Action runOsgi() {
    return ProjectSensitiveActions.projectCommandAction(COMMAND_RUN_OSGI, SUITE_ACTION_run_osgi(), null);
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:8,代码来源:SuiteActions.java

示例11: debugOsgi

import org.netbeans.spi.project.ui.support.ProjectSensitiveActions; //导入方法依赖的package包/类
@ActionID(category="Project", id="org.netbeans.modules.apisupport.project.suite.debugOsgi")
@ActionRegistration(displayName="#SUITE_ACTION_debug_osgi", lazy=false)
@ActionReference(path=SUITE_OSGI_ACTIONS_PATH, position=400)
@Messages("SUITE_ACTION_debug_osgi=Debug in Felix")
public static Action debugOsgi() {
    return ProjectSensitiveActions.projectCommandAction(COMMAND_DEBUG_OSGI, SUITE_ACTION_debug_osgi(), null);
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:8,代码来源:SuiteActions.java

示例12: branding

import org.netbeans.spi.project.ui.support.ProjectSensitiveActions; //导入方法依赖的package包/类
@ActionID(category="Project", id="org.netbeans.modules.apisupport.project.suite.branding")
@ActionRegistration(displayName="#SUITE_ACTION_branding", lazy=false)
@ActionReference(path=SUITE_ACTIONS_PATH, position=2700)
@Messages("SUITE_ACTION_branding=Branding...")
public static Action branding() {
    return ProjectSensitiveActions.projectCommandAction(COMMAND_BRANDING, SUITE_ACTION_branding(), null);
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:8,代码来源:SuiteActions.java

示例13: createNbm

import org.netbeans.spi.project.ui.support.ProjectSensitiveActions; //导入方法依赖的package包/类
@ActionID(category="Project", id="org.netbeans.modules.apisupport.project.createNbm")
@ActionRegistration(displayName="#ACTION_nbm", lazy=false)
@ActionReference(path=MODULE_ACTIONS_PATH, position=1600)
@Messages("ACTION_nbm=Create NBM")
public static Action createNbm() {
    return ProjectSensitiveActions.projectCommandAction(COMMAND_NBM, ACTION_nbm(), null);
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:8,代码来源:ModuleActions.java

示例14: createReloadAction

import org.netbeans.spi.project.ui.support.ProjectSensitiveActions; //导入方法依赖的package包/类
@ActionID(id = "org.netbeans.modules.maven.apisupport.NBMReload", category = "Project")
@ActionRegistration(displayName = "#ACT_NBM_Reload", lazy=false)
@ActionReference(position = 1250, path = "Projects/org-netbeans-modules-maven/Actions")
@Messages("ACT_NBM_Reload=Install/Reload in Development IDE")
public static Action createReloadAction() {
    Action a = ProjectSensitiveActions.projectCommandAction(NBMRELOAD, ACT_NBM_Reload(), null);
    a.putValue(DynamicMenuContent.HIDE_WHEN_DISABLED, true);
    return a;
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:10,代码来源:NbmActionGoalProvider.java

示例15: createReloadTargetAction

import org.netbeans.spi.project.ui.support.ProjectSensitiveActions; //导入方法依赖的package包/类
@ActionID(id = "org.netbeans.modules.maven.apisupport.NBMReloadTarget", category = "Project")
@ActionRegistration(displayName = "#ACT_NBM_Reload_Target", lazy=false)
@ActionReference(position = 1225, path = "Projects/org-netbeans-modules-maven/Actions")
@Messages("ACT_NBM_Reload_Target=Reload in Target Platform")
public static Action createReloadTargetAction() {
    Action a = ProjectSensitiveActions.projectCommandAction(RELOAD_TARGET, ACT_NBM_Reload_Target(), null);
    a.putValue(DynamicMenuContent.HIDE_WHEN_DISABLED, true);
    return a;
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:10,代码来源:NbmActionGoalProvider.java


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