This document lists changes made to the Java 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.
PackageViewChildren.PackageNode.setName()
ClassPathImplementation
based on an Ant property
ProjectClassPathExtender
made public
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
PackageViewChildren.PackageNode.setName()
ClassPathImplementation
based on an Ant property
ProjectClassPathExtender
made public
org.netbeans.api.java.project.JavaProjectConstants
org.netbeans.spi.java.project.support.ui.templates.JavaTemplates
org.netbeans.spi.java.project.support.ui.PackageRenameHandler
org.netbeans.spi.java.project.support.ui.PackageView
org.netbeans.spi.java.project.classpath.ProjectClassPathExtender
ProjectClassPathExtender
made public
org.netbeans.spi.java.project.classpath.support.ProjectClassPathSupport
ClassPathImplementation
based on an Ant property
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
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
.
JavaProjectConstants
; made by: tzezula; issues:
#57733
The freeform project may have as its output a folder rather than a jar archive. The JavaProjectConstants was extended by the ARTIFACT_TYPE_FOLDER constant to represent such an output.
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.
PackageViewChildren.PackageNode.setName()
PackageRenameHandler
; made by: jbecicka; issues:
#53295
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).
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 28 2007. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.