-->
<?xml-stylesheettype="text/xml"href="../../nbbuild/javadoctools/apichanges.xsl"?>
<!DOCTYPE apichanges PUBLIC"-//NetBeans//DTD API changes list 1.0//EN""../../nbbuild/javadoctools/apichanges.dtd">
<!-- First, a list of API names you may use: -->
<apidefs>
<apidef name="editor">Editor API</apidef> <!-- etc. -->
</apidefs>
<!-- ACTUAL CHANGES BEGIN HERE: -->
<changes>
<change id="deprecating-formatting">
<api name="editor"/>
<summary>Deprecating old formatting API</summary>
<version major="1" minor="53"/>
<date day="24" month="8" year="2010"/>
<author login="vstejskal"/>
<compatibility binary="compatible" source="incompatible" semantic="incompatible" addition="yes" deprecation="yes" modification="yes" deletion="yes"/>
<description>
<p>
The old formatting API (<code>org.netbeans.editor.Formatter</code> & co.)
has been deprecated and moved to <code>editor.deprecated.pre65formatting</code> module.
</p>
<p>The exact API changes are listed in the sigtest report below.</p>
<pre>
-sigtest-init:
[echo] sigtest check: editor; cnb: org-netbeans-modules-editor; email: api-changes@netbeans.org; type: check
check-sigtest:
[mkdir] Created dir: /work/netbeans/main2m/editor/build/test/sigtest/results
[sigtest] /work/netbeans/main2m/editor/build/test/sigtest/results/org.netbeans.modules.editor
[sigtest] Packages: org.netbeans.modules.editor.*, org.netbeans.modules.editor.options.*
[sigtest] Missing /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/rt.jar
[sigtest]
[sigtest] email: api-changes@netbeans.org
[sigtest] SignatureTest report
[sigtest] Base version: 1.51.0
[sigtest] Tested version: 1.51.0
[sigtest] Check mode: bin [throws removed]
[sigtest] Constant checking: on
[sigtest]
[sigtest]
[sigtest] Class org.netbeans.modules.editor.FormatterIndentEngine
[sigtest] "E1.2 - API type removed" : CLASS public abstract org.netbeans.modules.editor.FormatterIndentEngine
[sigtest]
[sigtest] Class org.netbeans.modules.editor.FormatterIndentEngineBeanInfo
[sigtest] "E1.2 - API type removed" : CLASS public abstract org.netbeans.modules.editor.FormatterIndentEngineBeanInfo
[sigtest]
[sigtest] Class org.netbeans.modules.editor.IndentEngineFormatter
[sigtest] "E1.2 - API type removed" : CLASS public org.netbeans.modules.editor.IndentEngineFormatter
[sigtest]
[sigtest] Class org.netbeans.modules.editor.NbEditorDocument
[sigtest] "E1.2 - API type removed" : method public org.netbeans.editor.Formatter org.netbeans.editor.BaseDocument.getFormatter()
[sigtest] "E1.2 - API type removed" : method public org.netbeans.editor.Formatter org.netbeans.editor.BaseDocument.getLegacyFormatter()
[sigtest]
[sigtest] Class org.netbeans.modules.editor.NbEditorKit
[sigtest] "E1.2 - API type removed" : method public org.netbeans.editor.Formatter org.netbeans.editor.BaseKit.createFormatter()
[sigtest]
[sigtest] Class org.netbeans.modules.editor.SimpleIndentEngine
[sigtest] "E1.2 - API type removed" : CLASS public org.netbeans.modules.editor.SimpleIndentEngine
[sigtest]
[sigtest] Class org.netbeans.modules.editor.SimpleIndentEngineBeanInfo
[sigtest] "E1.2 - API type removed" : CLASS public org.netbeans.modules.editor.SimpleIndentEngineBeanInfo
[sigtest]
[sigtest] /work/netbeans/main2m/editor/build/test/sigtest/results/org-netbeans-modules-editor.xml: 1 failures in /work/netbeans/main2m/editor/nbproject/org-netbeans-modules-editor.sig
BUILD FAILED
Signature tests return code is wrong (1), check the messages above
</pre>
</description>
<issue number="189638"/>
</change>
<change id="deprecating-settings">
<api name="editor"/>
<summary>Deprecating old settings API</summary>
<version major="1" minor="41"/>
<date day="4" month="6" year="2008"/>
<author login="vstejskal"/>
<compatibility binary="compatible" source="incompatible" semantic="incompatible" addition="yes" deprecation="yes" modification="yes" deletion="yes"/>
<description>
<p>
The old settings API (<code>org.netbeans.modules.editor.options.BaseOptions</code> & co.)
has been deprecated and moved to <code>editor.deprecated.pre61settings</code> module.
</p>
<p>The exact API changes are listed in the sigtest report below.</p>
<pre>
SignatureTest report
Base version: 1.39.0
Tested version: 1.41.0
Check mode: src [throws normalized]
Constant checking: on
org.netbeans.modules.editor.NbEditorDocument: constructor public org.netbeans.modules.editor.NbEditorDocument.NbEditorDocument(java.lang.String)
Added Methods
-------------
org.netbeans.modules.editor.IndentEngineFormatter: method public static org.netbeans.editor.Formatter org.netbeans.editor.Formatter.getFormatter(java.lang.String)
org.netbeans.modules.editor.NbEditorKit:method public java.util.List<javax.swing.Action> org.netbeans.editor.BaseKit.translateActionNameList(java.util.List<java.lang.String>)
</pre>
</description>
<issue number="90403"/>
</change>
<change id="NbBaseDocument-kitClass-deprecations">
<api name="editor"/>
<summary>Deprecating kit class related API in NbEditorDocument</summary>
<version major="1" minor="40"/>
<date day="26" month="5" year="2008"/>
<author login="vstejskal"/>
<compatibility binary="compatible" source="compatible" semantic="compatible" addition="yes" deprecation="yes" modification="yes"/>
<description>
<p>
The use of editor kit implementation class for identifying
the type of a document has been deprecated in favor of mime
types and <code>MimeLookup</code>. This change deprecates API
methods and construction in <code>BaseDocument</code> that
accept editor kit implementation class and adds their equivalents
accepting <code>EditorKit</code>.
</p>
<p>Deprecated:
<code>NbEditorDocument(Class)</code>
</p>
<p>Added:
<code>NbEditorDocument(EditorKit)</code>
</p>
</description>
<issue number="114747"/>
</change>
<change id="editor.actions.from.folder">
<api name="editor"/>
<summary>Editor Actions can be supplied in 'Actions' folder</summary>
<version major="1" minor="39"/>
<date day="21" month="5" year="2008"/>
<author login="vstejskal"/>
<compatibility binary="compatible" source="compatible" semantic="compatible" addition="yes" deprecation="no" modification="no"/>
<description>
<p>
The editor actions (ie. actions that are installed in <code>JEditorPane</code>s
for Netbeans editors) can now be registered in XML layers under
the <code>Actions</code> subfolder. For example adding an action to the java editor
can be achieved by adding <code>.instance</code> file to
<code>Editors/text/x-java/Actions</code> folder.
</p>
</description>
<issue number="85442"/>
</change>
<change id="SideBar.location">
<api name="editor"/>
<summary>Change of attribute name for <code>SideBar</code> instances to <code>location</code></summary>
<version major="1" minor="33"/>
<date day="16" month="6" year="2007"/>
<author login="jglick"/>
<compatibility modification="yes" semantic="compatible" deprecation="yes"/>
<description>
<p>
The position of <code>SideBar</code> instances (<code>East</code> etc.)
used to be given by the <code>position</code> attribute.
Since that clashes with folder ordering, this attribute was deprecated
in favor of <code>location</code>. The old attribute is still read as a backup.
</p>
</description>
<issue number="103187"/>
</change>
<change id="Editors-Toolbars-Default">
<api name="editor"/>
<summary>Deprecating Editors/text/base/Toolbars/Default</summary>
<version major="1" minor="32"/>
<date day="28" month="2" year="2007"/>
<author login="vstejskal"/>
<compatibility source="compatible" semantic="compatible" binary="compatible" modification="no" addition="no" deletion="no" deprecation="yes" />
<description>
<p>
The <code>Editors/text/base/Toolbars/Default</code> folder has
been deprecated in favor of <code>Editors/Toolbars/Default</code>.
The artificial mime type <code>text/base</code> should not be used
for registering toolbar actions that apply to all editors anymore,
instead use the root of the folders hierarchy.
</p>
</description>
</change>
<change id="CustomizableSideBar-CustomizableSideBarClass2LayerFolder">
<api name="editor"/>
<summary>Moving CustomizableSideBar and CustomizableSideBarClass2LayerFolder to a private package</summary>
<version major="1" minor="31"/>
<date day="26" month="2" year="2007"/>
<author login="vstejskal"/>
<compatibility source="incompatible" semantic="compatible" binary="incompatible" modification="no" addition="no" deletion="yes" deprecation="no" />
<description>
<p>
The <code>CustomizableSideBar</code> and <code>CustomizableSideBarClass2LayerFolder</code>
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 <code>SideBar</code> subfolders in <code>MimeLookup</code>.
</p>
</description>
</change>
<change id="PopupActions-PopupInitializer">
<api name="editor"/>
<summary>Moving PopupActions and PopupInitializer to a private package</summary>
<version major="1" minor="30"/>
<date day="19" month="2" year="2007"/>
<author login="vstejskal"/>
<compatibility source="incompatible" semantic="compatible" binary="incompatible" modification="no" addition="no" deletion="yes" deprecation="no" />
<description>
<p>
The <code>PopupActions</code> and <code>PopupInitializer</code>
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 <code>Popup</code> subfolders in <code>MimeLookup</code>.
</p>
</description>
</change>
<change id="NbEditorUtilities.getMimeType">
<api name="editor"/>
<summary>Adding NbEditorUtilities.getMimeType(JTextComponent)</summary>
<version major="1" minor="29"/>
<date day="16" month="2" year="2007"/>
<author login="vstejskal"/>
<compatibility source="compatible" semantic="compatible" binary="compatible" modification="no" addition="yes" deletion="no" deprecation="no" />
<description>
<p>
Adding <code>NbEditorUtilities.getMimeType(JTextComponent)</code>
as a standard way of determining a mime type of a Netbeans
document loaded in <code>JTextComponent</code>. It complements
the <code>NbEditorUtilities.getMimeType(Document)</code> method.
</p>
</description>
</change>
<change id="AllOptionsFolder.loadMimeOption">
<api name="editor"/>
<summary>Deprecating AllOptionsFolder.loadMimeOption methods</summary>
<version major="1" minor="28"/>
<date day="16" month="1" year="2007"/>
<author login="vstejskal"/>
<compatibility source="compatible" semantic="compatible" binary="compatible" modification="no" addition="no" deletion="no" deprecation="yes" />
<description>
<p>
Deprecating <code>AllOptionsFolder.loadMimeOption(Class kitClass)</code>
and <code>AllOptionsFolder.loadMimeOption(Class kitClass, boolean processOldTypeOption)</code>.
There is no reason anybody should need to call these methods.
<code>MimeLookup</code> should be used for accessing editor settings
including <code>BaseOptions</code>.
</p>
</description>
</change>
<change id="text-base">
<api name="editor"/>
<summary>Fake MIME type <code>text/base</code> was removed</summary>
<version major="1" minor="24"/>
<date day="27" month="7" year="2005"/>
<author login="mroskanin"/>
<compatibility semantic="incompatible" modification="yes">
<p>
Modules formerly registering objects in this layer location
will need to move their registrations for them to continue working.
</p>
</compatibility>
<description>
Fake MIME type folder <code>Editors/text/base/</code>
formerly used for global objects common for all MIME types, was removed.
Now all common objects can be placed into the <code>Editors/</code> folder directly.
</description>
</change>
</changes>
<!-- Now the surrounding HTML text and document structure: -->
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.