Ability to provide a tailored UI for a project.
Helpful UI support classes for general projects.
Support for providing own templates visible in New File... action.
The Project UI API provides some miscellaneous APIs and SPIs relating to the appearance and UI behavior of generic projects. Most importantly, it permits the customizer and logical view of a project to be defined.
Callbacks intended to let the Project UI module plug in implementations of APIs defined here. Uses implementation dependencies.
CustomizerProvider2 has been available so far in
requests have been made to move it to
projectuiapi, where its parent
CustomizerProvider resides, before
CustomizerProvider3 is defined.
For reasoning see Issue 229161.
When including license headers into templates, the only license templates from IDE's configuration were accessible.
Now templates can include new expression to set a path to a license template within the project's own space.
The new way to include license headers is
Project types need to provide their own way of defining the license template location and mapping it to project.licensePath item in
BuildExecutionSupport.ActionItem allows creating execution history lists at various places, currently the toolbar for Run action.
Added CommonProjectActions.PROJECT_PARENT_FOLDER constant that is respected by the
and the project's parent directory can be set that way.
Added a Close listener to ProjectCustomizer.Category to enable correct memory management when specific project properties are to be maintained while Project Properties dialog is displayed, containing various, possibly extended, categories. This is the case with JWSProjectProperties and JFXProjectProperties, where cleanup is needed at the time of dialog closing. The introduction of a Close listener here actually enables to deprecate J2SECustomPropertySaver interface and thus make the same mechanism available even outside J2SE projects.
The main use case is for project type providers to supply logical views and customizers for the project. Also for template providers to create project-aware file templates. Can also get a list of open projects, create different kinds of project-related actions, and select projects on disk.
Read more about the implementation in the answers to architecture questions.
Built on May 21 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.