urn:netbeans-org:apichanges NetBeans API Changes netbeans.org 2008-01-29T18:26:29Z urn:netbeans-org:apichanges:Lexer-API-Cleanup [org.netbeans.modules.lexer] Lexer API Cleanup 2007-11-05T00:00:00Z mmetelka mmetelka@netbeans.org

Support for token hierarchy snapshots and generic character preprocessing was removed from the API and SPI since there were no usecases yet and it should be possible to add the functionality later in a backward compatible way. Some more changes regarding generification etc. were performed.

urn:netbeans-org:apichanges:LexerInput.integerState-removed [org.netbeans.modules.lexer] Removing LexerInput.integerState 2007-11-03T00:00:00Z vstejskal vstejskal@netbeans.org

LexerInput.integerState() was removed.

urn:netbeans-org:apichanges:ColumnDisplayNameWithMnemonicTTV [org.openide.explorer] Added support for property ColumnDisplayNameWithMnemonicTTV. 2007-11-02T00:00:00Z saubrecht saubrecht@netbeans.org Added support for property ColumnDisplayNameWithMnemonicTTV. This property may be used to specify column names with mnemonic char using '&' char. Such display name will be used in 'Change Visible Columns' dialog window. urn:netbeans-org:apichanges:issue-120097 [org.netbeans.modules.db] Made Database Explorer API stable 2007-11-01T00:00:00Z abadea abadea@netbeans.org The stability level of the Database Explorer API is changed to stable. urn:netbeans-org:apichanges:Utilities.isLargeFrameIcons [org.openide.util] Obsolete method Utilities.isLargeFrameIcons deprecated. 2007-10-23T00:00:00Z mslama mslama@netbeans.org

Javadoc says: Test whether the operating system supports icons on frames (windows). But window system used this method to decide if small 16x16 or bigger 32x32 icon should be used for frame (main window). So usage and Javadoc is inconsistent. All OS support small icon in frame. From JDK 6 it is possible to set multiple size icons for frame so OS WM selects appropriate size. I removed useless usage of this method from window system code and this method is not used elsewhere.

urn:netbeans-org:apichanges:close_component_group [org.openide.windows] Changed behavior of TopComponent.close() and TopComponentGroup.close() for non persistent TopComponent 2007-10-23T00:00:00Z mslama mslama@netbeans.org Change behavior of winsys implementation when TopComponent.close() and TopComponentGroup.close() is called for non persistent TopComponent. So far if non persistent TopComponent was closed it was removed from Mode. It causes window system to forget TopComponent location so if TopComponent is reopened it is opened in default location. It is now changed so that window system keeps location of non persistent TopComponent during session. Of course this information is not stored between sessions as TopComponent is NOT persistent. So this change applies only to TopComponent with peristence type PERSISTENCE_NEVER. urn:netbeans-org:apichanges:auto_iconify [org.openide.windows] Added command line boolean option 'netbeans.winsys.auto_iconify'. 2007-10-09T00:00:00Z dsimonek dsimonek@netbeans.org Added command line boolean option 'netbeans.winsys.auto_iconify'. When system is run with option netbeans.winsys.auto_iconify=true, all separate frames will follow iconified state of main window automatically. So when main window is iconified, they all get iconified too and vice versa. Such behavior was default prior to this change, but now automatic iconification is disabled by default, to respect independency of separate frames and behave well with GNOME window managers such as default Metacity WM. urn:netbeans-org:apichanges:owned-files [org.netbeans.modules.project.ant] Support for adding external files owned by project 2007-10-08T00:00:00Z mkubec mkubec@netbeans.org

Added a method for registering external file that is supposed to be owned by the project, typically used in freeform project to register build products that are external to project dir.

urn:netbeans-org:apichanges:issue-87600 [org.netbeans.modules.db] Allow user to save password 2007-10-05T00:00:00Z davidvc davidvc@netbeans.org This change updated the connection DTD to 1.1, adding a password element. In the Database Explorer implementation, we allow the user to indicate they want to save the password. This works across invocations of the VM. urn:netbeans-org:apichanges:TokenSequence.removeEmbedding-added [org.netbeans.modules.lexer] Possibility to remove a previously created custom embedding 2007-10-05T00:00:00Z mmetelka mmetelka@netbeans.org

TokenSequence.removeEmbedding() was added as counterpart to TokenSequence.createEmbedding().
Also TokenSequence.isValid() was added to check whether the token sequence can be used for iteration (no modifications of the underlying input in the meantime).

urn:netbeans-org:apichanges:MimeLookup.getLookup-mimePath-as-String-added [org.netbeans.modules.editor.mimelookup] MimeLookup.getLookup(String mimePath) method added 2007-09-18T00:00:00Z mmetelka mmetelka@netbeans.org MimeLookup.getLookup(String mimePath) converts the (usually held) string mimePath to the MimePath object automatically. urn:netbeans-org:apichanges:added.EditorStyleConstants.Tooltip [org.netbeans.modules.editor.settings] Added EditorStyleConstants.Tooltip 2007-09-13T00:00:00Z vstejskal vstejskal@netbeans.org

The EditorStyleConstants.Tooltip constant was added allowing to specify tooltips in highlighting layers.

urn:netbeans-org:apichanges:issue-115075 [org.netbeans.modules.db] Added utility class for working with SQL identifiers 2007-09-12T00:00:00Z davidvc davidvc@netbeans.org This change adds a SQLIdentifiers.Quoter class which provides a utility method for quoting SQL identifiers. urn:netbeans-org:apichanges:issue-113573 [org.netbeans.api.visual] Routing policy support for ConnectionWidget 2007-08-31T00:00:00Z dkaspar dkaspar@netbeans.org ConnectionWidget allows to specify routing policy. The policy defines behaviour of path routing in ConnectionWidget. There are 4 values: Always-route, Update-end-points-only, Disable-routing-until-end-point-is-moved, Disable-routing. AddRemoveControlPointAction and MoveControlPointAction has new factory methods for automatic assignment of routing policy. urn:netbeans-org:apichanges:Customizer-can-be-null [org.netbeans.modules.project.libraries] Customizer for volume type in LibraryTypeProvider is not mandatory 2007-08-31T00:00:00Z mkleint mkleint@netbeans.org

LibraryTypeProvider.getCustomizer() can return null for some volume types.

urn:netbeans-org:apichanges:embedding.joinSections.support [org.netbeans.modules.lexer] Support for embeddings that join sections 2007-08-30T00:00:00Z mmetelka mmetelka@netbeans.org

Joining sections embeddings now supported and some minor changes were introduced like adding LanguagePath.parent(). Some is* methods with trivial implementations were removed from LanguagePath. TokenChange.embeddedChange(Language) was removed because there might be multiple such changes and they can be gathered with existing methods.

urn:netbeans-org:apichanges:issue-111987 [org.netbeans.api.visual] Anchor.notifyRevalidate method 2007-08-21T00:00:00Z dkaspar dkaspar@netbeans.org Missing Anchor.notifyRevalidate method has been added. Now the Anchor should receive all necessary notification. It is used by VMDNodeAnchor too. urn:netbeans-org:apichanges:api.LanguageHierarchy.embeddingPresence.added [org.netbeans.modules.lexer] Added LanguageHierarchy.embeddingPresence() 2007-08-17T00:00:00Z mmetelka mmetelka@netbeans.org

Added LanguageHierarchy.embeddingPresence() method and EmbeddingPresence enum to speed up queries for embedded token sequences.

urn:netbeans-org:apichanges:scripting.wizard.prefix [org.openide.loaders] Prefixing attributes from TemplateWizard with wizard. 2007-08-14T00:00:00Z jtulach jtulach@netbeans.org

When TemplateWizard invokes DataObject.createFromTemplate, it passes as argument all its properties to it with wizard. as a prefix. That way they are available to underlying scripting and templating engines.

urn:netbeans-org:apichanges:issue-98762 [org.netbeans.api.visual] Accurate LabelWidget rendering using glyph vector 2007-08-10T00:00:00Z dkaspar dkaspar@netbeans.org LabelWidget now has useGlyphVector property. If true then the text in a LabelWidget is converted into glyph-vector (a shape) that is rendered. This allows accurate rendering independently on zoom-factor of a scene. Note that the glyph-vector rendering is slower than regular rendering. urn:netbeans-org:apichanges:issue-104474 [org.netbeans.api.visual] Widget.validate(Graphics2D) method added to support off-screen rendering 2007-08-10T00:00:00Z dkaspar dkaspar@netbeans.org Scene.validate(Graphics2D) method has been added. It allows to validate a scene without having a main scene view created and shown on screen. See test.view.OffscreenRenderingTest example for usage. urn:netbeans-org:apichanges:issue-105285 [org.netbeans.api.visual] Added support to checking AlignWith-actions with client areas 2007-08-10T00:00:00Z dkaspar dkaspar@netbeans.org AlignWithMoveAction and AlignWithResizeAction allow checking client area of widget (widget boundary without border insets). There are 4 new methods in ActionFactory class introduces to allow specifying outerBounds parameter. urn:netbeans-org:apichanges:issue-107774 [org.netbeans.api.visual] WheelPanAction introduced 2007-08-10T00:00:00Z dkaspar dkaspar@netbeans.org WheelPanAction has been added to allow vertical and horizontal scrolling of a scene view using mouse wheel. urn:netbeans-org:apichanges:issue-108510 [org.netbeans.api.visual] Bird view support added 2007-08-10T00:00:00Z dkaspar dkaspar@netbeans.org Bird view is a window that is always under your mouse-cursor and shows the scene with a specified zoom factor. A bird view can be created using Scene.createBirdView method. To enable bird view you need to call the BirdViewController.show method on returned controller instance. urn:netbeans-org:apichanges:issue-111339 [org.netbeans.api.visual] GraphLayouSupport.setTreeGraphLayoutProperties method introduced 2007-08-10T00:00:00Z dkaspar dkaspar@netbeans.org The GraphLayouSupport.setTreeGraphLayoutProperties method allows change properties of tree graph layout i.e. originX, originY, verticalGap, horizontalGap, vertical. urn:netbeans-org:apichanges:issue-103456 [org.netbeans.api.visual] BorderSupport.getSwingBorder method introduced 2007-08-01T00:00:00Z dkaspar dkaspar@netbeans.org BorderSupport.getSwingBorder method introduced to acquired a Swing border from a library border. urn:netbeans-org:apichanges:issue-107446 [org.netbeans.api.visual] Widget.getDependencies method added 2007-08-01T00:00:00Z dkaspar dkaspar@netbeans.org Widget.getDependencies method is added urn:netbeans-org:apichanges:issue-108783 [org.netbeans.api.visual] Popup menu action could be invoked by Shift+F10 key 2007-08-01T00:00:00Z dkaspar dkaspar@netbeans.org Popup menu action (created by ActionFactory.createPopupMenuAction method) could be invoked by an user using Shift+F10 key. urn:netbeans-org:apichanges:issue-109023 [org.netbeans.api.visual] Widget implements javax.accessibility.Accessible interface 2007-08-01T00:00:00Z dkaspar dkaspar@netbeans.org The Widget implements javax.accessibility.Accessible interface. urn:netbeans-org:apichanges:issue-110146 [org.netbeans.api.visual] ActionMapAction is not handling mouse events to show popup menu 2007-08-01T00:00:00Z dkaspar dkaspar@netbeans.org ActionMapAction (created by ActionFactory.createActionMapAction method) is not handling mouse events to show popup menu. urn:netbeans-org:apichanges:issue-110389 [org.netbeans.api.visual] CycleFocusAction is using Shift+Tab keystroke for focus-to-previous action 2007-08-01T00:00:00Z dkaspar dkaspar@netbeans.org CycleFocusAction (created using ActionFactory.createCycleFocusAction method) is using Shift+Tab keystroke for focus-to-previous action. Previously it was Ctrl+Tab keystroke. urn:netbeans-org:apichanges:issue-108856 [org.netbeans.api.visual] Accesibility support improved 2007-08-01T00:00:00Z dkaspar dkaspar@netbeans.org The old logic of resolving accessible context was wrong and was replaced be a logic which by default creates a tree structure of Accessible object that copies the structure of widgets in a scene. urn:netbeans-org:apichanges:templates.encoding [org.openide.loaders] Templates may use ${encoding} and ${nameAndExt} properties 2007-08-01T00:00:00Z mfukala mfukala@netbeans.org

