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 ICommonViewerSite

All Superinterfaces:
IAdaptable
All Known Subinterfaces:
ICommonViewerWorkbenchSite

public interface ICommonViewerSite
extends IAdaptable

Provides context for extensions including a valid shell, a selection provider, and a unique identifier corresponding to the abstract viewer behind the viewer site.

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
  String getId ()
           
  ISelectionProvider getSelectionProvider ()
           
  Shell getShell ()
           
 void setSelectionProvider ( ISelectionProvider provider)
          Sets the selection provider for this common viewer site.
 
Methods inherited from interface org.eclipse.core.runtime. IAdaptable
getAdapter
 

Method Detail

getId


String getId()
Returns:
The unique identifier associated with the defined abstract viewer. In general, this will be the id of the org.eclipse.ui.views extension that defines the view part.

getShell


Shell getShell()
Returns:
A valid shell corresponding to the shell of the CommonViewer

getSelectionProvider


ISelectionProvider getSelectionProvider()
Returns:
The selection provider that can provide a current, valid selection. The default selection provider is the CommonViewer.

setSelectionProvider

void setSelectionProvider(
ISelectionProvider provider)
Sets the selection provider for this common viewer site.

Parameters:
provider - the selection provider, or null to clear it

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