[英]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.