Templates may use ${encoding} and ${nameAndExt} properties in their bodies to be substituted to the real encoding of the template instance file as well as the actual name (with extension) of the file, being created.

urn:netbeans-org:apichanges:always [org.netbeans.modules.sendopts] An option that is always on 2007-07-30T00:00:00Z jtulach jtulach@netbeans.org Those processors that wish to be informed about every command line processing, can register themselves as providers of always option. This one is automatically present in each successfully parsed command line. urn:netbeans-org:apichanges:FileObject.isLocked [org.openide.filesystems] Added method to test if file is locked 2007-07-26T00:00:00Z rmatous rmatous@netbeans.org

Added method isLocked to FileObject.

urn:netbeans-org:apichanges:enhanced-support-for-os-specific-modules-iz-109288 [org.openide.modules] Enhanced support for OS specific modules (part II) 2007-07-18T00:00:00Z jglick jglick@netbeans.org Modules can now express dependencies on org.openide.modules.os.Linux and org.openide.modules.os.Solaris. For more details read here. urn:netbeans-org:apichanges:setUseSubstringInQuickSearch [org.openide.explorer] Added method TreeView.setUseSubstringInQuickSearch(boolean). 2007-07-11T00:00:00Z dstrupl dstrupl@netbeans.org Added method setUseSubstringInQuickSearch(boolean). This method allows using substring search for the typed in text in the quick search feature instead of the (default) prefix search. urn:netbeans-org:apichanges:MimePath.validate.added [org.netbeans.modules.editor.mimelookup] MimePath.validate methods added 2007-06-28T00:00:00Z vstejskal vstejskal@netbeans.org 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. urn:netbeans-org:apichanges:CompletionResultSet.setHasAdditionalItems [org.netbeans.modules.editor.completion] Addition of CompletionResultSet.setHasAdditionalItems() 2007-06-27T00:00:00Z dbalek dbalek@netbeans.org

void CompletionResultSet.setHasAdditionalItems(boolean value) was added to indicate that some items could exist that will likely need a long time to be computed and added to the result set. It is preferred to add them on the special 'all' code completion invocation only.

urn:netbeans-org:apichanges:issue-106508 [org.netbeans.api.visual] ConnectionWidget.controlPointCutDistance property introduced to render smoother corners of the path 2007-06-25T00:00:00Z dkaspar dkaspar@netbeans.org ConnectionWidget.controlPointCutDistance property allows you to specify a distance where the path should be cut at each control point. See test.widget.ConnectionWidgetCutDistanceTest for example. urn:netbeans-org:apichanges:issue-105929 [org.netbeans.api.visual] VMDColorScheme introduced 2007-06-25T00:00:00Z dkaspar dkaspar@netbeans.org VMDColorScheme abstract class has been introduced to define a UI of VMD widget. There are two predefined schemes available in VMDFactory class. Use them as a paratemer in widget constructors. urn:netbeans-org:apichanges:issue-96200 [org.netbeans.modules.db] Added support for dragging and dropping nodes from the Database Explorer 2007-06-17T00:00:00Z abadea abadea@netbeans.org This change adds a DatabaseMetaDataTransfer class which contains DataFlavors for database objects and nested classes representing those database objects during a drag and drop transfer. urn:netbeans-org:apichanges:FileUtil.order [org.openide.filesystems] Added methods to order files in a folder 2007-06-16T00:00:00Z jglick jglick@netbeans.org

Added methods getOrder, setOrder, and affectsOrder to FileUtil.

urn:netbeans-org:apichanges:DataFolder.position [org.openide.loaders] Folders may be ordered by numeric position 2007-06-16T00:00:00Z jglick jglick@netbeans.org

Folders may now be ordered by setting the position attribute on files within the folder, which should have a numeric value. The original relative ordering constraints are now deprecated but still work.

urn:netbeans-org:apichanges:added.CodeTemplateDescription.getUniqueId [org.netbeans.modules.editor.settings] Added CodeTemplateDescription.getUniqueId 2007-06-15T00:00:00Z vstejskal vstejskal@netbeans.org

The CodeTemplateDescription.getUniqueId method was added and the constructor was extended to accept uniqueId parameter.

urn:netbeans-org:apichanges:WizardDescriptor.ArrayIterator-generic-constructor [org.openide.dialogs] Generics-friendly constructor added for WizardDescriptor.ArrayIterator 2007-06-15T00:00:00Z jglick jglick@netbeans.org A constructor accepting List<Panel<Data>> was added to ArrayIterator to avoid the need for generic array construction by client code. urn:netbeans-org:apichanges:extendedDelete [org.openide.explorer] Added an interface and a registration slot for explorer delete action interceptors. 2007-06-15T00:00:00Z pnejedly pnejedly@netbeans.org Added an interface ExtendedDelete that can be registered to handle deletion of selected nodes instead of the default implementation. urn:netbeans-org:apichanges:custom-reset [org.netbeans.spi.palette] Palette providers may need to define their own action that resets the palette to its default state. 2007-06-12T00:00:00Z saubrecht saubrecht@netbeans.org

Now it's possible to provide an action that will be invoked when user chose 'Reset' in palette's popup menu or in Palette Manager window.

urn:netbeans-org:apichanges:CodeTemplateSettings.getCodeTemplates [org.netbeans.modules.editor.settings] CodeTemplateSettings.getCodeTemplates siganture changed 2007-06-10T00:00:00Z vstejskal vstejskal@netbeans.org

The CodeTemplateSettings.getCodeTemplates signature was changed to return Collection<CodeTemplateDescription> instead of List. Although an incompatible change this class had never been functional and should not have been used by anybody.

urn:netbeans-org:apichanges:issue-105499 [org.netbeans.api.visual] AnchorShapeFactory.createArrowAnchorShape method introduced 2007-06-08T00:00:00Z dkaspar dkaspar@netbeans.org AnchorShapeFactory.createArrowAnchorShape method introduced. urn:netbeans-org:apichanges:issue-105278 [org.netbeans.api.visual] GraphLayoutFactory.createTreeGraphLayout added 2007-06-08T00:00:00Z dkaspar dkaspar@netbeans.org TreeGraphLayout added. urn:netbeans-org:apichanges:issue-104976 [org.netbeans.api.visual] Zoom actions are using Ctrl key modifier of invocation 2007-06-08T00:00:00Z dkaspar dkaspar@netbeans.org All built-in zoom actions are using modifiers from Scene.getInputBindings().getZoomActionModifiers() method. Default value has been changed from nothing to Ctrl key which backward-incompatible change affecting all users. A part of the change InputBindings class has been introduces and assigned to a Scene. urn:netbeans-org:apichanges:issue-105390 [org.netbeans.api.visual] VerticalFlowLayout and HorizontalFlowLayout calculates with weights 2007-06-08T00:00:00Z dkaspar dkaspar@netbeans.org When a widget is using VerticalFlowLayout or HorizontalFlowLayout and a child widget has a Number constraint assigned, then the Number value represent a radio in with the remaining gap in the widget is split and added to particular child widget. See test.layout.WeightFlowLayoutTest for example. urn:netbeans-org:apichanges:issue-104281 [org.netbeans.spi.viewmodel] Extension to NodeModel. 2007-06-06T00:00:00Z mentlicher mentlicher@netbeans.org Add ability to in-place rename and copy/paste functionality to nodes in debugger views. Also, the models needs to have a way to provide an icon with arbitrary extension. Therefore following methods are provided with new ExtendedNodeModel and ExtendedNodeModelFilter interfaces and are also added into CompoundModel: canRename(), canCopy(), canCut(), clipboardCopy(), clipboardCut(), getPasteTypes(), setName(), getIconBaseWithExtension(). urn:netbeans-org:apichanges:issue-101523 [org.netbeans.api.visual] Mouse dragging event processing improved 2007-06-05T00:00:00Z dkaspar dkaspar@netbeans.org Mouse dragging event processing improved. MoveAction and others are now smoothly scrolling a view. urn:netbeans-org:apichanges:issue-103289 [org.netbeans.api.visual] Additional ActionFactory.createExtendedConnectAction with modifiers parameter added 2007-06-05T00:00:00Z dkaspar dkaspar@netbeans.org An additional ActionFactory.createExtendedConnectAction method was added. It allows to speficied a combination of MouseEvent.*_DOWN modifiers that triggers invocation of the action. urn:netbeans-org:apichanges:issue-104662 [org.netbeans.api.visual] Widget.getCursorAt method introduced, ConnectionWidget.controlPointsCursor property added 2007-06-05T00:00:00Z dkaspar dkaspar@netbeans.org Now the mouse cursor is changed also based on its local location in a widget. Therefore ConnectionWidget has controlPointsCursor property which defines a cursor for mouse over control points. urn:netbeans-org:apichanges:issue-104718 [org.netbeans.api.visual] ActionFactory.createMouseCenteredZoomAction method introduced 2007-06-05T00:00:00Z dkaspar dkaspar@netbeans.org ActionFactory.createMouseCenteredZoomAction method introduced. urn:netbeans-org:apichanges:api.TokenHierarchy.embeddedTokenSequences.added [org.netbeans.modules.lexer] Added TokenHierarchy.embeddedTokenSequences 2007-06-05T00:00:00Z vstejskal vstejskal@netbeans.org

Added TokenHierarchy.embeddedTokenSequences method.

