Skip to content

How To Write A Bridge

Laurent Broudoux edited this page May 20, 2015 · 5 revisions

This page describe how to write a new designer bridge. "Designer Bridge" allows you to plug EIP Designer within another target designer such as we did for TOGAF Designer...

Create a new plugin

Write a PropertyTester

Write the ActionHandler

Extends com.github.lbroudoux.dsl.eip.bridge.core.ui.actions.AbstractCreateEIPRouteDesignActionHandler class and implement protected String checkEventCurrentSelection(ISelection currentSelection) and protected List<ServiceRefWrapper> extractServiceRefs() methods.

Customize plugin.xml

First declare a new command for describing the command to launch when activating bridge :

<extension point="org.eclipse.ui.commands">
  <command
        id="com.company.eip.bridge.mymodeler.command.createRouteDesign"
        name="Design an EIP Route">
  </command>
</extension>
Clone this wiki locally