简体   繁体   English

netbeans插件的入口在哪里?

[英]Where is the entry point of a netbeans plugin?

I made a plugin in netbeans and I have a class which is actually an abstract action. 我在netbeans中制作了一个插件,并且有一个类实际上是一个抽象动作。 I think this is the action which connects the ui of the plugin, but it's not that point which I need. 我认为这是连接插件的ui的动作,但这不是我需要的重点。

There are a lot of entry points of a NetBeans Plugin, it depends what your plugin does, you could NetBeans插件有很多入口点,这取决于您插件的功能,您可以

  • Add an action at some point of the UI 在用户界面的某个位置添加操作
  • Add a cookie (node action) 添加Cookie(节点操作)
  • Adding a file type, so you could open a self-implemented editor 添加文件类型,以便您可以打开一个自我实现的编辑器
  • Include a ModuleInstall (similar to a BundleActivator in OSGi), so it would do something when NetBeans starts up 包括一个ModuleInstall(类似于OSGi中的BundleActivator),因此它将在NetBeans启动时执行某些操作
  • Implement your own project type 实施自己的项目类型
  • Register some other services that are provided by other plugins 注册其他插件提供的其他一些服务

You should provide a lot more information, if you want a specific answer. 如果您需要特定的答案,则应提供更多信息。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM