Skip navigation links

Introduction

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

Changes by affected class

org.netbeans.api.editor.mimelookup.MimePath


Details of all changes by API and date


Uncategorized changes

Access to parent MIME type and all included paths

Feb 27 '13; API spec. version: 1.31; affected top-level classes: MimePath; made by: sdedic; issues: #226122

getIncludedPaths can be now used to compute all MimePaths that should be considered for the content. In the past, reflection was used to access this functionality.

getInheritedType provides generalized or parent MIME type for the content, which allows to search settings (services) fallbacks.

Class2LayerFolder Deprecated and not used

Oct 4 '10; API spec. version: 1.20; made by: jlahoda; issues: #190606
Class2LayerFolder has been deprecated and is ignored.

@MimeLocation, @MimeRegistration and @MimeRegistrations added

Oct 4 '10; API spec. version: 1.19; made by: jlahoda; issues: #190606
Added @MimeLocation, @MimeRegistration and @MimeRegistrations that allow to register services to the MimeLookup.

MimeLookup.getLookup(String mimePath) method added

Sep 18 '07; API spec. version: 1.8; made by: mmetelka
MimeLookup.getLookup(String mimePath) converts the (usually held) string mimePath to the MimePath object automatically.

MimePath.validate methods added

Jun 28 '07; API spec. version: 1.7; made by: vstejskal
The validate(CharSequence path) and validate(CharSequence type, CharSequence subtype) methods were added to the MimePath class to allow validating mime paths and mime type components.