urn:netbeans-org:apichanges NetBeans API Changes netbeans.org 2008-11-10T00:44:05Z urn:netbeans-org:apichanges:SourcesHelper-minimalSubfolders [org.netbeans.modules.project.ant] Added method SourcesHelper.registerExternalRoots with minimalSubfolders parameter 2008-09-30T00:00:00Z tzezula tzezula@netbeans.org

Added SourcesHelper.registerExternalRoots with additional parameter minimalSubfolders controlling how the roots having an explicit include list are registered. When true only those subfolders which are included (or folders directly containing included files) will be registered, otherwise the whole source root is registered.

urn:netbeans-org:apichanges:JavaRunner [org.netbeans.modules.java.project] Added JavaRunner 2008-09-29T00:00:00Z jlahoda jlahoda@netbeans.org

Classes JavaRunner and JavaRunnerImplementation added.

urn:netbeans-org:apichanges:SetSelectedNodes [org.openide.explorer] setSelectedNodes() does partial selection instead of throwing IllegalArgumentException when some of newly selected nodes are not under root context. 2008-09-16T00:00:00Z t_h t_h@netbeans.org Nodes can be removed outside of AWT thread while e.g. view can try to select them. This generated IllegalArgumentException during checking if such a node is under root context. Now setSelectedNodes() . does partial selection of valid nodes instead of throwing IllegalArgumentException. urn:netbeans-org:apichanges:Utilities.OS_OPENBSD [org.openide.util] Added OS_OPENBSD and OS_UNIX_OTHER fields 2008-09-16T00:00:00Z jskrivanek jskrivanek@netbeans.org

Added a new Utilities.OS_OPENBSD and OS_UNIX_OTHER fields. Deprecated OS_WINDOWS_MASK and OS_UNIX_MASK.

urn:netbeans-org:apichanges:issue-144139 [org.netbeans.api.visual] Support for contiguous selection action added (factory method+provider+event) 2008-09-07T00:00:00Z dkaspar dkaspar@netbeans.org ActionFactory.createContiguousSelectAction creates contiguous selection action. ContiguousSelectProvider provides logic for selection action. ContiguousSelectEvent is an event for ContiguousSelectProvider. urn:netbeans-org:apichanges:FileUtil.getMIMEType.withinMIMETypes [org.openide.filesystems] FileUtil.getMIMEType() can be restricted by listed MIME types 2008-09-03T00:00:00Z jskrivanek jskrivanek@netbeans.org

To speed up MIME type recognition it is added an extra parameter to method FileUtil.getMIMEType(FileObject, String...). We can supply one or more MIME types which we are only interested in. Module writers have to override MIMEResolver default constructor and call super(String...), e.g.:

                    public MyResolver() {
                        super("text/plain", "text/sh");
                    }
                
urn:netbeans-org:apichanges:Adding.javadoc.popup.next.to.cc [org.netbeans.modules.editor.settings] Adding SimpleValueNames.JAVADOC_POPUP_NEXT_TO_CC 2008-08-28T00:00:00Z msauer msauer@netbeans.org

Adding new constant SimpleValueNames.JAVADOC_POPUP_NEXT_TO_CC.

urn:netbeans-org:apichanges:issue-143837 [org.netbeans.modules.db] Add ability to ensure a JDBC connection is valid 2008-08-27T00:00:00Z davidvc davidvc@netbeans.org This change allows you to ensure that the physical database connection obtained from a DatabaseConnection is valid or is null . urn:netbeans-org:apichanges:antartifact-enhancement [org.netbeans.modules.project.ant] Enhance AntArtifact support with ability to specify build.xml location and name 2008-08-27T00:00:00Z dkonecny dkonecny@netbeans.org

AntProjectHelper.createSimpleAntArtifact enhanced with new parameter: property name holding project relative location and name of Ant build script to use.

