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