This document lists changes made to the Jump to 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.
NameMatcher.NONE
and NameMatcher.ALL
AsyncDescriptor
which allows descriptor to be fully calculated on background
getSimpleName
to SymbolDescriptor
FileDescriptor.getFileDisplayPath
method to return display path of the file.
FileProvider.Context.getLineNumber
method to return the preferred line
setHighlightText
to TypeProvider.Result
to allow TypeProvider
to set text to highlight.
setHighlightText
to SymbolProvider.Result
to allow SymbolProvider
to set text to highlight.
TypeDescriptor.getFileDisplayPath
and SymbolDescriptor.getFileDisplayPath
methods to return display path of the file.
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.netbeans.modules.jumpto > 1.20
NameMatcher.NONE
and NameMatcher.ALL
AsyncDescriptor
which allows descriptor to be fully calculated on background
getSimpleName
to SymbolDescriptor
setHighlightText
to TypeProvider.Result
to allow TypeProvider
to set text to highlight.
setHighlightText
to SymbolProvider.Result
to allow SymbolProvider
to set text to highlight.
TypeDescriptor.getFileDisplayPath
and SymbolDescriptor.getFileDisplayPath
methods to return display path of the file.
FileDescriptor.getFileDisplayPath
method to return display path of the file.
FileProvider.Context.getLineNumber
method to return the preferred line
org.netbeans.spi.jumpto.support.AsyncDescriptor
org.netbeans.spi.jumpto.support.DescriptorChangeEvent
org.netbeans.spi.jumpto.support.DescriptorChangeListener
org.netbeans.spi.jumpto.file.FileDescriptor
org.netbeans.spi.jumpto.file.FileProvider
FileProvider.Context.getLineNumber
method to return the preferred line
org.netbeans.spi.jumpto.file.FileProviderFactory
org.netbeans.spi.jumpto.support.NameMatcher
NameMatcher.NONE
and NameMatcher.ALL
org.netbeans.spi.jumpto.support.NameMatcherFactory
org.netbeans.spi.jumpto.symbol.SymbolDescriptor
getSimpleName
to SymbolDescriptor
TypeDescriptor.getFileDisplayPath
and SymbolDescriptor.getFileDisplayPath
methods to return display path of the file.
org.netbeans.spi.jumpto.symbol.SymbolProvider
setHighlightText
to SymbolProvider.Result
to allow SymbolProvider
to set text to highlight.
org.netbeans.api.jumpto.type.TypeBrowser
org.netbeans.spi.jumpto.type.TypeDescriptor
org.netbeans.spi.jumpto.type.TypeProvider
setHighlightText
to TypeProvider.Result
to allow TypeProvider
to set text to highlight.
NameMatcher.NONE
and NameMatcher.ALL
NameMatcher
; made by: tzezula
NameMatcher.NONE
and NameMatcher.ALL
which matches no and all items.
AsyncDescriptor
which allows descriptor to be fully calculated on background
AsyncDescriptor
DescriptorChangeListener
DescriptorChangeEvent
; made by: tzezula
AsyncDescriptor
which allows descriptor to be fully calculated on background.
The AsyncDescriptor
allows intformation to be computed on demand just for visible items.
getSimpleName
to SymbolDescriptor
SymbolDescriptor
; made by: tzezula
getSimpleName
to SymbolDescriptor
returning the raw symbol
name without parameter names or types.
FileDescriptor.getFileDisplayPath
method to return display path of the file.
FileDescriptor
; made by: tzezula; issues:
#223668
FileDescriptor.getFileDisplayPath
method to return a display path of the file.
The default implementation just delegates to FileUtil.getFileDisplayName
but it can
be overriden by more effective implementation when possible.
FileProvider.Context.getLineNumber
method to return the preferred line
FileProvider
; made by: tzezula; issues:
#217050
FileProvider.Context.getLineNumber
method to return the preferred line on which the document
should be opened. The FileProvider
s which are using custom FileDescription
should use
this method to open the selected file on preferred line. The FileProvider
s which are using
FileObject
s are handled automatically.
setHighlightText
to TypeProvider.Result
to allow TypeProvider
to set text to highlight.
TypeProvider
; made by: tzezula
TypeProvider
has no need to do anything.
But when the TypeProvider
changes the text to search and uses a part of it just as a restriction it has to specify
the new search text. For example Java TypeProvider splits the following text to search "java.lang.Str" to restriction for package
"java.lang" and a new search text "Str". In order to let the infrastructure correctly highlight found elements the Java TypeProvider
needs to call Result.setHighlightText
.
setHighlightText
to SymbolProvider.Result
to allow SymbolProvider
to set text to highlight.
SymbolProvider
; made by: tzezula; issues:
#220300
SymbolProvider
has no need to do anything.
But when the SymbolProvider
changes the text to search and uses a part of it just as a restriction it has to specify
the new search text. For example Java SymbolProvider splits the following text to search "*Util.toF" to restriction regexp for
type "*Util" and a new search text "toF". In order to let the infrastructure correctly highlight found elements the Java SymbolProvider
needs to call Result.setHighlightText
.
TypeDescriptor.getFileDisplayPath
and SymbolDescriptor.getFileDisplayPath
methods to return display path of the file.
TypeDescriptor
SymbolDescriptor
; made by: tzezula; issues:
#225453
TypeDescriptor.getFileDisplayPath
and SymbolDescriptor.getFileDisplayPath
methods to
return a display path of the file. The default implementation just delegates to FileUtil.getFileDisplayName
but it can
be overriden by more effective implementation when possible.
TypeBrowser
; made by: jlahoda; issues:
#200163
NameMatcherFactory
; made by: tzezula; issues:
#191145
NameMatcherFactory
NameMatcher
; made by: tzezula; issues:
#185168
FileProviderFactory
FileProvider
; made by: tzezula; issues:
#182884