站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

Change History for the Java Project API - NetBeans API Javadoc 4.1.0

Introduction

This document lists changes made to the Java Project API.


Index of APIs

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

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.java.project/1 > 1.20

Changes by affected class

org.netbeans.spi.java.project.support.ui.templates.JavaTemplates

org.netbeans.spi.java.project.support.ui.PackageView

org.netbeans.spi.java.project.classpath.ProjectClassPathExtender

org.netbeans.spi.java.project.classpath.support.ProjectClassPathSupport


Details of all changes by API and date


Classpath Support SPI

Added helper method for creating ClassPathImplementation based on an Ant property

Jan 6 '05; API spec. version: 1.3; affected top-level classes: ProjectClassPathSupport; made by: tzezula; issues: #42309

Added new helper class ProjectClassPathSupport with a factory method createPropertyBasedClassPathImplementation(...). This method creates a live classpath based on the list of Ant properties holding the path. The classpath implementation listens on changes of properties, updates state and fires events to clients.

ProjectClassPathExtender made public

Jan 5 '05; API spec. version: 1.3; affected top-level classes: ProjectClassPathExtender; made by: tzezula; issues: #52998

ProjectClassPathExtender was a private contract between j2seproject and form which allowed the form editor to extend the compilation classpath of a project by a new classpath element (archive file, folder, dependent project, or library). This interface was moved into a public SPI package to remove the need to have an implementation dependency of form and j2seproject on java/project.


Java Project API

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.


UI Support SPI

Added a new factory method for creating the name/package chooser wizard panel into the templates SPI.

Mar 21 '05; API spec. version: 1.3; affected top-level classes: JavaTemplates; made by: pjiricka; issues: #56730

A new factory method for creating the name and package chooser panel in the Java file wizard. This method is similar to the methods that already exist in this class; it has an extra boolean parameter that allows to specify whether the entered package name is required to be valid (non-empty).

Display of packages in a list added

Jan 10 '05; API spec. version: 1.3; affected top-level classes: PackageView; made by: tzezula; issues: #48618

New methods supporting creation of package lists were added to PackageView. createListView(SourceGroup) creates a ComboBoxModel containing the packages from a given source group. listRenderer() returns a ListCellRenderer rendering the packages.


Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.