Skip to content

Commit e5799ca

Browse files
committed
1 parent 6f86e86 commit e5799ca

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

news/4.35/platform.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,25 @@ <h2>General Updates </h2>
176176
</td>
177177
</tr>
178178

179+
<tr id="e4-xpath-revised">
180+
<!-- https://github.com/eclipse-platform/eclipse.platform.ui/issues/423
181+
https://github.com/eclipse-platform/eclipse.platform.ui/pull/2290
182+
https://github.com/eclipse-platform/eclipse.platform.ui/pull/2789 -->
183+
<td class="title">E4 XPath supported reimplemented and revised</td>
184+
<td class="content">
185+
<p>
186+
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.
187+
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).
188+
</p>
189+
<p>
190+
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.
191+
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.
192+
As a replacement, to query an E4 model using <em>XPath</em> from code, one new method has been added:<br/>
193+
<code>EModelService.findMatchingElements(MApplicationElement searchRoot, String xPath, Class&lt;T&gt; clazz)</code>
194+
</p>
195+
</td>
196+
</tr>
197+
179198
<!-- ******************* End of General Updates ************************************* -->
180199
<tr><td colspan="2"/></tr>
181200
</tbody>

0 commit comments

Comments
 (0)