站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

Change History for the Editor API - NetBeans API Javadoc (Current Development Version)

Introduction

This document lists changes made to the Editor 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: editor/1 > 1.20

Changes by affected class


Details of all changes by API and date


Editor API

Deprecating Editors/text/base/Toolbars/Default

Feb 28 '07; API spec. version: 1.32; made by: vstejskal

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.

Moving CustomizableSideBar and CustomizableSideBarClass2LayerFolder to a private package

Feb 26 '07; API spec. version: 1.31; made by: vstejskal

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.

Moving PopupActions and PopupInitializer to a private package

Feb 19 '07; API spec. version: 1.30; made by: vstejskal

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)

Feb 16 '07; API spec. version: 1.29; made by: vstejskal

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 methods

Jan 16 '07; API spec. version: 1.28; made by: vstejskal

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.

Fake MIME type text/base was removed

Jul 27 '05; API spec. version: 1.24; made by: mroskanin
Fake MIME type folder 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.
Compatibility:

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.