Good morning friends,
Today I would like to show you, how you can set a specific editor to display a certain file type.
As you all may already know, the IBM Integration Designer (IID) is a development tool where you can use a Graphical User Interface to create and test your applications. For this GUI there is a set of editors available that will display your artifacts in a graphical view instead of a file view.
An example would be the mediation flow, which is opened with the "Mediation Flow Editor" by default when you open the flow.
So, you may run into situations where the view is not available, so the mediation flow might open in the XML file view. First attempt would be to open it from the context menu (BI view >> right click on your mediation flow name >> Open With >> Mediation Flow Editor). If you are as unlucky as I am, this option is not available, and the context menu looks like this:
How can I get my Mediation Flow Editor back? Well, it's not hard if you know how. And I am going to show you how.
All you need to do is to register the editor for the related file type again. In our case the mediation flow (associated to the .mfc file type).
To do so, click on Window >> Preferences and click on the little eraser icon to remove all filters.
Then click on General >> Editors >> File Associations
You will find a list of file types where you can associate the correct editor to the according selected file type.
In our example, we will select the file type .mfc. You will now see the editors in the "Associated editors" section. With the "Add..." button we can now add additional editors for this file type. And we will now add the 'Mediation Flow Editor".
All we need to do now is save our changed and go back to the BI view where we will open the context menu to verify the Mediation Flow Editor was added:
And we're there. It worked.
And if all of that does not help, take two of these and call me in the morning.
Your Doc D.