This document lists changes made to the Search API.
Fuller descriptions of all changes can be found below (follow links).
Not all deprecations are listed here, assuming that the deprecated APIs continue to essentially work. For a full deprecation list, please consult the Javadoc.
SearchInfo
objects contained in Projects'
lookups are now taken into account by action Find in Projects...
ADD_TO_HISTORY field
SearchHistory and SearchPattern classes
SearchInfo interface
together with a factory class SearchInfoFactory
and interface FileObjectFilter
These API specification versions may be used to indicate that a module requires a certain API feature in order to function. For example, if you see here a feature you need which is labelled 1.20, your manifest should contain in its main attributes the line:
OpenIDE-Module-Module-Dependencies: org.openidex.util/3 > 1.20
SearchInfo
objects contained in Projects'
lookups are now taken into account by action Find in Projects...
ADD_TO_HISTORY field
SearchHistory and SearchPattern classes
SearchInfo interface
together with a factory class SearchInfoFactory
and interface FileObjectFilter
org.openidex.search.FileObjectFilter
SearchInfo interface
together with a factory class SearchInfoFactory
and interface FileObjectFilter
org.openidex.search.SearchHistory
ADD_TO_HISTORY field
SearchHistory and SearchPattern classes
org.openidex.search.SearchInfo
SearchInfo interface
together with a factory class SearchInfoFactory
and interface FileObjectFilter
org.openidex.search.SearchInfoFactory
SearchInfo interface
together with a factory class SearchInfoFactory
and interface FileObjectFilter
org.openidex.search.SearchPattern
SearchHistory and SearchPattern classes
SearchInfo
objects contained in Projects'
lookups are now taken into account by action Find in Projects...
SearchInfo
objects – it always searched
projects' SourceGroups.
Now the action first checks the
project's Lookup
for presence of a SearchInfo object. If some
SearchInfo is present, it is used for the search,
and only if there is no SearchInfo,
the project's SourceGroups are searched.
ADD_TO_HISTORY field
SearchHistory; made by: mroskanin; issues:
#54028
#54451
It is necessary to fire further PropertyChangeEvent to fix it. (Details in the issue #54028)It is event ADD_TO_HISTORY, that will be fired after adding new SearchPattern to history. Old value of event would be null, new value would be added pattern. Also pattern checking before adding to history is a subject of the API change.
SearchHistory and SearchPattern classes
SearchHistory SearchPattern; made by: mroskanin; issues:
#51964
Editor find and replace dialog and search over files in explorer should have one and shareable history. Editor module should be notified about last selected search expression to highlight(in yellow) the matched patterns.
SearchInfo interface
together with a factory class SearchInfoFactory
and interface FileObjectFilter
SearchInfo SearchInfoFactory FileObjectFilter; made by: mpetras; issues:
#42540
#43940
In NetBeans 3.6, only nodes representing file folders were
searchable. In NetBeans 4.0, there are several special views
and nodes not representing folders. But many of these nodes
still need to be searchable. Interface SearchInfo
allows to specify how a particular node should be searched
- simply by putting a SearchInfo object to the
node's lookup.
Built on May 28 2007. | Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.