urn:netbeans-org:apichanges:animatedimagewidget [org.netbeans.api.visual] ImageWidget handles animated images 2007-06-04T00:00:00Z dkaspar dkaspar@netbeans.org Now ImageWidget uses ImageObserver to track changes and animations of image. Do not use Utilities.loadImage method for loading animated images since it produces static images only - use Toolkit.createImage instead. urn:netbeans-org:apichanges:descriptionAreaAndPopupConfig [org.openide.explorer] Added setters to show/hide the description area and enable/disable the popup menu 2007-06-01T00:00:00Z tboudreau tboudreau@netbeans.org Added setters for the visibility of the description area and availability of the popup menu to PropertySheet urn:netbeans-org:apichanges:ChildFactory [org.openide.nodes] API for Children objects that asynchronously compute keys/child nodes and simplifies implementation of Children.Keys usages 2007-06-01T00:00:00Z tboudreau tboudreau@netbeans.org Added the class ChildFactory and the method Children.create(ChildFactory factory, boolean asynchronous) to the API. This simplifies creation of Node children which need to be computed on a background thread for performance reasons. Anyone wishing to do this can simply extend ChildFactory and pass that to Children.create() to automatically get a Node that will display a Please Wait child node when first expanded. A ChildFactory can either compute all child nodes, or batch them in multiple passes.

ChildFactory can also be used to implement synchronous children, by setting the asynchronous parameter passed to Children.create() to false. This could replace most common usages of Children.Keys, and make it easy to switch to asynchronous child computation if that is determined to be necessary for performance reasons.

urn:netbeans-org:apichanges:NbDocument.Colors [org.openide.text] Public static inner class NbDocument.Colors moved to org.openide.options. 2007-05-22T00:00:00Z mslama mslama@netbeans.org

Class NbDocument.Colors was removed to remove dependency on org.openide.options. Runtime backward compatibility was ensured by moving into org.openide.options module which is already deprecated.

urn:netbeans-org:apichanges:NbDocument.COLORS [org.openide.text] Remove public field NbDocument.COLORS 2007-05-22T00:00:00Z mslama mslama@netbeans.org

Field NbDocument.COLORS was removed to remove dependency on org.openide.options.

urn:netbeans-org:apichanges:PrintPreferences [org.openide.text] Adding PrintPreferences 2007-05-22T00:00:00Z rmatous rmatous@netbeans.org

Class PrintPreferences was added as replacement for original class PrintSettings.

urn:netbeans-org:apichanges:PrintSettings [org.openide.text] Removing PrintSettings 2007-05-22T00:00:00Z rmatous rmatous@netbeans.org

Classes PrintSettings and PrintSettingsBeanInfo were removed. Runtime backward compatibility was ensured by moving both into org.openide.options module which is already deprecated.

urn:netbeans-org:apichanges:Breakpoint.hitCounts [org.netbeans.api.debugger] Add filter for hit counts to breakpoints. 2007-05-21T00:00:00Z mentlicher mentlicher@netbeans.org

To be able to set breakpoint for number of iterations, we need to add a filter for hit counts into Breakpoint API.

Added methods:
Breakpoint.getHitCountFilter(), Breakpoint.getHitCountFilteringStyle(), Breakpoint.setHitCountFilter().

Added fields:
Breakpoint.PROP_HIT_COUNT_FILTER, Breakpoint.HIT_COUNT_FILTERING_STYLE.

urn:netbeans-org:apichanges:issue-103934 [org.netbeans.api.debugger.jpda] API for identification of method declarations in source code. 2007-05-21T00:00:00Z mentlicher mentlicher@netbeans.org

In order to implement annotation of method breakpoints in Editor, we need to be able to locate individual methods in Editor, based on their names and signature. Also we need annotation types for fields and methods.

Added methods:
EditorContext.getMethodLineNumber(), EditorContext.getCurrentMethodDeclaration(),

Added fields:
EditorContext.FIELD_BREAKPOINT_ANNOTATION_TYPE, EditorContext.DISABLED_FIELD_BREAKPOINT_ANNOTATION_TYPE, EditorContext.METHOD_BREAKPOINT_ANNOTATION_TYPE EditorContext.DISABLED_METHOD_BREAKPOINT_ANNOTATION_TYPE

urn:netbeans-org:apichanges:issue-103936 [org.netbeans.api.debugger.jpda] Enhance JPDA breakpoints. 2007-05-21T00:00:00Z mentlicher mentlicher@netbeans.org

To catch-up with JDI capabilities and be able to implement new enhancements, we need to add support for new breakpoint properties into the debugger JPDA API.
These are mainly class and thread filters and hit counts.

Added methods:
ExceptionBreakpoint.getClassFilters(), ExceptionBreakpoint.setClassFilters(), ExceptionBreakpoint.getClassExclusionFilters(), ExceptionBreakpoint.setClassExclusionFilters(), FieldBreakpoint.getInstanceFilters(), FieldBreakpoint.setInstanceFilters(), FieldBreakpoint.getThreadFilters(), FieldBreakpoint.setThreadFilters(), JPDABreakpoint.getHitCountFilter(), JPDABreakpoint.getHitCountFilteringStyle(), JPDABreakpoint.setHitCountFilter(), LineBreakpoint.getInstanceFilters(), LineBreakpoint.setInstanceFilters(), LineBreakpoint.getThreadFilters(), LineBreakpoint.setThreadFilters(), MethodBreakpoint.getMethodSignature(), MethodBreakpoint.setMethodSignature(), MethodBreakpoint.getInstanceFilters(), MethodBreakpoint.setInstanceFilters(), MethodBreakpoint.getThreadFilters(), MethodBreakpoint.setThreadFilters().

Added fields:
ExceptionBreakpoint.PROP_CLASS_FILTERS, ExceptionBreakpoint.PROP_CLASS_EXCLUSION_FILTERS, FieldBreakpoint.PROP_INSTANCE_FILTERS, FieldBreakpoint.PROP_THREAD_FILTERS, JPDABreakpoint.PROP_HIT_COUNT_FILTER, JPDABreakpoint.HIT_COUNT_FILTERING_STYLE, LineBreakpoint.PROP_INSTANCE_FILTERS, LineBreakpoint.PROP_THREAD_FILTERS, MethodBreakpoint.PROP_METHOD_SIGNATURE, MethodBreakpoint.PROP_INSTANCE_FILTERS, MethodBreakpoint.PROP_THREAD_FILTERS.

urn:netbeans-org:apichanges:api.Language.refresh.remove [org.netbeans.modules.lexer] Removed previously added Language.refresh(). 2007-05-16T00:00:00Z mmetelka mmetelka@netbeans.org

Removed previously added Language.refresh() since there is an alternative in using LanguageProvider.firePropertyChange(PROP_LANGUAGE).

urn:netbeans-org:apichanges:project-open-hook-merger [org.netbeans.modules.projectuiapi] Add LookupMergerimplementation for ProjectOpenedHook 2007-05-10T00:00:00Z mkleint mkleint@netbeans.org New method UILookupMergerSupport.createProjectOpenHookMerger(ProjectOpenedHook) creates an instance of LookupMerger that ensures that from the ProjectOpenedHook instances in project's lookup, the project's own is always called first. urn:netbeans-org:apichanges:DropDownButton-added [org.openide.awt] Added factory class for drop-down buttons 2007-05-04T00:00:00Z saubrecht saubrecht@netbeans.org Added a factory class that can create special buttons with a small arrow icon that brings up a popup menu when clicked. urn:netbeans-org:apichanges:isOpenedEditorTopComponent [org.openide.windows] Added a method to check the TopComponent type - editor/view 2007-05-03T00:00:00Z saubrecht saubrecht@netbeans.org Added method WindowManager.isOpenedEditorTopComponent(TopComponent) for checking of the TopComponent type - editor or view. The method returns true if the given TopComponent is opened and is docked into an editor-type Mode. It is safe to call this method outside the event dispatch thread. urn:netbeans-org:apichanges:default-constructor-for-wizarddescriptor [org.openide.dialogs] New WizardDescriptor constructor. 2007-04-30T00:00:00Z jtulach jtulach@netbeans.org New WizardDescriptor constructor for subclasses. It allows to eliminate unchecked warnings. urn:netbeans-org:apichanges:api.Language.refresh [org.netbeans.modules.lexer] Added Language.refresh(). 2007-04-27T00:00:00Z mmetelka mmetelka@netbeans.org

Added Language.refresh() to allow languages framework and other clients to update contents of a language dynamically.

urn:netbeans-org:apichanges:version-1.18 [org.netbeans.modules.diff] New DiffController API 2007-04-17T00:00:00Z msandor msandor@netbeans.org DiffController class is a successor to DiffView interface that provides more features. urn:netbeans-org:apichanges:ui.gestures.collector [org.netbeans.modules.editor.completion] Support for UI Gestures Collector 2007-04-17T00:00:00Z dbalek dbalek@netbeans.org

Adds few structured logging triggers to cooperate with the UI Gestures Collector.

urn:netbeans-org:apichanges:support.Lookups.forPath [org.netbeans.modules.settings] Provides support for Lookups.forPath 2007-04-17T00:00:00Z jtulach jtulach@netbeans.org Provides support for Lookups.forPath(String) method in order to replace now deprecated FolderLookup. urn:netbeans-org:apichanges:Lookups.forPath [org.openide.util] Added simplified support for named lookups Lookups.forPath 2007-04-17T00:00:00Z jtulach jtulach@netbeans.org

New method Lookups.forPath(String) has been added to replace now deprecated FolderLookup and allow modules who wants to read settings from layers to do so with a simpler code, without dependency on DataSystems API.

urn:netbeans-org:apichanges:panelsPolicy [org.netbeans.spi.navigator] Added SPI interface NavigatorLookupPanelsPolicy. 2007-04-16T00:00:00Z dsimonek dsimonek@netbeans.org NavigatorLookupPanelsPolicy is new SPI interface for SPI clients who want to affect searching mechanism for available NavigatorPanel implementations. Method NavigatorLookupPanelsPolicy.getPanelsPolicy() allows for example to remove active Node/DataObject related NavigatorPanel implementations from Navigator window.

urn:netbeans-org:apichanges:api.TokenHierarchy.tokenSequenceList [org.netbeans.modules.lexer] Added TokenHierarchy.tokenSequenceList(). 2007-04-13T00:00:00Z mmetelka mmetelka@netbeans.org

Added TokenHierarchy.tokenSequenceList() to find token sequences having certain language path throughout the whole input source or just within given offset bounds.
Also added LanguagePath.embedded(language) and LanguagePath.embedded(suffixLanguagePath).

urn:netbeans-org:apichanges:api_review [org.netbeans.spi.tasklist] API changes to reflect the results of API inception review. 2007-04-11T00:00:00Z saubrecht saubrecht@netbeans.org

API has changed due to the results of API inception review.

urn:netbeans-org:apichanges:issue-99048 [org.netbeans.api.visual] AnimatorListener added 2007-04-10T00:00:00Z dkaspar dkaspar@netbeans.org AnimatorListener interface has been added. It allows listening to important events of Animator interface implementation. Built-in animators are accessible using getters on SceneAnimator class. urn:netbeans-org:apichanges:issue-99054 [org.netbeans.api.visual] ConnectionWidgetCollisionsCollection added 2007-04-10T00:00:00Z dkaspar dkaspar@netbeans.org New ConnectionWidgetCollisionsCollection interface added. It allows to obtain a context of currently routed ConnectionWidget. It can be used using RouterFactory.createOrthogonalSearchRouter factory method. urn:netbeans-org:apichanges:build-extender [org.netbeans.modules.project.ant] Support for externally extending the project's build script 2007-04-10T00:00:00Z mkleint mkleint@netbeans.org

Add framework for extending the project's build script with 3rd party snippets, allowing automated extensions to the build process.

urn:netbeans-org:apichanges:undoRedo [org.netbeans.spi.navigator] Added SPI interface NavigatorPanelWithUndo. 2007-04-10T00:00:00Z dsimonek dsimonek@netbeans.org NavigatorPanelWithUndo is new SPI interface which extands NavigatorPanel by support for undoing and redoing changes in navigation views. Method NavigatorPanelWithUndo.getUndoRedo() allows clients to specify UndoRedo support that will be propagated to the Navigator TopComponent when this panel is active in navigation area. urn:netbeans-org:apichanges:openAtTabPosition [org.openide.windows] Added methods for opening TopComponent at specified position 2007-04-06T00:00:00Z dsimonek dsimonek@netbeans.org Added method TopComponent.openAtTabPosition(int) for opening and inserting top component at specified position. For retrieving current position, method TopComponent.getTabPosition() was added. urn:netbeans-org:apichanges:issue-100047 [org.netbeans.api.debugger.jpda] Support for heap walking. 2007-04-05T00:00:00Z mentlicher mentlicher@netbeans.org

In order to be able to provide heap walking functionality, we need methods for retrieval of class instances and back references.

Added methods:
Field.getDeclaringClass(), JPDAClassType.getClassLoader(), JPDAClassType.getSuperClass(), JPDAClassType.getInstanceCount(), JPDAClassType.getInstances(), JPDADebugger.canGetInstanceInfo(), JPDADebugger.getAllClasses(), JPDADebugger.getClassesByName(), JPDADebugger.getInstanceCounts(), ObjectVariable.getReferringObjects(), ObjectVariable.getClassType(), ObjectVariable.getUniqueID().

Added classes:
VariableType, JPDAArrayType.

urn:netbeans-org:apichanges:issue-98641 [org.netbeans.api.visual] Added LabelWidget.orientation property 2007-04-03T00:00:00Z dkaspar dkaspar@netbeans.org Added support for rendering vertical labels. urn:netbeans-org:apichanges:issue-98307 [org.netbeans.api.visual] Widget.paintBorder method introduced 2007-04-03T00:00:00Z dkaspar dkaspar@netbeans.org Widget.paintBorder method introduced. urn:netbeans-org:apichanges:SaveAsCapable [org.openide.loaders] SaveAsCapable interface defines the ability to save DataObject under a different file name and/or extension 2007-03-30T00:00:00Z saubrecht saubrecht@netbeans.org

The DataEditorSupport adds default implementation of SaveAsCapable interface to the CookieSet of DataObjects created by UniFileLoaders. The default implementation calls copyRename method on the DataObject.

urn:netbeans-org:apichanges:issue-99257 [org.netbeans.api.debugger.jpda] API for retrieval of method arguments. 2007-03-28T00:00:00Z mentlicher mentlicher@netbeans.org

An access to method arguments in source code is necessary for cases where we do not have full debug information.

Added methods:
EditorContext.getArguments()

Added classes:
EditorContext.MethodArgument

urn:netbeans-org:apichanges:FileEncodingQueryOnDefaultFS [org.netbeans.modules.queries] Default Encoding of System File System is always UTF-8 2007-03-28T00:00:00Z jtulach jtulach@netbeans.org

Whenever someone queries for encoding of a file object on default file system (e.g. the one that is provided by layers), it will get UTF-8 as the default encoding and not the system one. As a result all resources on layers should be in UTF-8 encoding.

urn:netbeans-org:apichanges:project-license-property [org.netbeans.modules.projectuiapi] Adding template attribute project.license 2007-03-26T00:00:00Z jpokorsky jpokorsky@netbeans.org Added the template attribute project.license for templates using scripting language. urn:netbeans-org:apichanges:ChangeSupport [org.openide.util] Added ChangeSupport 2007-03-26T00:00:00Z abadea abadea@netbeans.org

Added a ChangeSupport class to simplify the management of ChangeListeners and the firing of ChangeEvents.

urn:netbeans-org:apichanges:api.TokenChange.isBoundsChange [org.netbeans.modules.lexer] Added TokenChange.isBoundsChange(). 2007-03-23T00:00:00Z mmetelka mmetelka@netbeans.org

