Here are some of the more noteworthy things available in the Neon milestone build M2
which is now available for download.
We also recommend to read the Tips and Tricks, either via Help > Tips and Tricks... or online for
Platform,
JDT, and
PDE.
Platform | |
Search in binary files |
The Search > File... dialog has a new option to search in binary files as well.
|
Platform Developers | |
Tooltips on menu items for Eclipse 4 applications |
SWT introduced tooltips for menu items in the Eclipse Mars release. The default SWT renderers have been extended to support these tooltips on menu items, i.e., if
you enter them in your application model, they will be displayed.
|
Perspective becomes a handler container | In addition to windows and parts, perspectives can now also define handlers. Those handlers will get active when the containing perspective is active. As before, handlers of more deeply nested containers override less deeply nested ones, i.e., handlers defined for parts override handlers for perspectives, while the handlers for a perspective override the ones defined for the window. |
New Job creation methods |
Three new static methods for creating jobs have been added to
the org.eclipse.core.runtime.jobs.Job class. These methods are particularly
convenient with lambdas. For example, to do an asynchronous resource refresh, you can write:
IResource resource = ...; Job.create("Refreshing files", monitor -> resource.refreshLocal(IResource.DEPTH_INFINITE, monitor) ).schedule();If you want the job to be hidden from the user, you can write: IResource resource = ...; Job.createSystem( monitor -> resource.refreshLocal(IResource.DEPTH_INFINITE, monitor) ).schedule(); |
ICoreRunnable interface |
The job creation methods described above use the new
org.eclipse.core.runtime.ICoreRunnable functional interface. This interface is
functionally equivalent and is intended as a replacement for
org.eclipse.core.resources.IWorkspaceRunnable . All new code should use
ICoreRunnable instead of IWorkspaceRunnable .
|
Adding generics to Eclipse data binding | The org.eclipse.core.databinding.property and org.eclipse.core.databinding.observable plug-ins have been generified. Further generics work is planned for later milestones. |
PDE | |
Warnings for missing build entries for model fragments and the application model |
If an Eclipse 4 model fragment or application model file is not included in the build.properties file,
PDE will issue warnings.
|
The above features are just the ones that are new since the previous milestone build. Summaries for earlier Neon milestone builds: