Hi Jim, Can you check whether your mediator InputConnector and OutputConnector are set at the EsbFactoryImpl class, as at [1] <https://github.com/wso2/devstudio-tooling-esb/blob/master/plugins/org.wso2.developerstudio.eclipse.gmf.esb/src/org/wso2/developerstudio/eclipse/gmf/esb/impl/EsbFactoryImpl.java#L1470> ?
[1] - https://github.com/wso2/devstudio-tooling-esb/blob/master/plugins/org.wso2.developerstudio.eclipse.gmf.esb/src/org/wso2/developerstudio/eclipse/gmf/esb/impl/EsbFactoryImpl.java#L1470 Best Regards, Prabushi ---------- Forwarded message --------- From: Jim Passmore <[email protected]> Date: Tue, Oct 8, 2019 at 9:54 PM Subject: RE: Extending the WSO2 workbench To: Prabushi Samarakoon <[email protected]> Thank you so much for the links. This has helped me tremendously. I had figured most of this out, but the Blogs verified that and I picked up a few details I had missed. I am now trying to drop my new Mediator on a canvas and battling more errors. Looks like I am getting class loader problems with org.eclipse.emf.eef.runtime.impl/utils.EEFUtils. Is there a trick for that? Like a modification to the Run Configuration. I can drop my base Mediators (like LogMediator) on the canvas with no problems, but my new Mediator doesn’t have an InputConnector or OutputConnector. I have tweaked the EditParts for the Mediator and the Input and Output connectors. Thanks for you help so far and I appreciate any other tips or tricks you can throw my way once I start modifying the Java classes. *From:* Prabushi Samarakoon <[email protected]> *Sent:* Friday, October 4, 2019 2:14 PM *To:* Jim Passmore <[email protected]> *Subject:* Re: Extending the WSO2 workbench Hi Jim, Sorry about the deployed response. On Sat, Sep 28, 2019 at 8:32 PM Jim Passmore <[email protected]> wrote: I’ve enjoyed some of your content on the WSO2 web sites. I also noticed that you customized the WSO2 Integration Workbench by adding a Custom Mediator. Our team has been looking into extending and customizing devstudio-tooling-esb. We require some custom widgets for our products and we are heavily reliant on WSO2 ESB. I am aware of and have been successful in building a custom ClassMediator by extending the AbstractMediator and adding it to a flow. Our team leader wants a custom drawer ( similar to Mediators and Endpoints) to contain our custom branded widgets. I have loaded up the source code into an Eclipse environment by following this excellent post <https://medium.com/@viraj.rajaguru/how-to-setup-development-environment-for-wso2-esb-tooling-ac0d6a1faa03> . I am able to locate the model in the eclipse.gmf.esb plugin and I think I can see how to add custom widgets/mediators to the model and generate new classes. I have added code to the EsbPaletteFactory to add the custom drawer. I am trying to use the GMF Dashboard to Derive the esb.gmfgraph and esb.gmftool with my new widget. That seems to work. What I cannot figure out is how to “Combine” the models to get a new or updated esb.gmfmap so that I can transform the gmfmap to the esb.gmfgen ( to ultimately generate the code for our custom extended workbench). I cannot find a way to pick the proper selections on the combine to make my new gmfmap look correct with the proper Child References and Links. Do you guys use the GMF Dashboard to generate new models when you make changes like this? Or do you try to modify the gmfmap directly? We usually edit the gmfmap directly, instead of using the GMF dashboard. Thanks in advance if you can take the time to give me a couple of tips on moving this forward. I would greatly appreciate the tips. I hope the following blogs will be helpful for your way forward. [1] - https://medium.com/wso2-enterprise-integrator-wso2-dev-studio-wso2/developing-the-gmf-model-to-add-a-new-mediator-in-wso2-ei-tooling-part-1-8d90532c5cb5 [2] - https://medium.com/wso2-enterprise-integrator-wso2-dev-studio-wso2/developing-the-gmf-model-to-add-a-new-mediator-in-wso2-ei-tooling-part-2-395e5d2a0721 [3] - https://medium.com/@praveennadarajah/developing-the-gmf-model-to-add-a-new-mediator-in-wso2-ei-tooling-part-3-3e3e07d59fb7 [4] - https://medium.com/@praveennadarajah/developing-the-gmf-model-to-add-a-new-mediator-in-wso2-ei-tooling-part-4-8c569fe4df62 [5] - https://medium.com/@praveennadarajah/developing-the-gmf-model-to-add-a-new-mediator-in-wso2-ei-tooling-part-5-5eb3151dfff3 [6] - https://medium.com/@praveennadarajah/developing-the-gmf-model-to-add-a-new-mediator-in-wso2-ei-tooling-part-6-30ea47632b62 Thanks & Regards, Prabushi -- *Prabushi Samarakoon* Mobile: +94715434580 Email: [email protected] [image: Image removed by sender.] -- *Prabushi Samarakoon* Mobile: +94715434580 Email: [email protected]
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
