This document lists changes made to the Editor Library 2 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.
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
org.netbeans.api.editor.mimelookup.MimePath
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
has been deprecated and is ignored.
@MimeLocation
, @MimeRegistration
and @MimeRegistrations
that allow to register services to the MimeLookup.
MimeLookup.getLookup(String mimePath)
converts
the (usually held) string mimePath to the MimePath
object automatically.
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.