|
org.netbeans.modules.projectuiapi/1 1.24.0 6 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
See:
Description
Project UI API | |
---|---|
org.netbeans.api.project.ui | |
org.netbeans.spi.project.ui | Ability to provide a tailored UI for a project. |
org.netbeans.spi.project.ui.support | Helpful UI support classes for general projects. |
org.netbeans.spi.project.ui.templates.support | 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.
LookupMerger
implementation for ProjectOpenedHook
New method UILookupMergerSupport.createProjectOpenHookMerger(ProjectOpenedHook)
creates an instance of
LookupMerger
that ensures that from the ProjectOpenedHook
instances in project's lookup, the
project's own is always called first.
project.license
Added the template attribute project.license
for templates using scripting language.
Allow to define UI component for non-leaf category node in project customizer by setting name of the file in folder on layer filesystem. If there is a category with some subcategories and UI component is needed for the category, the folder that defines the category in layer needs to contain file with name 'Self.instance'. Instance of the file will be used to create customizer component for the category.
Allow to attach a listener to ProjectCustomizer.Category
that will notify the Category
and it's panel that the changes ought to be applied. This is generally useful as a fallback, general
solution for 3rd party plugging into the project customizer in case the given project type doesn't provide
model-driven project updating mechanism.
Added OpenProjects.PROPERTY_MAIN_PROJECT
property and firing changes in main project property value
to listeners attached to OpenProjects.
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.
|
org.netbeans.modules.projectuiapi/1 1.24.0 6 | |||||||||
PREV NEXT | FRAMES NO FRAMES |