Added TokenChange.isBoundsChange() to check for changes that only modify token bounds (see method's javadoc).
Improved incrementality for embedded sections for bounds changes.

urn:netbeans-org:apichanges:FileEncodingQuery.loaders [org.openide.loaders] DataEditorSupport uses FileEncodingQuery to read or write document in correct encoding 2007-03-14T00:00:00Z tzezula tzezula@netbeans.org

The DataEditorSupport overides the loadFromStreamToKit and saveFromKitToStream methods. In these methods it uses FileEncodingQuery to find out the encoding of the file, creates the Reader or Writer with obtained encoding and calls EditorKit.read or EditorKit.write.

urn:netbeans-org:apichanges:issue-97563 [org.netbeans.api.visual] Added ActionFactory.createActionMapAction methods 2007-03-13T00:00:00Z dkaspar dkaspar@netbeans.org Added an action whith is using ActionMap and InputMap for handling key-presses and a popup menu. urn:netbeans-org:apichanges:add-content-to-sfs [org.openide.filesystems] Allow modules to dynamically add/remove layer content 2007-03-12T00:00:00Z jtulach jtulach@netbeans.org

Repository.getDefaultFileSystem's content can now be influenced by adding own FileSystems into global Lookup.getDefault(). This is supposed to work in a standalone mode as well as inside NetBeans Platform. The tutorial is available in the usecases section of achitecture description.

urn:netbeans-org:apichanges:issue-91613 [org.netbeans.api.visual] Cut-distance can be specified for Triangle anchor shape 2007-03-09T00:00:00Z dkaspar dkaspar@netbeans.org AnchorShapeFactory.createTriangleAnchorShape factory method now takes cut-distance parameter. urn:netbeans-org:apichanges:issue-97562 [org.netbeans.api.visual] Renaming non-standard names - FillLayout and SerialLayout 2007-03-09T00:00:00Z dkaspar dkaspar@netbeans.org FillLayout class has been renamed to OverlayLayout. SerialLayout class has been renamed to FlowLayout. At the same time their factory methods has bee renamed too. LayoutFactory.createFillLayout method renamed to LayoutFactory.createOverlayLayout. LayoutFactory.createHorizontalLayout method renamed to LayoutFactory.createHorizontalFlowLayout. LayoutFactory.createVerticalLayout method renamed to LayoutFactory.createVerticalFlowLayout. The original methods are deprecated now and are going to be removed for 6.0 Milestone 9. The new methods has been added. Also BorderLayout.createFancyDashedBorder method is going to be removed for 6.0 Milestone 9. Use BorderLayout.createDashedBorder(...,true) method instead. Note that the LayouFactory.SerialAlignment enum name is not changed. urn:netbeans-org:apichanges:issue-97564 [org.netbeans.api.visual] Move deprecated classes out from the public API - ListWidget and ListItemWidget 2007-03-09T00:00:00Z dkaspar dkaspar@netbeans.org ListWidget and ListItemWidget are not in final shape and are deprecated. Therefore they have been moved out from the public-API packages. Now they are copied in the org.netbeans.modules.visual.experimental.widget.general package. The original classes are still deprecated and going to be removed for 6.0 Milestone 9. Note that if you want to use the experimental widgets (outside of the public-API packages), you have to set an implementation dependency on org.netbeans.api.visual module. Please, do not use implemementation dependency for anything except this. urn:netbeans-org:apichanges:issue-95110 [org.netbeans.api.visual] The library API becomes stable 2007-03-08T00:00:00Z dkaspar dkaspar@netbeans.org The library API becomes stable. urn:netbeans-org:apichanges:netbeans.windows [org.openide.windows] Removal of netbeans.windows=sdi and netbeans.windows=mdi cmnd line option. 2007-03-06T00:00:00Z dsimonek dsimonek@netbeans.org Command line option netbeans.windows=(mdi,sdi) used for starting the system either in sdi or mdi mode, was deleted. Support for sdi was dropped and replaced by floating windows support. System will now always start in mdi mode. urn:netbeans-org:apichanges:Line.SHOW_REUSE [org.openide.text] Adding Line.SHOW_REUSE and Line.SHOW_REUSE_NEW constants for Line.show method 2007-03-05T00:00:00Z pnejedly pnejedly@netbeans.org

The Line.show() method accepts show mode constant, that influences the way the Line is displayed on the request. These additional constants provide new modes for opening the line in a shared editor window that can be replaced by subsequent calls of Line.show(SHOW_REUSE) on Lines from different Document. This is useful for quick source browsing without cluttering the UI with too many opened editors.

urn:netbeans-org:apichanges:includes-excludes.classpath [org.netbeans.api.java] Support for specifying classpath inclusion 2007-03-01T00:00:00Z jglick jglick@netbeans.org

Classpath implementations can now specify which files and folders/packages to include or exclude. (This could be used for binary classpaths such as COMPILE but currently only excludes on SOURCE paths are honored by Java language features.)

urn:netbeans-org:apichanges:IncludeExcludeVisualizer [org.netbeans.modules.java.project] Added IncludeExcludeVisualizer support class 2007-03-01T00:00:00Z jglick jglick@netbeans.org A new utility class which is handy for previewing include and exclude patterns (Ant syntax) for source groups, for example in project customizer dialogs. urn:netbeans-org:apichanges:api.PartType.added [org.netbeans.modules.lexer] Added PartType for token parts support 2007-03-01T00:00:00Z mmetelka mmetelka@netbeans.org

Added PartType enum and Token.partType() that identifies whether the token is COMPLETE or which part of a complete token this part represents (START, INNER or END).

urn:netbeans-org:apichanges:includes-excludes.ant [org.netbeans.modules.project.ant] Support for source root includes and excludes 2007-03-01T00:00:00Z jglick jglick@netbeans.org

Ant-based projects can now conveniently specify include and exclude lists for source groups based on Ant's standard patternset syntax.

urn:netbeans-org:apichanges:CloseableTabbedPane-added [org.openide.awt] Added TabbedPane with closeable tabs 2007-02-28T00:00:00Z saubrecht saubrecht@netbeans.org Added a factory class for special JTabbedPane that displays a small 'close' button in each tab. When user clicks the close button a PropertyChangeEvent is fired from the tabbed pane. urn:netbeans-org:apichanges:mime-type-associations [org.netbeans.spi.palette] Allow associating palette content with document mime type. 2007-02-27T00:00:00Z saubrecht saubrecht@netbeans.org

The previous version of palette API mandated that editor TopComponent had to insert a PaletteController instance into its Lookup if it wants to associate the palette with it. Now it is possible to associate the palette also with an existing editor without the need to change its implementation, e.g. to add code snippets palette to java source editor.

If the mime type of active editor window has an associated instance of PaletteController in the XML layer system then palette window opens and displays the specified palette contents. The PaletteController from TopComponent's Lookup takes precedens over the PaletteController found from mime type lookup in the XML layer (if any) for backwards compatibility.

The new API is fully backwards compatible and there are no implications for existing palette providers.

urn:netbeans-org:apichanges:isEditorTopComponent [org.openide.windows] Added a method to check the type of a TopComponent - 'editor' or 'view' 2007-02-22T00:00:00Z saubrecht saubrecht@netbeans.org Added method isEditorTopComponent( TopComponent tc) to WindowManager that returns true if there is a Mode that the TopComponent will be/is docked to and the Mode is of 'editor' kind (i.e. holds editor windows). urn:netbeans-org:apichanges:Breakpoint.validity [org.netbeans.api.debugger] Support for breakpoint validity. 2007-02-21T00:00:00Z mentlicher mentlicher@netbeans.org

Added fields: Breakpoint.PROP_VALIDITY - This constant is used in property change events as a notification about change in validity.
Breakpoint.VALIDITY - enumeration of constants for breakpoint validity.

Added methods: Breakpoint.getValidity(), Breakpoint.getValidityMessage(), Breakpoint.setValidity() - validity management.

urn:netbeans-org:apichanges:StreamSource-extended [org.netbeans.modules.diff] StreamSource extended 2007-02-21T00:00:00Z msandor msandor@netbeans.org StreamSource provides more ways of defining the source (a FileObject) and can declare its editability. urn:netbeans-org:apichanges:BinaryForSourceQuery [org.netbeans.api.java] BinaryForSourceQuery returns folder(s) containing binaries for source rooot 2007-02-08T00:00:00Z tzezula tzezula@netbeans.org

The new API BinaryForSourceQuery was added to allow clients to find out the output (class files) corresponding to source root. The query uses instances of a SPI interface BinaryForSourceQueryImplementation registered in the system lookup to find out the binaries. When no binary is found it uses the default algorithm (SFBQ.findSources(ClassPath.EXECUTE) == sourceRoot)

urn:netbeans-org:apichanges:FileEncodingQuery [org.netbeans.modules.queries] Added support for obtaining encoding of files 2007-02-08T00:00:00Z tzezula tzezula@netbeans.org

Added a query (FileEncodingQuery) to find out the encoding of the file. The query delegates to the instances of the SPI interface (FileEncodingQueryImplementation), when the SPI implementations don't know anything about the file encoding it returns the encoding corresponding to the file.encoding property. The API also provides getter and setter for default project encoding which should be used by the project generator.

urn:netbeans-org:apichanges:WizardDescriptor.getProperties [org.openide.dialogs] New method getProperties added to WizardDescriptor 2007-02-08T00:00:00Z jtulach jtulach@netbeans.org New method to get list of all properties of the WizardDescriptor added to the class. urn:netbeans-org:apichanges:scripting [org.openide.loaders] Integration with scripting and templating 2007-02-08T00:00:00Z jtulach jtulach@netbeans.org

Two new interfaces - CreateFromTemplateHandler and CreateFromTemplateAttributesProvider to enhance the abilities of data object to be created with parametrized values. Also new method createFromTemplate taking extra map of named arguments has been added, so users can pass the data object additional info that can be processed during instantiation of the template.

This is particallary useful when using scripting and templating languages during create from template operation.

urn:netbeans-org:apichanges:CloneableEditorSupportRedirector [org.openide.text] CloneableEditorSupportRedirector 2007-02-07T00:00:00Z jtulach jtulach@netbeans.org

The CloneableEditorSupportRedirector class allows a redirection of operations on a CloneableEditorSupport object to another one. This can be useful if there are two logical files representing one physical and one wants to have just a single editor for both files. In such case just implement the CloneableEditorSupportRedirector.

urn:netbeans-org:apichanges:notifyLater_improved [org.openide.dialogs] Method notifyLater improved to work before main window is opened 2007-02-06T00:00:00Z dsimonek dsimonek@netbeans.org Implementation of method notifyLater improved to work before main window is opened. For example: When method is called from ModuleInstall.restored, then modal dialog is opened and blocks main window until dialog is closed. Typical use case is login dialog. urn:netbeans-org:apichanges:generified.wizarddescriptor.panel [org.openide.dialogs] Generified WizardDescriptor.Panel 2007-02-02T00:00:00Z jtulach jtulach@netbeans.org WizardDescriptor.Panel and WizardDescriptor.Iterator has been generified to take generic type for data passed into readSettings and storeSettings objects. urn:netbeans-org:apichanges:ActionsManager.ACTION_STEP_OPERATION [org.netbeans.api.debugger] Support for stepping over operations. 2007-02-01T00:00:00Z mentlicher mentlicher@netbeans.org

Added fields: ActionsManager.ACTION_STEP_OPERATION, This constant is used in action performer which implements an operation step.

urn:netbeans-org:apichanges:issue-93842 [org.netbeans.api.debugger.jpda] Support for stepping over operations. 2007-02-01T00:00:00Z mentlicher mentlicher@netbeans.org

In order to be able to provide stepping over operations, we need a representation of an operation and some way how to retrieve the operation(s) from a Thread and a CallStackFrame.

Added fields:
JPDAStep.STEP_OPERATION, EditorContext.CURRENT_LAST_OPERATION_ANNOTATION_TYPE, EditorContext.CURRENT_EXPRESSION_SECONDARY_LINE_ANNOTATION_TYPE, EditorContext.CURRENT_EXPRESSION_CURRENT_LINE_ANNOTATION_TYPE

Added methods:
CallStackFrame.getCurrentOperation(), JPDAThread.getCurrentOperation(), JPDAThread.getLastOperations(), EditorContext.createMethodOperation(), EditorContext.addNextOperationTo(), EditorContext.createPosition(), EditorContext.getOperations()

Added classes:
EditorContext.BytecodeProvider, EditorContext.Operation, EditorContext.Position

urn:netbeans-org:apichanges:Actions.ButtonActionConnector-added [org.openide.awt] Actions.ButtonActionConnector interface added 2007-02-01T00:00:00Z dstrupl dstrupl@netbeans.org The addition enables to plug in additional logic for action enabling and disabling based on for example authorization information. The added SPI interface is being looked up in the default lookup. If there is no implementation the original behaviour is preserverd. urn:netbeans-org:apichanges:JavaProjectConstants.SOURCES_TYPE_RESOURCES [org.netbeans.modules.java.project] Add SourceGroup type for resources that are separate from sources 2007-01-30T00:00:00Z mkleint mkleint@netbeans.org Add a new Sourcegroup type for resources, if these are not put together with Java sources. (For example Maven based projects put resource files like images, or properties files in different source structures) Useful for creating new resource files in a project from a 3rd party module. urn:netbeans-org:apichanges:display-name [org.netbeans.spi.palette] Allow display name and tooltip to be defined directly in item's XML 2007-01-30T00:00:00Z saubrecht saubrecht@netbeans.org

Now it's possible to specify item's display name and tooltip directly in item's XML definition (instead of providing bundle name and keys). It's needed for items created at runtime, for example code snippets highlighted in the editor and dropped to the palette.

urn:netbeans-org:apichanges:custom-refresh [org.netbeans.spi.palette] Palette providers need to be notified when the palette content is being refreshed. 2007-01-27T00:00:00Z saubrecht saubrecht@netbeans.org

Now it's possible to provide an action that will be invoked as part of palette's 'refresh' logic.

urn:netbeans-org:apichanges:AttributesUtilities [org.netbeans.modules.editor.settings] AttributesUtilities added 2007-01-26T00:00:00Z vstejskal vstejskal@netbeans.org

The AttributesUtilities class has been added.

urn:netbeans-org:apichanges:api.tokensequence.move.semantics [org.netbeans.modules.lexer] Changed TokenSequence.move() and moveIndex() use 2007-01-16T00:00:00Z mmetelka mmetelka@netbeans.org

Changed the TokenSequence.move() to position before the particular token that "contains" the offset (or after the last token if the given offset is too high). Additional moveNext() is necessary to actually move to the next token.
TokenSequence.moveIndex() was modified in a similar way (see javadocs).
TokenSequence.moveFirst() and moveLast() were replaced by moveStart() that positionins before the first token and by moveEnd() that positions after the last token.
TokenSequence.isEmpty() added to check whether there are no tokens in the TS.

urn:netbeans-org:apichanges:Utilities.isMac [org.openide.util] Added Utilities.isMac() method 2007-01-11T00:00:00Z rkubacki rkubacki@netbeans.org

Added a Utilities.isMac() method for checking if current platform is Mac.

urn:netbeans-org:apichanges:non-leaf-category-node-customizer [org.netbeans.modules.projectuiapi] Added a way how to define UI component for non-leaf category node in project customizer 2007-01-05T00:00:00Z mkubec mkubec@netbeans.org Allow to define UI component for non-leaf category node in project customizer by setting name of the file in folder on layer filesystem. If there is a category with some subcategories and UI component is needed for the category, the folder that defines the category in layer needs to contain file with name 'Self.instance'. Instance of the file will be used to create customizer component for the category. urn:netbeans-org:apichanges:FontColorSettings.PROP_FONT_COLORS [org.netbeans.modules.editor.settings] Deprecating FontColorSettings.PROP_FONT_COLORS 2007-01-04T00:00:00Z vstejskal vstejskal@netbeans.org

Deprecating FontColorSettings.PROP_FONT_COLORS. It should have never been made public in the first place. Nobody can listen on this property anyway and the general contract is that settings instances in MimeLookup are immutable and if anything changes the whole instance (e.g. FontColorSettings) is replaced.

urn:netbeans-org:apichanges:OptionsDisplayerAPI [org.netbeans.modules.options.api] API to open the options dialog with some category pre-selected 2006-12-19T00:00:00Z rmatous rmatous@netbeans.org Added API to open the options dialog with some category pre-selected. urn:netbeans-org:apichanges:Parameters [org.openide.util] Added Parameters 2006-12-08T00:00:00Z abadea abadea@netbeans.org

Added a Parameters class for checking the values of method parameters.

urn:netbeans-org:apichanges:api.lexer.release [org.netbeans.modules.lexer] Added Lexer.release() 2006-12-07T00:00:00Z mmetelka mmetelka@netbeans.org

Added Lexer.release() useful for lexer instances caching.

urn:netbeans-org:apichanges:api.customembedding [org.netbeans.modules.lexer] Adding custom embedding creation TokenSequence.createEmbedding() 2006-11-23T00:00:00Z mmetelka mmetelka@netbeans.org

Extracted TokenHierarchyEvent.Type inner class into TokenHierarchyEventType top-level class.
Adding TokenSequence.createEmbedding() method for creation of a custom embedding. TokenHierarchyEventType.EMBEDDING fired after embedding creation.
Affected offset information (affectedStartOffset() and affectedEndOffset()) moved from TokenChange to TokenHierarchyEvent
There can be now more than one embedded change in a TokenChange.
Removed tokenComplete parameter from LanguageHierarchy.embedding() because the token incompletness will be handled in a different way.
Swapped order of token and languagePath parameters in LanguageProvider to be in sync with LanguageHierarchy.embedding().
LanguageEmbedding is now a final class (instead of abstract class) with private constructor and static create() method. That allows better control over the evolution of the class and it also allows to cache the created embeddings to save memory.
LanguageEmbedding is now generified with the T extends TokenId which is a generification of the language which it contains.
TokenHierarchy.languagePaths() set contains all language paths used in the token hierarchy. TokenHierarchyEventType.LANGUAGE_PATHS fired after change of that set.

urn:netbeans-org:apichanges:generics [org.openide.windows] Generics 2006-11-23T00:00:00Z saubrecht saubrecht@netbeans.org Source level has been upgraded to 1.5 and all API use generics now. urn:netbeans-org:apichanges:org.netbeans.api.editor.settings.implementation [org.netbeans.modules.editor.settings] OpenIDE-Module-Needs: org.netbeans.api.editor.settings.implementation 2006-11-13T00:00:00Z vstejskal vstejskal@netbeans.org

The module is now autoload and it needs the org.netbeans.api.editor.settings.implementation token. This token is provided by the editor/settings/storage module by default.

urn:netbeans-org:apichanges:NbCollections.iterable [org.openide.util] Added NbCollections.iterable(...) methods 2006-11-13T00:00:00Z jglick jglick@netbeans.org

Added two new methods to make enhanced for-loops easier to use with legacy APIs returning Iterator or Enumeration.

urn:netbeans-org:apichanges:nbpreferences [org.openide.util] Added NbPreferences.forModule(Class cls) and NbPreferences.root() methods as static factory methods for getting preference node from NetBeans preference tree. 2006-11-10T00:00:00Z rmatous rmatous@netbeans.org

NetBeans preference tree is provided by NetBeans implementation of preferences which uses userdir as a storage. Both newly added methods return preferences node from NetBeans preference tree. Method NbPreferences.root() returns root preference node. Method NbPreferences.forModule(Class cls) returns preference node whose path depends whether class provided as a parameter was loaded as a part of any module or not. If so, then absolute path corresponds to slashified code name base of module. If not, then absolute path corresponds to class's package. See document Preferences in NetBeans to learn more about preferences in NetBeans.

urn:netbeans-org:apichanges:maximizedMode [org.openide.windows] Enhanced logic for maximized mode 2006-11-10T00:00:00Z saubrecht saubrecht@netbeans.org When switching an editor TopComponent to maximized mode other components slide out while some components (e.g. palette) stay docked. It's also possible to maximize slided-in windows. Full description in http://ui.netbeans.org/docs/ui/fullscreen/fullscreen.html urn:netbeans-org:apichanges:deleted-PropertySheetSettings [org.openide.explorer] PropertySheetSettings was deleted 2006-11-09T00:00:00Z rmatous rmatous@netbeans.org PropertySheetSettings was deleted from org.openide.explorer. To ensure binary compatibility there was added dependency transformation that ensures that for all modules that depend on org.openide.explorer with spec.version < 6.8 is added additional dependency on org.openide.options with spec.version 6.6 during runtime. urn:netbeans-org:apichanges:FontColorNames-SimpleValueNames-constructors [org.netbeans.modules.editor.settings] Private constructors in FontColorNames and SimpleValueNames 2006-11-08T00:00:00Z vstejskal vstejskal@netbeans.org

The FontColorNames and SimpleValueNames classes used to have a default construtor, even though it had never made sense to create instances of them. The default constructors have been removed and a privat noargs constructor has been added to both of them preventing an accidental instantiation.

urn:netbeans-org:apichanges:GenericCookieSet [org.openide.nodes] CookieSet can hold any objects and not just cookies 2006-11-06T00:00:00Z jtulach jtulach@netbeans.org New method CookieSet.createGeneric has been added. It allows to create an instance of CookieSet that can contain any object, not just Cookies. This addition change is accompanied with two additional changes: CookieSet now implements Lookup.Provider and thus has a method getLookup to allow queries for of its content. Also there is a new method assign(clazz, instances) that allows to add/remove plain old java objects to the CookieSet. urn:netbeans-org:apichanges:fileobject-in-lookup [org.openide.loaders] DataNode.getLookup contains FileObject, DataObject has getLookup() 2006-11-02T00:00:00Z jtulach jtulach@netbeans.org

Since now, each DataNode constructed without using own lookup, shall have FileObject(s) associated with its DataObject available in its own lookup. Also a DataObject has been retrofitted to implement a Lookup.Provider interface and thus have its getLookup method that can be used instead of the old getCookie one.

urn:netbeans-org:apichanges:suspend [org.netbeans.api.progress] Add ProgressHandle.suspend(String) method for visual suspend of a running task. 2006-10-23T00:00:00Z mkleint mkleint@netbeans.org

Adding suspend(String) to ProgressHandle class. Any progress event coming after this call wakes up the progress bar to previous state.

Currently running task can switch to silent suspend mode where the progress bar stops moving, hides completely or partially. The exact UI behaviour is undefined.

Useful to make progress in status bar less intrusive for very long running tasks, eg. running an ant script that executes user application, debugs user application etc.

urn:netbeans-org:apichanges:ProjectCustomizer.Category.buttonListener [org.netbeans.modules.projectuiapi] Ability to attach a ok button listener on single customizer category. 2006-10-23T00:00:00Z mkleint mkleint@netbeans.org Allow to attach a listener to ProjectCustomizer.Category that will notify the Category and it's panel that the changes ought to be applied. This is generally useful as a fallback, general solution for 3rd party plugging into the project customizer in case the given project type doesn't provide model-driven project updating mechanism. urn:netbeans-org:apichanges:api.languageDescription.find [org.netbeans.modules.lexer] Adding LanguageDescription.find(String mimePath) 2006-10-18T00:00:00Z vstejskal vstejskal@netbeans.org

Adding the LanguageDescription.find(String mimePath) method, which can be used for looking up LanguageDescriptions by their mime types.

urn:netbeans-org:apichanges:slideInSize [org.openide.windows] Slided-in windows remember their size 2006-10-17T00:00:00Z saubrecht saubrecht@netbeans.org Each TopComponent in a sliding mode (left/right/bottom) can now have a different width/height when slided-in. These user defined sizes are stored in sliding mode's properties. urn:netbeans-org:apichanges:PROPERTY_MAIN_PROJECT [org.netbeans.modules.projectuiapi] Added OpenProjects.PROPERTY_MAIN_PROJECT property 2006-10-16T00:00:00Z mkleint mkleint@netbeans.org Added OpenProjects.PROPERTY_MAIN_PROJECT property and firing changes in main project property value to listeners attached to OpenProjects. urn:netbeans-org:apichanges:help_ctx [org.netbeans.spi.palette] Added helpId attribute 2006-10-16T00:00:00Z saubrecht saubrecht@netbeans.org

Now it's possible to add helpId attribute to palette's root, categories and items that will be used to create appropriate HelpCtx. The attribute can be specified in XML layer as a folder (palette's root and categories) or file attribute (palette items) or it can be provided directly by appropriate Nodes.

When F1 key is pressed in palette's window then first the selected item is asked for HelpCtx id. If no item is selected or it does not provide specific help id then selected category is checked for help id. If the category does not provide any help id either then palette's root is asked for help id. If the root does not define any then the default help id CommonPalette will be used.

urn:netbeans-org:apichanges:IntrospectedInfo.serializable [org.apache.tools.ant.module] IntrospectedInfo no longer serializable 2006-10-14T00:00:00Z jglick jglick@netbeans.org

As part of a switch to the Preferences API, this class no longer needs to be serialized.

urn:netbeans-org:apichanges:spi.languageprovider.findLanguageEmbedding [org.netbeans.modules.lexer] LanguageProvider.findEmbeddedLanguage() changed to findLanguageEmbedding 2006-10-12T00:00:00Z vstejskal vstejskal@netbeans.org

LanguageProvider.findEmbeddedLanguage() method signature was changed. The method is now called findLanguageEmbedding and returns LanguageEmbedding instead of just LanguageDescription.

urn:netbeans-org:apichanges:tcOpenedClosed [org.openide.windows] New constants PROP_TC_OPENED and PROP_TC_CLOSED in TopComponent.Registry 2006-10-12T00:00:00Z dsimonek dsimonek@netbeans.org New constants PROP_TC_OPENED and PROP_TC_CLOSED was added to the TopComponent.Registry. When any instance of TopComponent is opened through its open() method, either by user or programmatically, property change event PROP_TC_OPENED is fired. Similarly, when TopComponent is closed by close() method, PROP_TC_CLOSED is fired. So clients listening to property changes of TopComponent.Registry can track opened and closed TopComponents easily. urn:netbeans-org:apichanges:generification.improved [org.netbeans.modules.lexer] Improved generification 2006-10-11T00:00:00Z mmetelka mmetelka@netbeans.org

Generification of methods of LanguagePath, TokenSequence and other classes has been improved.

urn:netbeans-org:apichanges:lookup-provider [org.netbeans.modules.projectapi] Added support for composing project's lookup from multiple sources. 2006-10-05T00:00:00Z mkleint mkleint@netbeans.org

Added interfaces and support classes that can be used to compose the project's lookup from multiple 3rd party sources. Framework for creating merged instances included. LookupMerger implementation for Sources added.

urn:netbeans-org:apichanges:lookup-provider.ui [org.netbeans.modules.projectuiapi] Added LookupMerger implementations for PrivilegedTemplates and RecommendedTemplates 2006-10-05T00:00:00Z mkleint mkleint@netbeans.org

Related to 1.12 change in Project API. LookupMerger implementation for PrivilegedTemplates and RecommendedTemplates added.

urn:netbeans-org:apichanges:navigatorHandler [org.netbeans.spi.navigator] Added API class NavigatorHandler and API method NavigatorHandler.activatePanel. 2006-09-19T00:00:00Z dsimonek dsimonek@netbeans.org NavigatorHandler is new API class for driving navigator behaviour. Method NavigatorHandler.activatePanel(NavigatorPanel) allows clients to programmatically activate the panel - panel becomes active and visible in navigator area. urn:netbeans-org:apichanges:api.tokensequence.move [org.netbeans.modules.lexer] TokenSequence.moveOffset() renamed to move() 2006-09-18T00:00:00Z mmetelka mmetelka@netbeans.org

TokenSequence.moveOffset() was renamed to TokenSequence.move(). The original TokenSequence.move() which is seldom used was renamed to TokenSequence.moveIndex().

urn:netbeans-org:apichanges:NodeFactory [org.netbeans.modules.projectuiapi] Ability to construct project node's children from multiple sources. 2006-09-18T00:00:00Z mkleint mkleint@netbeans.org Added way to declaratively layout the subnodes of the project node, allowing 3rd party contributions to project's Logical/Projects View. The project's node is constructed based on layer folder content. This api change provides just the infrastructure, the actual extension point location is up to the project type implementations. urn:netbeans-org:apichanges:spi.languageprovider [org.netbeans.modules.lexer] Added LanguageProvider 2006-09-14T00:00:00Z vstejskal vstejskal@netbeans.org

The LanguageProvider class was added to the SPI package. It is possible to register instances of this class in the default lookup. The lexer module will use them to find LanguageDescriptions for documents ( according to their mime types) and for tokens, which contain embedded language.

urn:netbeans-org:apichanges:PropertyUtils.userPropertiesProvider.FilterPropertyProvider [org.netbeans.modules.project.ant] Added utilities for constructing richer property evaluators 2006-09-08T00:00:00Z jglick jglick@netbeans.org

Added a new class and a new method to PropertyUtils to make it easier to write a customizer version of AntProjectHelper.getStandardPropertyEvaluator(), among other things.

urn:netbeans-org:apichanges:ProjectConfigurationProvider [org.netbeans.modules.projectapi] Added support for project configurations 2006-09-08T00:00:00Z jglick jglick@netbeans.org

Added an interface ProjectConfigurationProvider which can be included in a project's lookup to support switchable configurations / profiles.

urn:netbeans-org:apichanges:CommonProjectActions.setProjectConfigurationAction [org.netbeans.modules.projectuiapi] Added CommonProjectActions.setProjectConfigurationAction 2006-09-08T00:00:00Z jglick jglick@netbeans.org

Added method CommonProjectActions.setProjectConfigurationAction() to permit projects supporting configurations to include a context menu item in their logical view to change the active configuration.

urn:netbeans-org:apichanges:createData-and-createFolder-take-File-as-parameter [org.openide.filesystems] Added additional methods FileUtil.createData and FileUtil.createFolder that take java.io.File as a parameter. 2006-09-07T00:00:00Z rmatous rmatous@netbeans.org

Added two utility methods for creation of folders and data files that take java.io.File as a parameter: public static FileObject createFolder (final File folder) throws IOException and public static FileObject createData (final File folder) throws IOException

urn:netbeans-org:apichanges:issue-83188 [org.netbeans.api.debugger.jpda] Added setPreferedClassName and getPreferredClassName methods to LineBreakpoint 2006-08-30T00:00:00Z mentlicher mentlicher@netbeans.org

In order to be able to provide the class name for which the breakpoint should be submitted. This is necessary for JSP.

urn:netbeans-org:apichanges:spi.tokenhandler [org.netbeans.modules.lexer] Removed TokenIdFilter and TokenHandler 2006-08-30T00:00:00Z mmetelka mmetelka@netbeans.org

The TokenIdFilter class was removed from the API. Instead of it Set<? extends TokenId> should be used where appropriate.
With the TokenFactory now being final the TokenHandler is no longer needed. The few remaining overridable SPI methods were moved to LanguageHierarchy and the TokenHandler class was removed.
LanguagePath and InputAttributes parameters were added to LanguageHierarchy.createLexer() (to the end of the existing parameters) in order to allow the lexer to react to input attributes.
For consistency the parameters of LanguageHierarchy.embedding() were reordered so that the LanguagePath and InputAttributes parameters are also at the end of the list and in the same order.

urn:netbeans-org:apichanges:invokeWhenUIReady [org.openide.windows] New method to invoke code after main window is shown 2006-08-23T00:00:00Z dsimonek dsimonek@netbeans.org New method WindowManager.invokeWhenUIReady has been added that can be used to execute a code that is supposed to run after main window is shown. urn:netbeans-org:apichanges:completerewrite [org.netbeans.modules.sendopts] Completelly rewritten 2006-08-20T00:00:00Z jtulach jtulach@netbeans.org After the review from others it has been decided to de-generify the interfaces. As a result of this complete rewrite, the API clients need to be fully rewritten as most of the method signatures changed. urn:netbeans-org:apichanges:BeanNode.LookupCtor [org.openide.nodes] BeanNode constructor allows passing Lookup instance 2006-08-18T00:00:00Z pnejedly pnejedly@netbeans.org Adding a new constructors to BeanNode, allowing subclasses to pass context Lookup. urn:netbeans-org:apichanges:LibraryManager.add-remove [org.netbeans.modules.project.libraries] Added methods for adding and removing libraries into/from library manager 2006-08-11T00:00:00Z tzezula tzezula@netbeans.org

Added method for adding and removing a new library into/from the library manager. Added a factory class for creating Library (API object) form LibraryImplementation (SPI object). Added a support methods for listing installed LibraryTypeProviders.

urn:netbeans-org:apichanges:issue-58889 [org.netbeans.api.progress] Add methods to create main/detail labels for an custom placed progress component. 2006-08-03T00:00:00Z mkleint mkleint@netbeans.org

Adding createMainLabelComponent(ProgressHandle) and createDetailLabelComponent(ProgressHandle) to ProgressHandleFactory and AggregateProgressFactory classes. These are complementary to the createProgressComponent(ProgressHandle) method and allow to externalize the display of task's display name and detail messages when embedded in custom UI components.

urn:netbeans-org:apichanges:CloneableEditorSupport.getEditorKit [org.openide.text] Adding CloneableEditorSupport.getEditorKit method 2006-08-02T00:00:00Z vstejskal vstejskal@netbeans.org

The CloneableEditorSupport.getEditorKit() method allows to access EditorKits registered in MimeLookup. This is meant to be the primary way of finding EditorKits registered by Netbeans modules. The JEditorPane.createEditorKitForContentType and the other related methods in JEditorPane should only be used for finding EditorKits provided by JDK.

urn:netbeans-org:apichanges:removeWritables [org.openide.modules] An option to revert user's modifications to XML layer files 2006-08-01T00:00:00Z saubrecht saubrecht@netbeans.org FileObjects created on XML layer now support a new attribute "removeWritables" returning an instance of Callable which removes the local writable version of the given FileObject thus reverting the folder or file to its initial state as defined in XML layers. Please note that is *not* possible to reset FileObject's attributes. urn:netbeans-org:apichanges:issue-78605 [org.netbeans.api.progress] Split API and implementation of progress component 2006-07-24T00:00:00Z mkleint mkleint@netbeans.org

Split the implementation and APIs of progress component.

urn:netbeans-org:apichanges:issue-80629 [org.netbeans.modules.db] Addded a method to open the NewConnectionDialog with an user and password pre-filled and methods which open the NewConnectionDialog and return the newly added database connection 2006-07-20T00:00:00Z abadea abadea@netbeans.org This change adds a showAddConnectionDialog which opens the New Connection Dialog while pre-filling a specified database user and password. It also adds showAddConnectionDialogFromEventThread methods which are counterparts to the showAddConnectionDialog methods, with the difference that they return the newly added database connection, but must be called from the event dispatching thread. urn:netbeans-org:apichanges:automatic-request-of-engine-impl [org.openide.execution] No need to require ExecutionEngine token anymore 2006-07-19T00:00:00Z jtulach jtulach@netbeans.org

If your module depends on org.openide.execution > 1.9 or higher there is no need to specify that it also requires an implementation of the API by use of OpenIDE-Module-Requires: org.openide.execution.ExecutionEngine, this token will be requested automatically by the org.openide.execution module itself.

urn:netbeans-org:apichanges:automatic-request-of-io-impl [org.openide.io] No need to require IOProvider token anymore 2006-07-19T00:00:00Z jtulach jtulach@netbeans.org

If your module depends on org.openide.io > 1.11 or higher there is no need to specify that it also requires an implementation of the API by use of OpenIDE-Module-Requires: org.openide.windows.IOProvider, this token will be requested automatically by the org.openide.io module itself.

urn:netbeans-org:apichanges:needs [org.openide.modules] Requires/Provides and Needs 2006-07-19T00:00:00Z jtulach jtulach@netbeans.org It is possible to require some implementation using OpenIDE-Module-Needs: token which is slightly less restrictive than usual OpenIDE-Module-Requires: token as explain in the documentation. urn:netbeans-org:apichanges:issue-80090 [org.netbeans.api.debugger.jpda] Added JPDAClassType, ClassVariable and ReturnVariable classes 2006-07-12T00:00:00Z mentlicher mentlicher@netbeans.org

In order to be able to provide static context information and return value of methods, three new classes were added.

urn:netbeans-org:apichanges:icon2image [org.openide.util] Added Utilities.icon2Image method to perform conversion from Icon to Image 2006-07-04T00:00:00Z rkubacki rkubacki@netbeans.org

Conversion from Icon to Image is done at various places and newly introduced method avoids the need to duplicate the same code.

urn:netbeans-org:apichanges:AutomaticExtraClasspathProvider.url.factory [org.apache.tools.ant.module] Factory method to create AutomaticExtraClasspathProvider 2006-06-20T00:00:00Z jtulach jtulach@netbeans.org

AutomaticExtraClasspathProvider can now be created in a declarative way. So libraries that wish to provide such Ant extension may just do it in declarative way without depending on AutomaticExtraClasspathProvider class.

urn:netbeans-org:apichanges:notifyLater [org.openide.dialogs] New method to asynchronously show messages 2006-06-20T00:00:00Z jtulach jtulach@netbeans.org Now it is simple to display a message box described by NotifyDescriptor asynchronously using DialogDisplayer.notifyLater . urn:netbeans-org:apichanges:Exceptions [org.openide.util] Added Exceptions class as a replacement for ErrorManager 2006-06-20T00:00:00Z jtulach jtulach@netbeans.org

ErrorManager is now deprecated and its replacement is either Logger or Exceptions.

urn:netbeans-org:apichanges:api_stabilization.options [org.netbeans.modules.options.api] The Options Dialog API has been stabilized. 2006-06-13T00:00:00Z rmatous rmatous@netbeans.org

To indicate that this is now considered a stable API, the major release version was incremented to 1 from 0.

urn:netbeans-org:apichanges:api_stabilization.palette [org.netbeans.spi.palette] The Common Palette API has been stabilized. 2006-06-06T00:00:00Z saubrecht saubrecht@netbeans.org

To indicate that this is now considered a stable API, the major release version was incremented to 1 from 0.

urn:netbeans-org:apichanges:NbCollections [org.openide.util] Added NbCollections and Union2 2006-06-05T00:00:00Z jglick jglick@netbeans.org

Added two new classes useful for transitioning to JDK 5 generics.

urn:netbeans-org:apichanges:ExternalDragAndDrop.explorer [org.openide.explorer] When an external object(s) is dragged over the Explorer, the drag events are passed to Nodes under the cursor. 2006-05-30T00:00:00Z saubrecht saubrecht@netbeans.org

When an external object (e.g. file(s)) is dragged over the Explorer, the drag events passed to Nodes under the cursor. It means that the appropriate Node is asked whether the dragged object(s) can be dropped to it. The drag support classes will also provide appropriate visual drag feedback - change cursor shape and/or draw drop line indicator.

When the object is dropped then the Node under the cursor will be asked to provide supported PasteTypes that will handle the drop.

urn:netbeans-org:apichanges:ExternalDragAndDrop.loaders [org.openide.loaders] Folders in IDE can accept files dragged from outside, files and folders in IDE can be dragged and dropped to external applications. 2006-05-30T00:00:00Z saubrecht saubrecht@netbeans.org

Class DataNode add additional DataFlavors to its Transferable which means that any file or folder can be dragged from the IDE and dropped to any external application that supports file drag and drop operations. The same functionality applies to Copy/Cut and Paste operations.

Class DataFolder.FolderNode now supports file-type DataFlavors so when a file(s) is dropped to a folder node in the IDE then the file is copied into that folder. If the file is a Java source file then the appropriate refactoring will fire up as well.

urn:netbeans-org:apichanges:EditorPaneDragAndDrop [org.openide.text] Editor panes listen for special objects being dragged over them 2006-05-30T00:00:00Z saubrecht saubrecht@netbeans.org

The custom JEditorPane used by CloneableEditor has a custom DropTarget instance which listens for some special objects (usually files) being dragged over the editor pane and uses an instace of ExternalDropHandler class from the global Lookup to see if the drop can be accepted. If the dragged object is supported then the caret in the editor does not follow the cursor to indicate the drop position as if when dragging a text snippet and regular Drop-Copy cursor is shown instead. When the object is dropped into the editor the ExternalDropHandler will process it (e.g. opens the file in a new editor tab).

urn:netbeans-org:apichanges:ExternalDragAndDrop.windows [org.openide.windows] Added ExternalDropHandler abstract class. 2006-05-30T00:00:00Z saubrecht saubrecht@netbeans.org When a file(s) or other objects are dragged over the editor aread of the IDE, the window system will use the global Lookup to get an instance of ExternalDropHandler class. If such an instance is available then it will be used to check whether the drop can be accepted (methods canDrop) and eventually to handle the dropped object(s) as well - method handleDrop - for example open dropped files in editor.
Note that some IDE components may have their own DropTargetListeners (for example Projects view or Files view) therefore the ExternalDropHandler will not be used when dragging over these components.
urn:netbeans-org:apichanges:method-value-with-map [org.openide.filesystems] Semantics of XMLFileSystem's methodvalue extended to also support methods that do not depend on FileSystems API at all 2006-05-29T00:00:00Z jtulach jtulach@netbeans.org

XMLFileSystem's methodvalue now supports also Map attribute, so one can write factory methods that are completely independent on filesystems by creating methods like static Object methodName(Map attrs) or static Object methodName(Map attrs, String s).

urn:netbeans-org:apichanges:ProjectClassPathModifier [org.netbeans.modules.java.project] New ProjectClassPathModifier API/SPI for modification of project's classpath 2006-05-15T00:00:00Z tzezula tzezula@netbeans.org The new SPI interface ProjectClassPathModifierImplementation was created to allow extension modules to add or remove classpath elements (archive files, folders, libraries, subprojects) from the project's classpath. The ProjectClassPathModifierImplementation is provided by the project types in the project's Lookup. The API client uses the static methods of ProjectClassPathModifier which delegate to the SPI. urn:netbeans-org:apichanges:settings.subclasses [org.netbeans.modules.settings] Added new attribute for provider registration - settings.subclasses 2006-05-09T00:00:00Z dstrupl dstrupl@netbeans.org New file attribute can be used if the registered convertor is capable of handling subclasses of the registered class. The attribute name is "settings.subclasses" and it can be set on the same file object under "xml/memory" as "settings.providerPath". The value of the attribute must be boolean. Defaults to false. urn:netbeans-org:apichanges:api.rebuild [org.netbeans.modules.lexer] Rebuilt the API and SPI completely 2006-05-05T00:00:00Z mmetelka mmetelka@netbeans.org

The original API and SPI were rebuilt completely (under editor_api branch) to comply with the standard requirements for the NetBeans APIs and allow for better API evolution in the future.
The major version of the lexer module was increased to 2.

urn:netbeans-org:apichanges:issue-52180 [org.netbeans.api.debugger.jpda] Added getSourceRoot() method to SourcePathProvider class 2006-05-03T00:00:00Z mentlicher mentlicher@netbeans.org

Retrieves a source root for a given URL. This is necessary to match breakpoint locations with the sources selected fopr debugging. It returns null by default.

urn:netbeans-org:apichanges:added-FileObject-getOutputStream-without-FileLock-parameter [org.openide.filesystems] Added additional method FileObject.getOutputStream that doesn't take FileLock as a parameter. 2006-05-03T00:00:00Z rmatous rmatous@netbeans.org

Although newly added method FileObject.getOutputStream doesn't take FileLock as a parameter, the implementation is responsible for taking a lock before OutputStream is returned and thus FileAlreadyLockedException exception is thrown when FileObject is already locked.

urn:netbeans-org:apichanges:use-logging [org.openide.util] Do not use ErrorManager for logging 2006-04-15T00:00:00Z jtulach jtulach@netbeans.org ErrorManager is no longer the recommended way to do logging in NetBeans based application. Instead NetBeans now fully support logging two JDK's standard Logger. See the NetBeans logging guide to learn the best practises for logging in NetBeans.
ErrorManager is still kept around for annotating exceptions with localized messages and advanced manipulation and its behaviour is fully backward compatible. However modules are adviced to migrate to logging whereever possible.
To migrate your modules you can install Jackpot modules from autoupdate (if they are not yet part of your IDE) and apply precreate javapot error manager rule.
There is one possible incompatibility from end user point of view. The way to enable logging for certain components when running inside the whole NetBeans container has changed: If there is Logger or ErrorManager named org.mymodule.MyComponent then the correct way to turn the logging is now to invoke NetBeans with -J-Dorg.mymodule.MyComponent.level=100 (where the possible constants are taken form a JDK's definition of level). There is however a certain benefit in this change, the value of the property (like org.mymodule.MyComponent.level) can be changed during runtime and thus the logging can be enabled or disabled dynamically (after changing the value, it is necessary to call LogManager.readConfiguration()).
urn:netbeans-org:apichanges:JavaPlatformManager.defaultPlatform [org.netbeans.modules.java.platform] 2006-04-12T00:00:00Z jglick jglick@netbeans.org

JavaPlatformManager.getDefaultPlatform could formerly return null, in case no installed providers returned an instance; typically this would be due to some storage problem. In the interests of robustness, it will now as a fallback return a simple platform instance corresponding the JRE hosting the NetBeans code. Optional capabilities may be missing so avoid relying on this fallback platform implementation.

urn:netbeans-org:apichanges:CompositeCategoryProvider [org.netbeans.modules.projectuiapi] Ability to construct a project customizer from panels declared in layers. 2006-04-11T00:00:00Z mkleint mkleint@netbeans.org Added createCustomizerDialog(String, Lookup, String, ActionListener, HelpCtx) method to ProjectCustomizer. That allows to construct project customizer from a layer folder content. It assumes to find instances of ProjectCustomizer.CompositeCategoryProviderin the layer and constructs the UI from them. The context is passed into the panel via a Lookup instance. What is in the lookup, is up to the individual project implementations. urn:netbeans-org:apichanges:WizardDescriptor.ProgressInstantiatingIterator [org.openide.dialogs] Interface ProgressInstantiatingIterator added 2006-04-08T00:00:00Z jrechtacek jrechtacek@netbeans.org The ProgressInstantiatingIterator notifies users while instantiate is running by a progress bar, this progress bar is integrated into wizard panel. Instantiating of newly created objects is invoked asynchronously. urn:netbeans-org:apichanges:lookupAll-lookupResult [org.openide.util] Convenience methods added to Lookup 2006-04-03T00:00:00Z jglick jglick@netbeans.org

Two methods, lookupResult and lookupAll, were added to Lookup to encapsulate the most common usage patterns with less typing, and more importantly avoiding the need to explicitly make a Lookup.Template object.

urn:netbeans-org:apichanges:generified [org.openide.modules] Generified Interfaces 2006-03-22T00:00:00Z jtulach jtulach@netbeans.org Rewritten to use Java5 features, especially generics. Affects internal code and one public signature. urn:netbeans-org:apichanges:shortdescription [org.netbeans.modules.sendopts] Use short description for each Option 2006-03-18T00:00:00Z jtulach jtulach@netbeans.org Use Option.shortDescription to associate a one-liner text with an option. This description will be printed when showing usage for the command line. urn:netbeans-org:apichanges:localizederrors [org.netbeans.modules.sendopts] Command exceptions can have localized messages 2006-03-18T00:00:00Z jtulach jtulach@netbeans.org There is a new factory method in CommandException that can influence the localized message which is then printed to the user as a description of the error. urn:netbeans-org:apichanges:issue-73713 [org.netbeans.modules.db] Addded an utility method to fill a combo box with database connections 2006-03-17T00:00:00Z abadea abadea@netbeans.org This change adds the DatabaseExplorerUIs.connect() method, which populates a JComboBox with the list of connections from a ConnectionManager. urn:netbeans-org:apichanges:printusage [org.netbeans.modules.sendopts] Using PrintStream 2006-03-15T00:00:00Z jtulach jtulach@netbeans.org There is new method usage that allows to print description of all available options in the command line. urn:netbeans-org:apichanges:printstream [org.netbeans.modules.sendopts] Using PrintStream 2006-02-26T00:00:00Z jtulach jtulach@netbeans.org Env.getErrorStream() and Env.getOutputStream() return PrintStream. urn:netbeans-org:apichanges:issue-71858 [org.netbeans.spi.viewmodel] getDisplayedMnemonic() method added to ColumnModel. 2006-01-30T00:00:00Z mentlicher mentlicher@netbeans.org In order to be able to provide mnemonics for columns in tree table views, Character ColumnModel.getDisplayedMnemonic() method was added to ColumnModel class.