Overview

# Introduction

This document lists changes made to the Project API.

# Index of APIs

- Project API

# Incompatible changes by date

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.

# All changes by date

- (Aug 22 '05) Added support for project delete/copy/rename/move
- (May 27 '05) The FileOwnerQuery.markExternalOwner allows registration of individal files and URIs
- (Dec 22 '04) Switched to major release version 1

# Changes by version

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

- (1.7) Added support for project delete/copy/rename/move
- (1.5) The FileOwnerQuery.markExternalOwner allows registration of individal files and URIs
- (1.3) Switched to major release version 1

# Changes by affected class

# Details of all changes by API and date

## Project API

### Added support for project delete/copy/rename/move

Aug 22 '05; API spec. version: 1.7; made by: jlahoda; issues: #61546

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.

Compatibility:

### The FileOwnerQuery.markExternalOwner allows registration of individal files and URIs

May 27 '05; API spec. version: 1.5; made by: jlahoda; issues: #58313

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.

Compatibility:

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.

### Switched to major release version 1

Dec 22 '04; API spec. version: 1.3; made by: jglick; issues: #51468

To indicate that this is now considered a stable API, the major release version was incremented to 1 from 0.

Compatibility:

Clients should begin requesting the new version to avoid a warning at startup.

Built on December 7 2006. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.