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
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

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

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui.navigator
Interface INavigatorContentExtension

All Superinterfaces:
IAdaptable

public interface INavigatorContentExtension
extends IAdaptable

The content extension represents the components of a navigatorContent extension. These handles are managed by a content service INavigatorContentService. An extension is formed from the INavigatorContentDescriptor.

There is a one-to-many correspondence between the INavigatorContentDescriptor and INavigatorContentExtension. An instance of the INavigatorContentExtension is created for each INavigatorContentDescriptor used by a INavigatorContentService.

Since:
3.2
Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.

Method Summary
  ITreeContentProvider getContentProvider ()
          Clients may choose to implement ICommonContentProvider, but are only required to supply an implementation of ITreeContentProvider.
  INavigatorContentDescriptor getDescriptor ()
          There is one descriptor for all instances of a INavigatorContentExtension.
  String getId ()
           
  ICommonLabelProvider getLabelProvider ()
          The real underlying implementation may only support the ILabelProvider interface, but a simple delegate is used when this is the case to ensure that clients may anticpate an ICommonLabelProvider interface.
  IExtensionStateModel getStateModel ()
           
 boolean isLoaded ()
           
 
Methods inherited from interface org.eclipse.core.runtime. IAdaptable
getAdapter
 

Method Detail

getId


String getId()
Returns:
The id attribute of the navigatorContent extension.

getDescriptor


INavigatorContentDescriptor getDescriptor()
There is one descriptor for all instances of a INavigatorContentExtension.

Returns:
A handle to the descriptor used to manage this extension.

getContentProvider


ITreeContentProvider getContentProvider()
Clients may choose to implement ICommonContentProvider, but are only required to supply an implementation of ITreeContentProvider.

Returns:
The content provider defined by the navigatorContent extension.
See Also:
ICommonContentProvider, ITreeContentProvider

getLabelProvider


ICommonLabelProvider getLabelProvider()
The real underlying implementation may only support the ILabelProvider interface, but a simple delegate is used when this is the case to ensure that clients may anticpate an ICommonLabelProvider interface.

Since 3.4, the returned label provider may also implement DelegatingStyledCellLabelProvider.IStyledLabelProvider to provide styled text labels. Note that the empty styled string signals that the label provider does not wish to render the label.

Returns:
The content provider defined by the navigatorContent extension.
See Also:
ICommonLabelProvider, ILabelProvider

isLoaded

boolean isLoaded()
Returns:
True if any class has been instantiated by this extension.

getStateModel


IExtensionStateModel getStateModel()
Returns:
The state model associated with this content extension.
See Also:
IExtensionStateModel

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