This document lists changes made to the Project API.
Fuller descriptions of all changes can be found below (follow links).
Not all deprecations are listed here, assuming that the deprecated APIs continue to essentially work. For a full deprecation list, please consult the Javadoc.
These API specification versions may be used to indicate that a module requires a certain API feature in order to function. For example, if you see here a feature you need which is labelled 1.20, your manifest should contain in its main attributes the line:
OpenIDE-Module-Module-Dependencies: org.netbeans.modules.projectapi/1 > 1.20
org.netbeans.spi.project.LookupMerger
org.netbeans.spi.project.LookupProvider
org.netbeans.spi.project.support.LookupProviderSupport
org.netbeans.spi.project.ProjectConfiguration
org.netbeans.spi.project.ProjectConfigurationProvider
LookupProvider
LookupMerger
LookupProviderSupport
; made by: mkleint; issues:
#83343
Added interfaces and support classes that can be used to compose the project's lookup
from multiple 3rd party sources. Framework for creating merged instances included.
LookupMerger
implementation for Sources
added.
ProjectConfiguration
ProjectConfigurationProvider
; made by: jglick; issues:
#49652
Added an interface ProjectConfigurationProvider
which can be included in a project's lookup to support
switchable configurations / profiles.
Introduced:
New method notifyDeleted
added to ProjectState
.
Interfaces DataFilesProviderImplementation, DeleteOperationImplementation, CopyOperationImplementation, MoveOperationImplementation has
been added to support project delete/copy/rename/move.
Support class ProjectOperations has been added to simplify operations on compound projects.
It is possible to register owner of an individual file using FileOwnerQuery.markExternalOwner
.
It is possible to register owner of a folder or file using URI, so the folder or file does not
have to exist at the time of registration.
This changes add a new method FileOwnerQuery.markExternalOwner(URI, FileObject, int)
,
and also extends sematics of the existing
FileOwnerQuery.markExternalOwner(FileObject, FileObject, int)
method to allow registration
of individual files.
To indicate that this is now considered a stable API, the major release version was incremented to 1 from 0.
Clients should begin requesting the new version to avoid a warning at startup.
Built on May 28 2007. | Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.