urn:netbeans-org:apichanges:issue-144123 [org.netbeans.api.visual] Added interface that extends EditorController for ability to query for invocation type 2008-08-25T00:00:00Z dkaspar dkaspar@netbeans.org InplaceEditorProvider.TypedEditorController contains getEditorInvocationType() which returns invocation type (MOUSE, KEY, CODE). urn:netbeans-org:apichanges:getAttribute.class [org.openide.filesystems] XMLFileSystem attributes can be queried for instance class 2008-08-25T00:00:00Z jskrivanek jskrivanek@netbeans.org

If you are interested just in the Class of an attribute, but without creating its instance, use fileObject.getAttribute("class:attrName"). This instructs the XMLFileSystem to scan its XML files for definition of attrName attribute and guess its class. The guessing is usually easy, just for methodvalue types, the system needs to use some kind of heuristic: it locates the appropriate factory method and returns its return type. This may not be the actual type of the returned object at the end, but it seems as the best guess without instantiating it.

urn:netbeans-org:apichanges:issue-143441 [org.netbeans.modules.db] Add support for always quoting and for unquoting SQL identifiers. 2008-08-15T00:00:00Z abadea abadea@netbeans.org Add support for always quoting and for unquoting SQL identifiers. urn:netbeans-org:apichanges:CodeStyle.getDefault [org.netbeans.modules.java.source] Better ways of getting CodeStyle instance 2008-08-13T00:00:00Z vstejskal vstejskal@netbeans.org Added CodeStyle.getDefault(FileObject), CodeStyle.getDefault(Document). Deprecated CodeStyle.getDefault(Project). urn:netbeans-org:apichanges:Utilities.OS_WINVISTA [org.openide.util] Added OS_WINVISTA field 2008-08-08T00:00:00Z jskrivanek jskrivanek@netbeans.org

Added a new Utilities.OS_WINVISTA field to be able to recognize Windows Vista operating system.

urn:netbeans-org:apichanges:Children.Keys.lazy [org.openide.nodes] Adding public int Children.getNodesCount(boolean optimalResult), protected Children.Keys(boolean lazy), Children.snapshot(), NodeMemberEvent.getSnapshot(), NodeReorderEvent.getSnapshot() 2008-08-04T00:00:00Z t_h t_h@netbeans.org Children.Keys with lazy behavior can be created by using Children.Keys(boolean lazy). Children.getNodesCount(boolean optimalResult) can be used instead of Children.getNodes(boolean optimalResult) for children "initialization". While keeping same behavior as Children.getNodes(boolean optimalResult) for "default" (non-lazy) implementation it allows full initialization without need to create all nodes. Children.snapshot() creates an immutable snapshot representing the current view of the nodes in this children object. Such snapshots are available in NodeMemberEvent and NodeReorderEvent via getSnapshot() and provide information about state of nodes in time when events were emited. urn:netbeans-org:apichanges:javadoc-root-and-source-root-detection [org.netbeans.modules.java.project] Detection of Javadoc root and source root 2008-07-22T00:00:00Z dkonecny dkonecny@netbeans.org

Class JavadocAndSourceRootDetection added with couple of helper methods to detect Javadoc and/or sources root.

urn:netbeans-org:apichanges:ignore.removed.classes [org.netbeans.modules.settings] Ignore settings for intentionally removed classes. 2008-07-22T00:00:00Z jskrivanek jskrivanek@netbeans.org To prevent ClassNotFoundException while loading *.settings where intentionally removed class is either in <instance class="..."/> or <serialdata class="..."> it is possible to declare such class in META-INF/netbeans/translate.names. If class name maps to empty string, it is ignored. E.g.:

org.mypackage.OldClass=
urn:netbeans-org:apichanges:DeclarativeController [org.netbeans.modules.options.api] Support for searchable options 2008-07-17T00:00:00Z msauer msauer@netbeans.org Added new declarative way of registering options categories (advancedOptionFolder attr in layer.xml), in order to remove duplicate tabbed controllers for each category with subtabs urn:netbeans-org:apichanges:OptionsDisplayerAPI.keywords [org.netbeans.modules.options.api] Support for searchable options 2008-07-11T00:00:00Z msauer msauer@netbeans.org Added new factory methods enabling declarative loading of option panels (createCategory and createSubCategory) to OptionsCategory and AdvancedOption urn:netbeans-org:apichanges:schema-validation [org.netbeans.modules.project.ant] Project XML metadata automatically validated against schemas 2008-07-11T00:00:00Z jglick jglick@netbeans.org

