Search code examples
eclipse-plugineclipse-rcpe4

Searching in Eclipse e4xmi editor


Is there a way how to search in Eclipse E4XMI editor, preferably by elementId?

Example: Searching for com.example.e4.rcp.todo.popupmenu.table, from Lars Vogel's sample Todo application. I am looking for any tool that would take me quickly from here:

enter image description here

to here:

enter image description here

Even for a small sample application it is laborious process, especially for anyone in process of mastering PDE.

The form tab does not provide any visible search field. The list tabs provides two filter controls but none of them seems to find my sample element ID.

The XMI tab, the raw XML, has a search bar, but it's buggy. After some struggle I was able to locate the element there, hooray, but there is no link back to form, for more comfortable editing.


Solution

  • On the 'List' tab of the e4xmi editor you can click on the 'elementId' column header to get the elements sorted by id which should make it easy to find the element you want.

    Clicking on the first column (labelled 'Go') will take you to the element in the 'Form' tab.