This document lists changes made to the Editor 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.
text/base
was removed
text/base
was removed
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: editor/1 > 1.20
text/base
was removed
The Editors/text/base/Toolbars/Default
folder has
been deprecated in favor of Editors/Toolbars/Default
.
The artificial mime type text/base
should not be used
for registering toolbar actions that apply to all editors anymore,
instead use the root of the folders hierarchy.
The CustomizableSideBar
and CustomizableSideBarClass2LayerFolder
classes were accidentaly exposed in an API visible package. We
moved them to a private package, because they have no API use.
They implement support for editor side bars, which can be registered
using the SideBar
subfolders in MimeLookup
.
The PopupActions
and PopupInitializer
classes were accidentaly exposed in an API visible package. We
moved them to a private package, because they have no API use.
They implement support for editor popup menu, which can be registered
using the Popup
subfolders in MimeLookup
.
Adding NbEditorUtilities.getMimeType(JTextComponent)
as a standard way of determining a mime type of a Netbeans
document loaded in JTextComponent
. It complements
the NbEditorUtilities.getMimeType(Document)
method.
Deprecating AllOptionsFolder.loadMimeOption(Class kitClass)
and AllOptionsFolder.loadMimeOption(Class kitClass, boolean processOldTypeOption)
.
There is no reason anybody should need to call these methods.
MimeLookup
should be used for accessing editor settings
including BaseOptions
.
text/base
was removed
Editors/text/base/
formerly used for global objects common for all MIME types, was removed.
Now all common objects can be placed into the Editors/
folder directly.
Modules formerly registering objects in this layer location will need to move their registrations for them to continue working.
Built on May 28 2007. | Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.