| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <meta http-equiv="Content-Language" content="en-us" /> |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> |
| <link rel="stylesheet" href="default_style.css" type="text/css" title="main" media="screen" /> |
| <title>Eclipse Project 4.5 M7 News</title> |
| </head> |
| <body> |
| <h1>Eclipse Project 4.5 M7 - New and Noteworthy</h1> |
| <p>Here are some of the more noteworthy things available in the Mars milestone build M7 (2015-05-01) |
| which is now available for <a href="http://download.eclipse.org/eclipse/downloads/#4.5_Stable_Build" target="_top">download</a>. |
| <br/> |
| We also recommend to read the Tips and Tricks, either via <b>Help > Tips and Tricks...</b> or online for |
| <a href="http://help.eclipse.org/topic/org.eclipse.platform.doc.user/tips/platform_tips.html">Platform</a>, |
| <a href="http://help.eclipse.org/topic/org.eclipse.jdt.doc.user/tips/jdt_tips.html">JDT</a>, and |
| <a href="http://help.eclipse.org/topic/org.eclipse.pde.doc.user/tips/pde_tips.htm">PDE</a>. |
| </p> |
| |
| <ul> |
| <li><a href="#Platform">Platform</a></li> |
| <li><a href="#JDT">JDT</a></li> |
| <li><a href="#PDE">PDE</a></li> |
| </ul> |
| |
| <table class="news" border="0" cellpadding="10" cellspacing="0" width="80%"> |
| |
| <tr> |
| <td colspan="2" class="section" id="Platform">Platform</td> |
| </tr> |
| |
| <tr id="open-with-dialog"> |
| <td class="title">Improved "Open With..." dialog</td> |
| <td class="content"> |
| The <b>Open With > Other...</b> dialog now has |
| <ul> |
| <li>a filter field</li> |
| <li>options to remember the selected editor as default for the selected file name or type</li> |
| </ul> |
| <p> |
| <img src="images/open-with-dialog-improved.png" alt=""/> |
| </p> |
| </td> |
| </tr> |
| |
| <tr id="open-resource-duplicates"> |
| <td class="title">"Open Resource" dialog can now filter duplicate resources.</td> |
| <td class="content"> |
| With the new <a href="../M5/index.html#nested-projects">Hierarchical view in the Project Explorer</a>, it has |
| become more frequent to have multiple workspace projects with overlapping resource trees. |
| The <b>Open Resource</b> dialog has been enriched with a new option to allow hiding entries that |
| reference the same underlying resource, and to show only the most relevant. |
| <p> |
| <img src="images/openresource-before-filter.png" alt=""/> |
| </p> |
| <p> |
| <img src="images/openresource-after-filter.png" alt=""/> |
| </p> |
| </td> |
| </tr> |
| |
| <tr id="e4tools-integration"> |
| <td class="title">e4 tools integrated into Eclipse platform</td> |
| <td class="content"> |
| Parts of the e4 tools have been integrated into the Eclipse platform project. Mainly the Eclipse 4 application |
| model editor and related wizards are now directly available via the Eclipse update site. The e4 project wizard has been |
| integrated into PDE, see the PDE section for more information. |
| <p> |
| <img src="images/updatesitee4tools.png" alt=""/> |
| </p> |
| </td> |
| </tr> |
| <tr id="xpath"> |
| <td class="title">XPath expressions for parent element ID in Model Fragments</td> |
| <td class="content"> |
| When specifying the target for a fragment contribution, you can now use an |
| XPath expression or a comma-separated list of element IDs instead of a single |
| element ID. |
| <p>The XPath expression uses JXPath internally, so it should reference attributes of the model object, |
| not the XML file.</p> |
| <p>These 2 samples are equivalent:</p> |
| <code>parentElementId="MyMenu1, MyMenu2"</code> |
| <br /> |
| <code>parentElementId="xpath://*[@elementId='MyMenu1' or @elementId='MyMenu2']"</code> |
| <p>This feature opens up the possibility to:</p> |
| <ol> |
| <li>Add a fragment to multiple places in a model</li> |
| <li>Target a fragment to multiple application models</li> |
| <li>Specify attributes (such as tags) as the target</li> |
| </ol> |
| </td> |
| </tr> |
| |
| <tr id="e4model-icons-displayed"> |
| <td class="title">Icons are displayed in model editor and model spy</td> |
| <td class="content"> |
| If an Icon URI is defined, it is now displayed in the model editor and in the model spy: |
| <p> |
| <img src="images/model-editor-icons.png" alt=""/> |
| </p> |
| </td> |
| </tr> |
| |
| <tr id="default-darkthemecss-forms"> |
| <td class="title">Better CSS support for Forms-based editors</td> |
| <td class="content"> |
| CSS support for Forms-based editors has been improved. The dark theme included in the Eclipse SDK |
| takes advantages of that, as depicted in the following screenshot: |
| <p> |
| <img src="images/formheader.png" alt=""/> |
| </p> |
| </td> |
| </tr> |
| |
| <tr id="default-darkthemecss-heapmonitor"> |
| <td class="title">Heap Monitor can be styled, dark theme uses that</td> |
| <td class="content"> |
| The heap monitor has been extended to allow to set its background color, and the dark theme uses that. The following |
| screenshot show the heap monitor after the change. |
| <p> |
| <img src="images/heap-after.png" alt=""/> |
| </p> |
| </td> |
| </tr> |
| |
| <tr> |
| <td colspan="2" class="section" id="JDT">JDT</td> |
| </tr> |
| |
| <tr id="new-jdticons"> |
| <td class="title">New icon set in JDT</td> |
| <td class="content"> |
| The JDT project now uses png icons to render better with a dark theme. The following screenshot shows a few |
| example icons, on the left side is the old gif icon, on the right side the new png icon. |
| <p> |
| <img src="images/jdt-iconsexample.png" alt=""/> |
| </p> |
| </td> |
| </tr> |
| |
| |
| |
| <tr id="junit-view-filter-to-show-skipped-tests-only"> |
| <td class="title">Show skipped tests only in JUnit view</td> |
| <td class="content"> |
| The JUnit view now has a filter to show only the skipped (ignored or assumption failed) tests: |
| <p> |
| <img src="images/junit-view-filter-to-show-skipped-tests-only.png" alt=""/> |
| </p> |
| </td> |
| </tr> |
| |
| <tr id="add-remove-parentheses-around-lambda-parameter"> |
| <td class="title">Add and remove parentheses around lambda parameter</td> |
| <td class="content"> |
| New <b>Quick Assists (Ctrl+1)</b> have been added to add and remove the parentheses around lambda parameter: |
| <p> |
| <img src="images/add-remove-parentheses-around-lambda-parameter.png" alt=""/> |
| </p> |
| </td> |
| </tr> |
| |
| <tr id="new-java-editor-templates"> |
| <td class="title">New Java editor templates</td> |
| <td class="content"> |
| New templates (try_finally, finally, lock) have been added to insert commonly occurring patters in concurrent programming: |
| <p> |
| <img src="images/new-java-editor-templates.png" alt="" /> |
| </p> |
| </td> |
| </tr> |
| |
| <tr id="more-precise-flow-analysis"> |
| <td class="title">More precise flow analysis</td> |
| <td class="content"> |
| Flow analysis, as performed by the compiler to warn the user about potential programming problems, |
| has been made smarter. Some examples are: |
| <ul> |
| <li>Leverage knowledge that auto-boxing always produces a non-null value.</li> |
| <li>Leverage knowledge that certain compiler-generated methods - like <code>valueOf()</code> and <code>values()</code> on enum types - provide non-null values.</li> |
| <li>Various improvements in resource leak analysis.</li> |
| </ul> |
| </td> |
| </tr> |
| |
| <tr id="annotations-in-hover"> |
| <td class="title">Render all annotations in Javadoc hovers</td> |
| <td class="content"> |
| Javadoc hovers can now render all annotations, including type annotations (having a <code>TYPE_USE</code> target). |
| <p> |
| In particular, working with <a href="../M6/index.html#external-annotations">external annotations</a> |
| benefits from this feature, as the Javadoc hover now shows these external annotations as well, thus providing the |
| attached information right where it is needed. Also the Javadoc view is able to show the same information. |
| </p> |
| <p> |
| Javadoc hover after having applied the <a href="../M6/index.html#annotate-command">Annotate</a> command for the return type of <code>Map.get()</code>: |
| </p> |
| <p> |
| <img src="images/annotations-in-hover.png" alt=""/> |
| </p> |
| <p> |
| As of Eclipse 4.5, this feature is only enabled in projects that are configured for annotation-based null analysis. |
| </p> |
| </td> |
| </tr> |
| |
| <tr> |
| <td colspan="2" class="section" id="PDE">PDE</td> |
| </tr> |
| |
| <tr id="e4Template"> |
| <td class="title">Create an E4 project from "New Plug-in" wizard</td> |
| <td class="content"> |
| It is now possible to create an E4 project using the <b>New Plug-in Project</b> wizard. |
| Select <b>This plug-ins will make contributions to the UI</b> and <b>create a rich client application</b>: |
| <p> |
| <img src="images/e4-template-step-1.png" alt="" /> |
| </p> |
| <p> |
| On the next page will get a template to create an E4 project: |
| </p> |
| <p> |
| <img src="images/e4-template-step-2.png" alt="" /> |
| </p> |
| <p> |
| Then you can select to generate some sample content: |
| </p> |
| <p> |
| <img src="images/e4-template-step-3.png" alt="" /> |
| </p> |
| <p> |
| And you get your E4 project in your workspace: |
| </p> |
| <p> |
| <img src="images/e4-template-result.png" alt="" /> |
| </p> |
| </td> |
| </tr> |
| |
| <tr id="apibaselinefromtarget"> |
| <td class="title">Create an API Baseline from a Target Definition</td> |
| <td class="content"> |
| API Baselines can now be created from a target definition in the |
| <b>Plug-in Development > API Baselines</b> preference page. |
| </td> |
| </tr> |
| |
| <tr> |
| <td colspan="2"/> |
| </tr> |
| </table> |
| <p>The above features are just the ones that are new since the previous milestone |
| build. Summaries for earlier Mars milestone builds:</p> |
| <ul> |
| <li><a href="https://www.eclipse.org/eclipse/news/4.5/M6/">News for Eclipse Mars milestone build M6</a></li> |
| <li><a href="https://www.eclipse.org/eclipse/news/4.5/M5/">News for Eclipse Mars milestone build M5</a></li> |
| <li><a href="https://www.eclipse.org/eclipse/news/4.5/M4/">News for Eclipse Mars milestone build M4</a></li> |
| <li><a href="https://www.eclipse.org/eclipse/news/4.5/M3/">News for Eclipse Mars milestone build M3</a></li> |
| <li><a href="https://www.eclipse.org/eclipse/news/4.5/M2/">News for Eclipse Mars milestone build M2</a></li> |
| <li><a href="https://www.eclipse.org/eclipse/news/4.5/M1/">News for Eclipse Mars milestone build M1</a></li> |
| </ul> |
| </body> |
| </html> |