XML schemas may now be registered in ProjectXMLCatalog/**/*.xsd. Any attempts to read or write project.xml or private.xml will first try to validate against the registered schemas.

urn:netbeans-org:apichanges:XMLUtil.validate [org.openide.util] Added XMLUtil.validate 2008-07-11T00:00:00Z jglick jglick@netbeans.org

Added a new method to validate XML documents against schemas.

urn:netbeans-org:apichanges:testable-declarative-resolvers [org.openide.filesystems] Declarative MIME resolvers now available in standalone mode 2008-07-10T00:00:00Z jglick jglick@netbeans.org

Declaratively registered MIME resolvers using the XML file syntax (rather than Java classes implementing MIMEResolver) are now used even when you run an application with just the Filesystems API in the classpath. In particular, this makes declarative resolvers be honored in unit tests. Formerly, declarative resolvers were only loaded when you used org-netbeans-core.jar and started the full module system.

urn:netbeans-org:apichanges:test-single-method [org.netbeans.modules.projectapi] Added class SingleMethod 2008-07-09T00:00:00Z mpetras mpetras@netbeans.org

Added class SingleMethod, which represents identification of a single method/function in a file. The new class also contains new constants (COMMAND_RUN_SINGLE_TEST_METHOD and COMMAND_DEBUG_SINGLE_TEST_METHOD) corresponding to commands for running debugging test methods.

urn:netbeans-org:apichanges:layer.bundlevalue [org.openide.filesystems] XMLFileSystem supports 'bundlevalue' attribute 2008-07-08T00:00:00Z jtulach jtulach@netbeans.org

It is possible to declare a value in layer.xml files with <attr name="..." bundlevalue="org.yourpkg.Bundle#key"/>.

urn:netbeans-org:apichanges:tc.open [org.openide.windows] TopComponent.openAction 2008-07-08T00:00:00Z jtulach jtulach@netbeans.org Adding new factory method that creates an action to open a TopComponent. urn:netbeans-org:apichanges:BuildArtifactMapper [org.netbeans.modules.java.source] Added BuildArtifactMapper 2008-07-07T00:00:00Z jlahoda jlahoda@netbeans.org Added BuildArtifactMapper. urn:netbeans-org:apichanges:Line.show [org.openide.text] Improve Line.show 2008-07-07T00:00:00Z mslama mslama@netbeans.org

Improve Line.show to have better control over its open/visibility behavior. Previous version of Line.show mixes open and visibility behavior into one parameter. New version separates this into 2 parameters. It is possible to use any combination of these 2 parameters without need to add new constants for previous version. 2 enum types ShowOpenType and ShowVisibilityType are added.

urn:netbeans-org:apichanges:WizardDescriptor_new_constants [org.openide.dialogs] New WizardDescriptor constants introduced for info and warning messages 2008-07-03T00:00:00Z mkubec mkubec@netbeans.org Two new constants for warning and info messages were introduced. Info message is annotated by blue info icon and warning message is annotated by orange warning icon with exclamation mark. Message foreground color is set to Label foreground standard color. urn:netbeans-org:apichanges:WizardDescriptor_constants [org.openide.dialogs] Wizard Descriptor properties changed to constants, two new constants introduced 2008-07-03T00:00:00Z mkubec mkubec@netbeans.org Freeform property strings are replaced by public constants. urn:netbeans-org:apichanges:issue-134309 [org.netbeans.modules.db] Add ability to get the underlying JDBC Driver instance for a JDBCDriver 2008-06-27T00:00:00Z davidvc davidvc@netbeans.org This change makes it possible to get the underlying Driver class. Without this, the only way you can obtain the driver is to create your own classloader that has the driver classpath URLs in its search list and then load the driver. This makes things much easier. urn:netbeans-org:apichanges:issue-129633 [org.netbeans.modules.db] Add ability to show the Add JDBC Driver dialog synchronously 2008-06-27T00:00:00Z davidvc davidvc@netbeans.org Add the ability to show the Add Driver dialog synchronously. This must be run on the AWT event thread, but it returns the JDBCDriver that was added. urn:netbeans-org:apichanges:FolderLookup.dispatch [org.openide.loaders] Changes in FolderLookup are delivered in dedicated thread 2008-06-27T00:00:00Z jtulach jtulach@netbeans.org

