Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions news/4.35/platform.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,25 @@ <h2>General Updates </h2>
</td>
</tr>

<tr id="e4-xpath-revised">
<!-- https://github.com/eclipse-platform/eclipse.platform.ui/issues/423
https://github.com/eclipse-platform/eclipse.platform.ui/pull/2290
https://github.com/eclipse-platform/eclipse.platform.ui/pull/2789 -->
<td class="title">E4 XPath supported reimplemented and revised</td>
<td class="content">
<p>
The <em>XPath</em> support of Eclipse E4 (i.e. the Plug-in <code>org.eclipse.e4.emf.xpath</code>) has been reimplemented to be purely based on <code>javax.xml.xpath.XPath</code> provided by the Java standard library.
This enabled the removal of <em>Apache Commons JXPath</em> as a dependency of the Eclipse SDK (and due to joint efforts even of the entire Eclipse Simultaneous Release).
</p>
<p>
Furthermore it has been determined that the <code>XPathContext</code> API provided by the <code>org.eclipse.e4.emf.xpath</code> Plug-in is mostly unused among all Plug-ins of the Eclipse Simultaneous Release.
Therefore the entire <code>org.eclipse.e4.emf.xpath</code> Plug-in and all contained APIs have been marked as deprecated and for removal in a future release.
As a replacement, to query an E4 model using <em>XPath</em> from code, one new method has been added:<br/>
<code>EModelService.findMatchingElements(MApplicationElement searchRoot, String xPath, Class&lt;T&gt; clazz)</code>
</p>
</td>
</tr>

<!-- ******************* End of General Updates ************************************* -->
<tr><td colspan="2"/></tr>
</tbody>
Expand Down