Feature #1362

Updated by Sebastien Jacquot over 3 years ago

The corpora view should be able to manage commands added by extension.

h3. Solution 1

The extensions commands must :
* extend IAdaptable (to show a label and an icon)
* implement the "Function" interface and the
** override the openEditor() function to be openable with a double-click in the corpora View

The CorporaView must manage the "Function" objets and call their "openEditor" function

h3. Solution 2

Since the commands should not be linked to the UI a better approach is to use an AdapterFactory rather than implements IAdaptable. Then each command plug-in must add a double click selection listener to the CorporaView tree viewer.