The supplied dates indicate when the API change was made, on the CVS trunk. From this you can generally tell whether the change should be present in a given build or not; for trunk builds, simply whether it was made before or after the change; for builds on a stabilization branch, whether the branch was made before or after the given date. In some cases corresponding API changes have been made both in the trunk and in an in-progress stabilization branch, if they were needed for a bug fix; this ought to be marked in this list.
release41
branch was made on Apr 03 '05 for use in the NetBeans 4.1 release.
Specification versions: 6.0 begins after this point.release40
branch was made on Nov 01 '04 for use in the NetBeans 4.0 release.
Specification versions: 5.0 begins after this point.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.
CloneableEditorSupport.notifyModified
is called only on first modification
severity
, custom_sidebar_color
, browsable
and priority
attributes
Line.SHOW_TOFRONT
CloneableEditorSupport.notifyModified
is called only on first modification
getInputStream()
method in CloneableEditorSupport
IndexOutOfBoundsException
can be thrown from NbDocument.findLineOffset
method
Line
methods deprecated in favor of annotations
IndentEngine
a service type
PrintSettings.getPageFormat
requires a printer job
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.openide.text > 1.20
severity
, custom_sidebar_color
, browsable
and priority
attributes
Line.SHOW_TOFRONT
CloneableEditorSupport.notifyModified
is called only on first modification
getInputStream()
method in CloneableEditorSupport
Line
methods deprecated in favor of annotations
org.openide.text.ActiveEditorDrop
org.openide.text.Annotatable
org.openide.text.Annotation
org.openide.text.AnnotationProvider
org.openide.text.CloneableEditor
org.openide.text.CloneableEditorSupport
CloneableEditorSupport.notifyModified
is called only on first modification
getInputStream()
method in CloneableEditorSupport
org.openide.windows.CloneableOpenSupport
org.openide.text.DataEditorSupport
org.openide.text.DocumentLine
Line
methods deprecated in favor of annotations
org.openide.text.EditorSupport
org.openide.text.IndentEngine
IndentEngine
a service type
org.openide.text.Line
Line.SHOW_TOFRONT
Line
methods deprecated in favor of annotations
org.openide.text.NbDocument
IndexOutOfBoundsException
can be thrown from NbDocument.findLineOffset
method
org.openide.loaders.OpenSupport
org.openide.text.PositionRef
org.openide.text.PrintSettings
PrintSettings.getPageFormat
requires a printer job
CloneableEditorSupport
CloneableEditor
org.openide.text.DataEditorSupport
; made by: dsimonek; issues:
#66777
A messageHtmlName
method has been added to
CloneableEditorSupport to allow for display names with html tags.
CloneableEditor uses this new method to set its html display name
correctly. Also DataEditorSupport
now overrides
messageHtmlName
to connect with Node.getHtmlDisplayName
.
ActiveEditorDrop
; made by: mroskanin; issues:
#61367
An ActiveEditorDrop
interface has been added due to
drag and drop callback support described at issue #61367
CloneableEditorSupport
CloneableEditor
; made by: abadea; issues:
#60922
A wrapEditorComponent
method has been added to
CloneableEditorSupport allowing to wrap the editor component
in another component.
severity
, custom_sidebar_color
, browsable
and priority
attributes
severity
, custom_sidebar_color
, browsable
and priority
attributes.
Line.SHOW_TOFRONT
Line
; issues:
#47825
EditorSupportLineSet
and brings
editor's parent Window
to be fronted above all other top-level windows.
CloneableEditorSupport.notifyModified
is called only on first modification
CloneableEditorSupport
; made by: jtulach; issues:
#52493
It has been found that CloneableEditorSupport.notifyModified
is called more often than it should. It used to be called after every
keystroke, which is bad, as its return value could not be honored -
it is not possible to prevent modification when the document is already
modified. Now the method is called only on first modification of the
document and if it returns false, the modification is not allowed.
This may be incompatible for clients that relied on the often calls.
Such clients need to be fixed.
CloneableEditorSupport
; made by: pnejedly; issues:
#51441
Deprecated EditorSupport
has had a method
openAt
, which has no easy replacement in
CloneableEditorSupport
.
The method is implemented in CloneableEditorSupport
,
but is package private. This change makes it protected.
CloneableEditorSupport.Pane
interface,
Pane.ensureVisible()
. The implementing classes should ensure that the pane's component
is open and visible after calling this method. Is used in CloneableEditorSupport.openAt()
.
Line
; made by: jtulach; issues:
#43484
AnnotationProvider
; made by: pnejedly; issues:
#41345
NbDocument
CloneableEditorSupport
CloneableEditor
org.openide.text.EditorSupport
; made by: mkleint; issues:
#41085
CloneableEditorSupport
; made by: pnejedly; issues:
#37892
CloneableEditorSupport.documentID
to allow subclasses to compute preferred ID String used for
TopComponent persistence.
getInputStream()
method in CloneableEditorSupport
CloneableEditorSupport
; made by: pjiricka; issues:
#34692
CloneableEditorSupport
; made by: jtulach; issues:
#32937
PositionRef
org.openide.text.DataEditorSupport
; made by: jtulach; issues:
#32143
PositionRef.getEditorSupport()
method
has been removed to enabled separation of EditorSupport to openide-loaders.jar
Line
org.openide.text.DataEditorSupport
; made by: jtulach; issues:
#32143
Line.getDataObject()
method had to be removed and replaced by Line.getLookup
which
provides more general way for providing line context. The direct replacement
for the old method is DataObject DataEditorSupport.findDataObject(Line)
.
Line
DocumentLine
; made by: jtulach; issues:
#32143
Line
and
DocumentLine
constructors taking DataObject had to be
modified to take Lookup or plain Object instead.
CloneableEditorSupport
; made by: jtulach; issues:
#32143
String messageLine (Line)
that can be
overriden to provide meaningful display name for lines produced
by this support.
IndexOutOfBoundsException
can be thrown from NbDocument.findLineOffset
method
NbDocument
; issues:
#17144
NbDocument.findLineOffset()
can throw an unchecked
IndexOutOfBoundsException
. The method could throw
the exception also before (and also other kinds of them see the issue),
but it was not declared in javadoc. This change makes it compliant
to use with standard Swing text package and also with
Line.Set.getCurrent()
method.
Annotation
Annotation.notifyAttached()
and
Annotation.notifyDetached()
.
Annotatable
Annotatable.getText()
. Listeners can be attached to
Annotatable.PROP_TEXT property.
Annotatable
Line
methods deprecated in favor of annotations
Line
DocumentLine
setBreakpoint
, isBreakpoint
,
markError
, unmarkError
,
markCurrentLine
, unmarkCurrentLine
, and
canBeMarkedCurrent
are deprecated. Use
Annotation.attach()
and detach()
instead.
Line
now extends Annotatable
abstract class.
Annotation
Annotatable
NbDocument
NbDocument
methods like markError
,
markCurrent
, markNormal
are deprecated. Use
addAnnotation
and removeAnnotation
instead.
CloneableEditorSupport
; made by:
initializeCloneableEditor
to allow easier
customization of the editor after creation and also after deserialization.
CloneableEditorSupport
getUndoRedo()
method was made protected final instead of
final.
CloneableEditorSupport
updateTitles()
method was made protected final instead of
private.
IndentEngine
a service type
IndentEngine
ServiceType
. A few new methods relating to lookup.
register
had been deleted as it is no longer useful); the
method was then restored but made deprecated.
org.openide.text.EditorSupport
CloneableEditorSupport
CloneableEditor
org.openide.loaders.OpenSupport
org.openide.windows.CloneableOpenSupport
EditorSupport
and
OpenSupport
, so that subclasses can have much finer control
over pieces of its functionality.
NbDocument
NbDocument.COLORS
and NbDocument.Colors
deprecated.
boston
. These classes were long disused (and should only have
ever been used by the editor module anyway, which did not need them).
PrintSettings.getPageFormat
requires a printer job
PrintSettings
getPageFormat
method now requires a PrinterJob
argument.
boston
. User-stored settings of this class should be
backwards compatible, however code directly calling
getPageFormat
will produce a deprecation warning. Probably no
one should be directly referring to this class or its BeanInfo outside the
package; public only because it is a system option that must be public to
appear.
Built on May 3 2007. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.