简体   繁体   English

编写Netbeans插件模块时如何将操作添加到项目节点

[英]How do I add an Action to a Project Node when writing a Netbeans plugin module

I want to write a Netbeans plugin to allow the running of gulp.js tasks from a context menu on the project node. 我想编写一个Netbeans插件,以允许从项目节点上的上下文菜单运行gulp.js任务。

How do I add extra items (Actions) to a Project node? 如何向项目节点添加额外的项目(操作)? I can't find anything in the docs. 我在文档中找不到任何内容。

Register your action as shown in http://wiki.netbeans.org/DevFaqActionAddProjectPopUp ? 注册您的操作,如http://wiki.netbeans.org/DevFaqActionAddProjectPopUp中所示? IIRC there is also a way to add the action to a specific project type. IIRC还有一种将操作添加到特定项目类型的方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在netbeans 7中,如何在构建maven项目时跳过测试并添加maven附加参数? - In netbeans 7 how do I skip testing and add maven additional parameters when building a maven project? 如何将Netbeans向导模块添加到自己的项目? - How to add a Netbeans Wizard module to own project? 如何将LWJGL 3.1.1添加到netbeans以在Java项目中使用? - How do I add LWJGL 3.1.1 to netbeans to use in a Java project? 如何在Netbeans Platform项目中使用ServiceLoader添加SPI - How do I use ServiceLoader in a Netbeans Platform project to add SPIs 如何在NetBeans平台项目(插件)中正确处理文件保存 - How do I handle file saves properly in NetBeans platform project (plugin) 我在NetBeans平台上开发插件时如何调用打开的项目窗口? - How it is possible to call open project window when i develop plugin in netbeans platform? 如何在netbeans中的现有GWT项目中引用另一个GWT模块? - How do I reference another GWT module within an existing GWT project within netbeans? Netbeans:如何更改项目名称? - Netbeans: how do I change the name of a project? 如何向 netbeans 项目授予“全部”权限? | netbeans 8.2 - How do I grant 'all' permissions to a netbeans project? | netbeans 8.2 如何告诉netbeans gradle插件将生成的源文件添加到Source Packages? - How do I tell the netbeans gradle plugin to add generated source files to Source Packages?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM