public interface ICommonLabelProvider extends ILabelProvider, IMementoAware, IDescriptionProvider
Clients should refer to the org.eclipse.ui.navigator.navigatorContent extension point for more information on building a content extension.
Clients should not dispose of any Image Resources that might be shared by other extensions when their Label Provider is disposed. When a content extension is deactivated, both its content and label providers are disposed, but the viewer remains visible to the user. If clients dispose of Image Resources used by other extensions, then it will cause problems for those extensions and the viewer in general.
Clients may implement this interface if they require the methods provided here.
ILabelProvider
is respected by the Common
Navigator.
Modifier and Type | Method and Description |
---|---|
void |
init(ICommonContentExtensionSite aConfig)
Initialize the label provider with the given configuration.
|
getImage, getText
addListener, dispose, isLabelProperty, removeListener
restoreState, saveState
getDescription
void init(ICommonContentExtensionSite aConfig)
aConfig
- The extension site provides information that some extensions
will find useful to configure themselves properly in a
particular viewer.ICommonContentProvider
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.