Introduction

This document lists changes made to the Java Source UI 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.sourceui > 1.20

Changes by affected class

org.netbeans.api.java.source.ui.ElementIcons

org.netbeans.api.java.source.ui.ElementJavadoc

org.netbeans.api.java.source.ui.ScanDialog

org.netbeans.api.java.source.ui.TypeElementFinder


Details of all changes by API and date


Java Source UI API

Adding ElementOpen.open(FileObject toSearch, TreePathHandle toOpen)

Oct 4 '16; API spec. version: 1.45; made by: tzezula
Adding ElementOpen.open(FileObject toSearch, TreePathHandle toOpen) method.
Compatibility:

Added a method to return an icon for module info directive

Oct 4 '16; API spec. version: 1.45; affected top-level classes: ElementIcons; made by: tzezula
Added thegetModuleDirectiveIcon method into the ElementIcons to return an icon for a module info directive.

Added overload method for TypeElementFinder.find which allows to specify the prefilled initial text

Sep 20 '11; API spec. version: 1.24; affected top-level classes: TypeElementFinder; made by: jlahoda; issues: #125811
Added overload method for TypeElementFinder.find which allows to specify the prefilled initial text.

Added asynchronous version of getText method into ElementJavadoc

Feb 21 '11; API spec. version: 1.20; affected top-level classes: ElementJavadoc; made by: tzezula; issues: #194969
Added asynchronous version of getText into ElementJavadoc. The getTextAsync returns a Future which blocks until the javadoc is downloaded.

Adding cancelable version of ElementJavadoc.create

Jun 29 '10; API spec. version: 1.15; made by: tzezula; issues: #171183
Added a cancelable version of ElementJavadoc.create to allow code completion to cancel slow call to JavadocForBinaryQuery.
Compatibility:

Adding ElementOpen.open(ClasspathInfo info, ElementHandle h)

Jan 25 '08; API spec. version: 1.15; made by: jlahoda; issues: #125320
Adding ElementOpen.open(ClasspathInfo info, ElementHandle h) method.
Compatibility:

Added support for notifying user about running background scan.

Jul 18 '07; API spec. version: 1.2; affected top-level classes: ScanDialog; made by: tzezula; issues: #110136
Added support for notifying user about running background scan. When the background scan is running the support displays a dialog notifying user about it. When the background scan finishes the dialog is closed and the action is executed.
Compatibility:

Built on December 17 2017.  |  Portions Copyright 1997-2017 Oracle. All rights reserved.