Changes found in FolderLookup are delivered in their own thread. This is a change to previous behaviour which used the Folder recognizer thread for event delivery. That could cause deadlocks, if malicious code decided to do something wild in the resultChanged method.

urn:netbeans-org:apichanges:Lookup.asynchronous [org.openide.util] AbstractLookup and ProxyLookup fire changes asynchronously 2008-06-27T00:00:00Z jtulach jtulach@netbeans.org

All modification methods in AbstractLookup and ProxyLookup were extended to accept an Executor. If not null, it is used to dispatch events to listeners sometime "later". Also the AbstractLookup.Content and InstanceContent constructors have been extended to accept such Executors.

urn:netbeans-org:apichanges:RequestProcessor.Executor [org.openide.util] RequestProcessor implements Executor interface 2008-06-27T00:00:00Z jtulach jtulach@netbeans.org

In order to align RequestProcessor closer to standard Java 5 concurrency utilities, the class now implements Executor interfaces and its execute(Runnable) method.

urn:netbeans-org:apichanges:issue-128546 [org.netbeans.modules.db] Add ability to connect a database connection directly with no UI 2008-06-26T00:00:00Z davidvc davidvc@netbeans.org Add the ability to connect a database connection directly from the API without having any kind of UI pop up, be it a dialog or a progress window. urn:netbeans-org:apichanges:TaggingSupport [org.netbeans.modules.java.source] Added ModificationResult.getSpan and WorkingCopy.tag 2008-06-25T00:00:00Z msauer msauer@netbeans.org Added Methods allowing tagging of trees and getting their span inside modified document. urn:netbeans-org:apichanges:GraphLayoutFactory.createHierarchicalGraphLayout2 [org.netbeans.api.visual] GraphLayoutFactory.createHierarchicalGraphLayout added two additional calls to allow configuration of inverted and layout spacing. 2008-06-24T00:00:00Z krichard krichard@netbeans.org There are certain graphs which demand that the hierarchical layout be inverted (target above source). One such graph would be a UML class diagram. For this reason I propose adding a static call to the GraphLayoutFactory to allow for an "inverted" flag to be provided. The default behavior sets inverted to false. Another call to be added the the GraphLayoutFactory would include "inverted", "horizontal spacing", and "layer spacing" (vertical). The default all remain the same. urn:netbeans-org:apichanges:print-initial-version [org.netbeans.modules.print] Initial version of the Print API 2008-06-14T00:00:00Z yaroslavskiy yaroslavskiy@netbeans.org

Initial version of the Print API

urn:netbeans-org:apichanges:AntScriptUtils [org.apache.tools.ant.module] Added AntScriptUtils 2008-06-12T00:00:00Z jglick jglick@netbeans.org

Added a new convenience class for getting some common information from Ant scripts.

urn:netbeans-org:apichanges:ide-variables [org.netbeans.modules.project.ant] Support for (IDE) variables in Ant based project types 2008-06-12T00:00:00Z dkonecny dkonecny@netbeans.org

FileChooser enhanced with "Use Variable Path" option. Following methods were added: FileChooser.getSelectedPathVariables and FileChooser.enableVariableBasedSelection. For backward compatibility "Use Variable Path" option is by default switched off and has to be enabled. Existing getSelectedPaths() method will keep returning either absolute or relative paths. If "Use Variable Path" option was selected it will return absolute path. Variable based paths are returned via new getSelectedPathVariables method.

