Eclipse eRCP
Release 1.1

org.eclipse.ui
Interface IWorkbenchPartSite

All Superinterfaces:
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
 String getId()
          Returns the part registry extension id for this workbench site's part.
 IWorkbenchPart getPart()
          Returns the part associated with this site
 String getPluginId()
          Returns the unique identifier of the plug-in that defines this workbench site's part.
 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
 

Method Detail

getId

public 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

public 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

public 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

public IWorkbenchPart getPart()
Returns the part associated with this site

Returns:
the part associated with this site
Since:
3.1

Eclipse eRCP
Release 1.1