|
|||||||||||
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.
Added getMainProject
and setMainProject
methods to OpenProjects.
Introduced:
CommonProjectActions.deleteProjectAction
, CommonProjectActions.copyProjectAction
,
CommonProjectActions.moveProjectAction
, CommonProjectActions.removeProjectAction
methods.DefaultProjectOperations
support to simplify implementation of project delete/copy/rename/move for simple projects.
Added ProjectCustomizer.Category.setErrorMessage
and
ProjectCustomizer.Category.getErrorMessage
methods. With those methods client can set an error message
for individual categories.
Also the default implementation of a customizer dialog uses
these methods for showing a message on the bottom of
category views and to mark category nodes for invalid
categories (similar to the error message in wizards).
Added ProjectCustomizer.Category.setValid
and
ProjectCustomizer.Category.isValid
methods.
With those methods client can affect whether the OK button
of the Customizer dialog is enabled.
Introduced:
CommonProjectActions.newProjectAction
methodCommonProjectActions.EXISTING_SOURCES_FOLDER
propertyTemplates.getExistingSourcesFolder
methodThe 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.
|
OpenIDE-Module-Module-Dependencies: org.netbeans.modules.projectuiapi/1 > ${OpenIDE-Module-Specification-Version}
Read more about the implementation in the answers to architecture questions.
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |