org.eclipse.ui
Interface IWorkbenchPartSite

All Superinterfaces:
IAdaptable, IWorkbenchSite
All Known Subinterfaces:
IViewSite

public interface IWorkbenchPartSite
extends IWorkbenchSite

The primary interface between a workbench part and the workbench.

This interface is not intended to be implemented or extended by clients.


Method Summary
 java.lang.String getId()
          Returns the part registry extension id for this workbench site's part.
 IWorkbenchPart getPart()
          Returns the part associated with this site
 java.lang.String getPluginId()
          Returns the unique identifier of the plug-in that defines this workbench site's part.
 java.lang.String getRegisteredName()
          Returns the registered name for this workbench site's part.
 
Methods inherited from interface org.eclipse.ui.IWorkbenchSite
getPage, getSelectionProvider, getShell, getWorkbenchWindow, setSelectionProvider
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

getId

java.lang.String getId()
Returns the part registry extension id for this workbench site's part.

The name comes from the id attribute in the configuration element.

Returns:
the registry extension id

getPluginId

java.lang.String getPluginId()
Returns the unique identifier of the plug-in that defines this workbench site's part.

Returns:
the unique identifier of the declaring plug-in

getRegisteredName

java.lang.String getRegisteredName()
Returns the registered name for this workbench site's part.

The name comes from the name attribute in the configuration element.

Returns:
the part name

getPart

IWorkbenchPart getPart()
Returns the part associated with this site

Returns:
the part associated with this site
Since:
3.1