Support class added for showing variables manager.

urn:netbeans-org:apichanges:libraries-for-ant [org.netbeans.modules.project.ant] Support for adding/copying libraries used by build process only 2008-06-11T00:00:00Z mkubec mkubec@netbeans.org

Added methods for adding/copying global libraries that are needed for Ant build script. Added methods: AntBuildExtender.addLibrary, AntBuildExtender.removeLibrary

urn:netbeans-org:apichanges:factory [org.openide.loaders] DataObjects without DataLoaders 2008-06-11T00:00:00Z jtulach jtulach@netbeans.org

There is new method to register new DataObject types without the need to write own DataLoader. Use DataLoaderPool.factory method.

urn:netbeans-org:apichanges:AntProjectHelper-createAuxiliaryProperties [org.netbeans.modules.project.ant] Added AntProjectHelper.createAuxiliaryProperties() 2008-06-09T00:00:00Z jlahoda jlahoda@netbeans.org

A new API method AntProjectHelper.createAuxiliaryProperties.

urn:netbeans-org:apichanges:ProjectUtils.getAuxiliaryConfiguration [org.netbeans.modules.projectapi] Added ProjectUtils.getAuxiliaryConfiguration 2008-06-09T00:00:00Z jglick jglick@netbeans.org

A new API method was introduced to match the AuxiliaryConfiguration SPI interface. The change simplifies caller code, provides a path for future changes in the SPI, and allows project types to avoid providing an explicit implementation of this SPI if the fallback implementation suffices for their needs.

urn:netbeans-org:apichanges:projectutils-getPreferences [org.netbeans.modules.projectapi] Added ProjectUtils.getPreferences. 2008-06-09T00:00:00Z jlahoda jlahoda@netbeans.org

Added new API method ProjectUtils.getPreferences and new SPI interface AuxiliaryProperties.

urn:netbeans-org:apichanges:ProjectsRootNode-badging [org.netbeans.modules.projectuiapi] Project root nodes automatically badged 2008-06-09T00:00:00Z jglick jglick@netbeans.org

Project root nodes will now automatically be badged according to VCS status of contained files.

urn:netbeans-org:apichanges:Utilities.toolTips [org.openide.util] ImageUtilities class (with additional methods) was created as replacement for "image methods" in Utilities. 2008-06-06T00:00:00Z t_h t_h@netbeans.org

Image methods were separated to ImageUtilities (renamed IconManager) as replacement for methods in Utilities. There are some additional methods for image tool tips manipulation.

New methods for tool tips manipulation: Image assignToolTipToImage(Image image, String text); String getImageToolTip(Image image); Image addToolTipToImage(Image image, String text);

New method for conversion from Image to Icon: Icon image2Icon(Image image);

"Moved" methods from Utilities: Image icon2Image(Icon icon); Image loadImage(String resourceID); Image loadImage(String resource, boolean localized); Image mergeImages(Image image1, Image image2, int x, int y);

urn:netbeans-org:apichanges:winsys_customizations [org.openide.windows] Added a group of resource bundle properties for customization of window system behavior. 2008-06-06T00:00:00Z saubrecht saubrecht@netbeans.org

There is a set of new properties defined in resource bundle which platform developers can use to customize the behavior of NetBeans' window system:

  • Disable window drag and drop
  • Disable window undocking (floating windows)
  • Disable window sliding
  • Disable window resizing
  • Disable window maximization
  • Disable closing of non-editor windows (views)
  • Disable closing of editor windows
  • Force window system into respecting window minimum sizes when resizing windows using splitter bars

The features above can be turned on/off simply by branding of core.windows module.

urn:netbeans-org:apichanges:classpath-api-module [org.netbeans.api.java] Splitting the java API to independent ClassPath API and the rest of the java API 2008-06-05T00:00:00Z tzezula tzezula@netbeans.org

