|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ui.part.Page
Abstract base superclass for pages in a pagebook view.
This class should be subclassed by clients wishing to define new types of pages for multi-page views.
Subclasses must implement the following methods:
Subclasses may extend or reimplement the following methods as required:
Constructor Summary | |
protected | Page()
|
Method Summary | |
abstract void | createControl(Composite parent)
Creates the SWT control for this page under the given parent control. |
void | dispose()
The Page implementation of this IPage method disposes of this page's control (if it has one and it has not already been disposed). |
abstract Control | getControl()
The Page implementation of this IPage method returns null. |
IPageSite | getSite()
Returns the site which contains this page. |
void | init(IPageSite pageSite)
The Page implementation of this IPageBookViewPage method stores a reference to the supplied site (the site which contains this page). |
void | makeContributions(IMenuManager menuManager,
IToolBarManager toolBarManager,
IStatusLineManager statusLineManager)
|
void | setActionBars(IActionBars actionBars)
Allows the page to make contributions to the given action bars. |
abstract void | setFocus()
The Page implementation of this IPage method does nothing. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected Page()
Method Detail |
public abstract void createControl(Composite parent)
Clients should not call this method (the workbench calls this method when it needs to, which may be never).
public void dispose()
public abstract Control getControl()
public void makeContributions(IMenuManager menuManager, IToolBarManager toolBarManager, IStatusLineManager statusLineManager)
public void setActionBars(IActionBars actionBars)
This method is automatically called shortly after createControl is called
public void init(IPageSite pageSite)
Subclasses may extend.
public IPageSite getSite()
public abstract void setFocus()
|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.