urn:netbeans-org:apichanges NetBeans API Changes netbeans.org 2009-01-06T16:17:25Z urn:netbeans-org:apichanges:FileUtil.setMIMEType [org.openide.filesystems] Persisted registration of file extension to MIME type 2008-12-19T00:00:00Z jskrivanek jskrivanek@netbeans.org

Method FileUtil.setMIMEType(String extension, String mimeType) resurrected to register file extension for specified MIME type. It is persisted in userdir contrary to previous implementation. Added method FileUtil.getMIMETypeExtensions(String mimeType) to get list of file extensions associated with specified MIME type.

urn:netbeans-org:apichanges:FileChooserBuilder [org.openide.filesystems] FileChooserBuilder added 2008-12-01T00:00:00Z tboudreau tboudreau@netbeans.org

Added FileChooserBuilder, a utility class for working with JFileChoosers. In particular, FileChooserBuilder makes it easy to create file chooser dialogs which remember what directory the user last invoked them on, across sessions.

urn:netbeans-org:apichanges:convertor.recognize.xml [org.netbeans.modules.settings] Allow convertors to recognize .xml files in specially attributed folders. 2008-11-28T00:00:00Z saubrecht saubrecht@netbeans.org If a folder in SFS has attribute recognizeXML=true then Convertors will attempt to process also files with .xml extension. urn:netbeans-org:apichanges:Dialogs_NotificationLineSupport [org.openide.dialogs] Simplify handling error/warning/info messages in dialogs 2008-11-28T00:00:00Z jrechtacek jrechtacek@netbeans.org Two new methods in NotifyDescriptor were added to allow API client to create NotificationLineSupport which allow handling error/warning/info messages in dialogs. If a dialog descriptor creates this support, DialogDisplayer allocates necessary space at the bottom of dialog where API clients can set info/warning/error messages with appropriate icons. urn:netbeans-org:apichanges:Toolbars.DnD [org.openide.loaders] Deprecation of Toolbar drag and drop API 2008-11-28T00:00:00Z saubrecht saubrecht@netbeans.org

Deprecated methods related to Toolbar drag and drop.

urn:netbeans-org:apichanges:ChildFactory.Detachable [org.openide.nodes] Adding ChildFactory.Detachable to allow ChildFactory implementations to attach and detach listeners more easily 2008-11-25T00:00:00Z tboudreau tboudreau@netbeans.org ChildFactory is useful for creating node children lazily on a background thread, and for simplifying working with Children.Keys. One oversight in the original API was providing for notification that the ChildFactory is no longer in use and should clean up any resources and detach any listeners it can.

ChildFactory.Detachable is an abstract class which adds addNotify() and removeNotify() methods to ChildFactory. addNotify() is called immediately before the first call to createKeys() after creation or a call to removeNotify().

urn:netbeans-org:apichanges:parsing.api [org.netbeans.modules.java.source] Migrated to the parsing.api 2008-11-24T00:00:00Z tzezula tzezula@netbeans.org The java source module migrated to use the common parsing api. urn:netbeans-org:apichanges:version-1.13 [org.netbeans.modules.extexecution] Published as a stable API 2008-11-20T00:00:00Z phejl phejl@netbeans.org Published as a stable API. Refactored to API packages. urn:netbeans-org:apichanges:nodefactory-ann [org.netbeans.modules.projectuiapi] Add annotation @NodeFactory.Registration 2008-11-20T00:00:00Z mkleint mkleint@netbeans.org

Add annotation @NodeFactory.Registration to replace registration in layer files.

urn:netbeans-org:apichanges:DeclarativeMIMEResolvers [org.openide.filesystems] Added new elements to MIME resolver DTD 2008-11-18T00:00:00Z jskrivanek jskrivanek@netbeans.org

It is now possible to write declarive MIME resolvers checking file names (element name) and file content (element pattern).

urn:netbeans-org:apichanges:lookupprovider-ann [org.netbeans.modules.projectapi] Add annotation @LookupProvider.Registration 2008-11-13T00:00:00Z mkleint mkleint@netbeans.org

Add annotation @LookupProvider.Registration to replace registration in layer files.

urn:netbeans-org:apichanges:LayerGeneratingProcessor [org.openide.filesystems] Support for annotation processors generating XML layer fragments 2008-11-01T00:00:00Z jglick jglick@netbeans.org

It is now possible to write JSR 269-compliant annotation processors which create XML layer (i.e. system filesystem) entries.

urn:netbeans-org:apichanges:ServiceProvider [org.openide.util] Added ServiceProvider annotation 2008-11-01T00:00:00Z jglick jglick@netbeans.org

Added annotations ServiceProvider and ServiceProviders to simplify registration of global singleton services.

urn:netbeans-org:apichanges:DataFilter.FileBased [org.openide.loaders] Faster Filtering based on FileObjects 2008-10-30T00:00:00Z jtulach jtulach@netbeans.org

DataFilter interface used to support filtering based on DataObjects. With the introduction of more effective nodes, this is slowing down the visualization of folders significantly. That is why we introduce new pre-filter which can operate on FileObjects, whithout the need to instantiate DataObjects.

urn:netbeans-org:apichanges:stop-repeat-build [org.netbeans.modules.projectuiapi] Pluggable Repeat/Stop build actions 2008-10-23T00:00:00Z mkleint mkleint@netbeans.org

Added spi for plugging into the Repeat Build/Run and Stop Build/Run actions that were previously accessible by ant based projects only.