The copy of the ClassPath API was used by generic scripting framework, which cannot depend on the java cluster. To remove this copy of the ClassPath API the java API needs to be splitted into the ClassPath API (IDE cluster) and the rest of the java API (java cluster).

urn:netbeans-org:apichanges:classpath-api-module [org.netbeans.api.java.classpath] Splitting the java API to independent ClassPath API and the rest of the java API 2008-06-05T00:00:00Z tzezula tzezula@netbeans.org

The copy of the ClassPath API was used by generic scripting framework, which cannot depend on the java cluster. To remove this copy of the ClassPath API the java API needs to be splitted into the ClassPath API (IDE cluster) and the rest of the java API (java cluster).

urn:netbeans-org:apichanges:Adding.thick.line.caret [org.netbeans.modules.editor.settings] Adding SimpleValueNames.THICK_CARET_WIDTH 2008-06-03T00:00:00Z vstejskal vstejskal@netbeans.org

Adding new constant SimpleValueNames.THICK_CARET_WIDTH.

urn:netbeans-org:apichanges:issue-136099 [org.netbeans.api.debugger.jpda] Enhance JPDA API with better thread control. 2008-06-02T00:00:00Z mentlicher mentlicher@netbeans.org This API change is necessary for the redesign of the debugger UI and it's behavior with respect to threads.

Added classes:
org.netbeans.api.debugger.jpda.DeadlockDetector, org.netbeans.api.debugger.jpda.MonitorInfo, org.netbeans.api.debugger.jpda.ThreadsCollector

Added methods:
CallStackFrame.getFrameDepth(), CallStackFrame.getOwnedMonitors(), JPDADebugger.getThreadsCollector(), JPDADebugger.getDeadlockDetector(), JPDAThread.getCurrentBreakpoint(), JPDAThread.getContendedMonitorAndOwner(), JPDAThread.getOwnedMonitorsAndFrames(), EditorContext.annotate() with thread argument, AttachingDICookie.getProcessID()

Added fields:
JPDADebugger.PROP_THREAD_STARTED, JPDADebugger.PROP_THREAD_DIED, JPDADebugger.PROP_THREAD_GROUP_ADDED, JPDAThread.PROP_SUSPENDED, JPDAThread.PROP_BREAKPOINT, EditorContext.OTHER_THREAD_ANNOTATION_TYPE

urn:netbeans-org:apichanges:issue-136099 [org.netbeans.spi.viewmodel] Extension to NodeModel. 2008-06-02T00:00:00Z mentlicher mentlicher@netbeans.org This API change is necessary for the redesign of the debugger UI and to be able to better control node expansions.

Added classes:
org.netbeans.spi.viewmodel.TreeExpansionModelFilter

Changed classes:
Models.TreeFeatures - final class with a private constructor changed to an abstract class.

Added methods:
Models.createNodes(),

Added fields:
ModelEvent.EXPANSION_MASK

urn:netbeans-org:apichanges:Children.getNodeAt [org.openide.nodes] Children.getNodeAt is changing to public 2008-06-02T00:00:00Z t_h t_h@netbeans.org Adding possibility to get node at specific position rather than whole array of nodes. urn:netbeans-org:apichanges:OutlineView [org.openide.explorer] Added OutlineView component which is a replacement for buggy TreeTableView. 2008-05-29T00:00:00Z saubrecht saubrecht@netbeans.org Added new OutlineView component which is a table with expandable tree-like part and which replaces the current buggy TreeTableView. urn:netbeans-org:apichanges:Joined-sections-Lexing [org.netbeans.modules.lexer] Joined Sections Lexing 2008-05-28T00:00:00Z mmetelka mmetelka@netbeans.org

Embeddings that request input sections to be joined before lexing are now lexed as a single section.
Token.isRemoved() was added to check whether a particular token is still present in token hierarchy or whether it was removed as part of a modification.

urn:netbeans-org:apichanges:OptionsDisplayerAPI.subcategory [org.netbeans.modules.options.api] API to open the options dialog with some subcategory pre-selected 2008-05-28T00:00:00Z jskrivanek jskrivanek@netbeans.org Added API to open the options dialog with some subcategory pre-selected. urn:netbeans-org:apichanges:added.EditorStyleConstants.RenderingHints [org.netbeans.modules.editor.settings] Added EditorStyleConstants.RenderingHints constant 2008-05-27T00:00:00Z vstejskal vstejskal@netbeans.org

Adding new constant EditorStyleConstants.RenderingHints.

urn:netbeans-org:apichanges:keep_preferred_size_when_slided_in [org.openide.windows] Changed behavior of TopComponent.close() and TopComponentGroup.close() for non persistent TopComponent 2008-05-27T00:00:00Z saubrecht saubrecht@netbeans.org Added TopComponent client property netbeans.winsys.tc.keep_preferred_size_when_slided_in which forces the window system to respect TopComponent's preferred size when it is slided-in from left/right/bottom sliding bar when set to Boolean.TRUE. Otherwise the slided-in TopComponent will fill the entire width/length of the IDE window (the default behavior). This switch is intended for tools/palette windows like e.g. color chooser, tool picker etc. urn:netbeans-org:apichanges:added.SimpleValueNames.CODE_FOLDING.constants [org.netbeans.modules.editor.settings] Added code folding related constants to SimpleValueNames 2008-05-26T00:00:00Z vstejskal vstejskal@netbeans.org

Adding new constant to SimpleValueNames for code folding related settings.

urn:netbeans-org:apichanges:layer.registration [org.openide.loaders] Loaders are registered in layer files 2008-05-26T00:00:00Z jtulach jtulach@netbeans.org

There is new registration scheme for DataLoaders.

urn:netbeans-org:apichanges:LookupMerger [org.netbeans.modules.java.project] Create LookupMerger implementation for ClassPathProvider 2008-05-19T00:00:00Z mkleint mkleint@netbeans.org

LookupMergerSupport.createClassPathProviderMerger(ClassPathProvider) can be used to allow composing the project's classpath from multiple sources (modules).

urn:netbeans-org:apichanges:beforeSaveRunnable [org.openide.text] "beforeSaveRunnable" document property 2008-05-16T00:00:00Z mmetelka mmetelka@netbeans.org

CloneableEditorSupport.saveDocument() checks document's "beforeSaveDocument" property for a Runnable to be executed before the actual save will be done.

urn:netbeans-org:apichanges:added.SimpleValueNames.COMPLETION_PAIR_CHARACTRES [org.netbeans.modules.editor.settings] Added switch for auto completing pair characters 2008-05-13T00:00:00Z vstejskal vstejskal@netbeans.org

Adding new constant to SimpleValueNames as the name of an editor setting that determins if pair characters should be autocompleted or not.

urn:netbeans-org:apichanges:TypeUtilities.substitute [org.netbeans.modules.java.source] Added TypeUtilities.substitute 2008-05-06T00:00:00Z jlahoda jlahoda@netbeans.org Added TypeUtilities.substitute. urn:netbeans-org:apichanges:support-text-dnd [org.netbeans.spi.palette] Allowing user dropping text into the palette to create new custom code clips. 2008-05-05T00:00:00Z saubrecht saubrecht@netbeans.org

If the Common Palette is associated with a text editor then it's desired to allow users dragging and dropping text into the palette to create new custom code clips that can be dropped into editor later on.

That can be achieved simply by subclassing the default DragAndDropHandler class which manages all DragAndDrop-related operations in the Common Palette and turning the text dnd support in superclasses's constructor on. The default implementation pops up a dialog window when some text is dropped into the palette where user enters code clip name and tooltip and optionally selects appropriate icons.

urn:netbeans-org:apichanges:ResourceTable [org.netbeans.api.visual] New Resource Table. 2008-04-29T00:00:00Z tspiva tspiva@netbeans.org The resource table will allow for a central location for properties like font, color and paint objects. The resource table will help enforce an applications look and feel. When a property is updated in the resource table, all interested widgets will be notified of the change. The notification allows widgets to update when a resource property changes.