Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Platform
Release 3.5

Interface ICommonLabelProvider

All Superinterfaces:
IBaseLabelProvider, IDescriptionProvider, ILabelProvider, IMementoAware
All Known Implementing Classes:
AbstractSynchronizationLabelProvider, SynchronizationLabelProvider

public interface ICommonLabelProvider
extends ILabelProvider, IMementoAware, IDescriptionProvider

Allows extensions to vary their behavior based on properties in the extension model and the given memento.

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.


Method Summary
 void init ( ICommonContentExtensionSite aConfig)
          Initialize the label provider with the given configuration.
Methods inherited from interface org.eclipse.jface.viewers. ILabelProvider
getImage, getText
Methods inherited from interface org.eclipse.jface.viewers. IBaseLabelProvider
addListener, dispose, isLabelProperty, removeListener
Methods inherited from interface org.eclipse.ui.navigator. IMementoAware
restoreState, saveState
Methods inherited from interface org.eclipse.ui.navigator. IDescriptionProvider

Method Detail


void init(
ICommonContentExtensionSite aConfig)
Initialize the label provider with the given configuration.

aConfig - The extension site provides information that some extensions will find useful to configure themselves properly in a particular viewer.
See Also:

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire