Eclipse Platform
Release 3.2

org.eclipse.ui.navigator
Interface ICommonActionExtensionSite


public interface ICommonActionExtensionSite

Provides access to information required for the initialization of CommonActionProviders.

See the documentation of the org.eclipse.ui.navigator.navigatorContent extension point and CommonActionProvider for more information on contributing actions.

This interface is not intended to be implemented by clients.

Since:
3.2
See Also:
CommonActionProvider

Method Summary
 INavigatorContentService getContentService()
           
 String getExtensionId()
           
 IExtensionStateModel getExtensionStateModel()
          By default, the extension state model returned is for the associated content extension (if this is NOT a top-level action provider).
 StructuredViewer getStructuredViewer()
           
 ICommonViewerSite getViewSite()
           
 

Method Detail

getExtensionStateModel

public IExtensionStateModel getExtensionStateModel()
By default, the extension state model returned is for the associated content extension (if this is NOT a top-level action provider). Otherwise, clients may use INavigatorContentService.findStateModel(String) to locate the state model of another content extension.

Returns:
The extension state model of the associated Content Extension (if any) or a state model specifically for this ICommonActionProvider.
See Also:
IExtensionStateModel

getExtensionId

public String getExtensionId()
Returns:
The unique identifier of the associated content extension or the top-level Common Action Provider.

getContentService

public INavigatorContentService getContentService()
Returns:
The associated content service for the instantiated Common Action Provider.

getStructuredViewer

public StructuredViewer getStructuredViewer()
Returns:
The associated structured viewer for the instantiated Common Action Provider.

getViewSite

public ICommonViewerSite getViewSite()
Returns:
The ICommonViewerSite from the CommonViewer.

Eclipse Platform
Release 3.2

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.