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.
SelectionType ANY in SaveAction
ToolsAction
via layers
HeapView
preserves its settings between sessions
ActionManager.getDefault()
added
SaveAsTemplateAction.iconResource
removed
ActionManager
added
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.actions > 1.20
SelectionType ANY in SaveAction
ToolsAction
via layers
HeapView
preserves its settings between sessions
ActionManager.getDefault()
added
org.openide.actions.ActionManager
ActionManager.getDefault()
added
ActionManager
added
org.openide.actions.CopyAction
org.openide.actions.CutAction
org.openide.actions.DeleteAction
org.openide.actions.FileSystemAction
org.openide.actions.HeapView
HeapView
preserves its settings between sessions
org.openide.actions.InstantiateAction
org.openide.actions.PasteAction
org.openide.actions.SaveAction
SelectionType ANY in SaveAction
org.openide.actions.SaveAsTemplateAction
SaveAsTemplateAction.iconResource
removed
org.openide.actions.ToolsAction
ToolsAction
via layers
ActionManager
added
SelectionType ANY in SaveAction
SaveAction
; made by: krissco; issues:
#192948
SaveAction
has been modified to allow one or more SaveCookie
s
into it's context. The previous behavior was to allow EXACTLY_ONE.
ToolsAction
via layers
ToolsAction
; made by: jtulach; issues:
#180979
ToolsAction
via
layer, don't use the deprecated manifest style.
HeapView
preserves its settings between sessions
org.openide.actions.HeapView
; made by: rmichalsky; issues:
#135104
showDropShadow
, showText
and tickStyle
are now preserved between sessions in NBPreferences of the same corresponding names.
topComponent.getActionMap().put("jumpPrev", new YourPrevAction()); topComponent.getActionMap().put("jumpNext", new YourNextAction());if your component provides items and you want the user to jump among them using standard next/prev actions.
ActionManager.getDefault()
added
ActionManager
; made by: jglick; issues:
#32092
org.openide.actions.InstantiateAction
; made by: dkonecny; issues:
#27135
CutAction
CopyAction
DeleteAction
PasteAction
org.openide.actions.FileSystemAction
ToolsAction
; made by: jtulach pzavadsky; issues:
#27868
Introduction of new action system, which generally means
move from usage of SystemAction
to Action
instances.
Look at
general proposal. That document also focuses on declarative actions
usage which is not subject of current change, it will be part of later changes.
Current change is described by description of already implemented changes which also summarizes these API changes.
ActionManager
invokeAction
added to the ActionManager
.
It allows all actions code to happen in one request processor.
SaveAsTemplateAction.iconResource
removed
org.openide.actions.SaveAsTemplateAction
iconResource
was accidentally a public method; no longer
needed, and deprecated. Technically backwards incompatible, but no one
should have been calling this method as public, as it was protected in the
superclass SystemAction
.
boston
.
ActionManager
added
ActionManager
ToolsAction
ActionManager
added, along with
TopManager.getActionManager
. This class replaces the
functionality of ToolsAction.Model
and
ToolsAction.setModel
which have been deprecated. No one other
than ToolsAction
and the core implementation ought to have
been directly using the model class, and the same applies to the new
action manager.
ToolsAction
model first removed, later re-added but deprecated
in trunk and boston
.