简体   繁体   English

在WSO2 Developer Studio中开发API时,如何在Eclipse调色板中添加自定义介体?

[英]How do you add custom mediators to the eclipse palette when developing an API in WSO2 Developer Studio?

I am trying to customize the palette in eclipse to include items for custom mediators that I have written. 我正在尝试自定义eclipse中的调色板以包括我编写的自定义调解器的项目。 I have tried digging through the tooling source, but am unable to find the location of these configurations. 我尝试挖掘工具源,但是无法找到这些配置的位置。

Palette 调色板

Developer Studio is written on the Eclipse GMF framework. Developer Studio是在Eclipse GMF框架上编写的。 And, its properties view is implemented using the Eclipse EEF framework. 并且,其属性视图是使用Eclipse EEF框架实现的。 If we want to add a mediator onto the palette, we have to add its configuration into the ecore model, and generate respective models and codebase, accordingly. 如果要在面板上添加调解器,则必须将其配置添加到ecore模型中,并相应地生成相应的模型和代码库。 Please refer this , for more details. 请参考 ,了解更多详情。

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

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