public abstract class AnnotationProvider extends BaseAnnotationProvider
ServiceProvider
.Constructor and Description |
---|
AnnotationProvider() |
Modifier and Type | Method and Description |
---|---|
Action[] |
actions(Set<? extends FileObject> files)
Deprecated.
Will be deleted in the future. Overwrite
AnnotationProvider.findExtrasFor(java.util.Set) . |
abstract Image |
annotateIcon(Image icon,
int iconType,
Set<? extends FileObject> files)
Annotate the icon of a file cluster.
|
Lookup |
findExtrasFor(Set<? extends FileObject> files)
Provides various (usually UI related) information about
the given set of files.
|
addFileStatusListener, annotateName, annotateNameHtml, fireFileStatusChanged, getInterceptionListener, removeFileStatusListener
public abstract Image annotateIcon(Image icon, int iconType, Set<? extends FileObject> files)
Please do not modify the original; create a derivative icon image, using a weak-reference cache if necessary.
icon
- the icon suggested by defaulticonType
- an icon type from BeanInfo
files
- an immutable set of FileObject
s belonging to this filesystem@Deprecated public Action[] actions(Set<? extends FileObject> files)
AnnotationProvider.findExtrasFor(java.util.Set)
.files
- an immutable set of FileObject
s belonging to this filesystempublic Lookup findExtrasFor(Set<? extends FileObject> files)
findExtrasFor
in class BaseAnnotationProvider
files
- the files toFileSystem.findExtrasFor(java.util.Set<org.openide.filesystems.FileObject>)
- may return null