|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.presentations.AbstractPresentationFactory
This is a factory for presentation objects that control the appearance of editors, views and other components in the workbench.
Constructor Summary | |
---|---|
AbstractPresentationFactory()
|
Method Summary | |
---|---|
abstract StackPresentation |
createEditorPresentation(Composite parent,
IStackPresentationSite site)
Creates an editor presentation for presenting editors. |
abstract StackPresentation |
createStandaloneViewPresentation(Composite parent,
IStackPresentationSite site,
boolean showTitle)
Creates a standalone stack presentation for presenting a standalone view. |
Control |
createStatusLineControl(IStatusLineManager statusLine,
Composite parent)
Creates the control for the window's status line. |
IStatusLineManager |
createStatusLineManager()
Creates the status line manager for the window. |
abstract StackPresentation |
createViewPresentation(Composite parent,
IStackPresentationSite site)
Creates a stack presentation for presenting regular docked views. |
String |
getId()
Returns a globally unique identifier for this type of presentation factory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractPresentationFactory()
Method Detail |
public abstract StackPresentation createEditorPresentation(Composite parent, IStackPresentationSite site)
The presentation creates its controls under the given parent composite.
parent
- the parent composite to use for the presentation's controlssite
- the site used for communication between the presentation and
the workbench
public abstract StackPresentation createViewPresentation(Composite parent, IStackPresentationSite site)
The presentation creates its controls under the given parent composite.
parent
- the parent composite to use for the presentation's controlssite
- the site used for communication between the presentation and
the workbench
public abstract StackPresentation createStandaloneViewPresentation(Composite parent, IStackPresentationSite site, boolean showTitle)
The presentation creates its controls under the given parent composite.
parent
- the parent composite to use for the presentation's controlssite
- the site used for communication between the presentation and
the workbenchshowTitle
- true
to show the title for the view,
false
to hide it
public IStatusLineManager createStatusLineManager()
public Control createStatusLineControl(IStatusLineManager statusLine, Composite parent)
statusLine
- the window's status line managerparent
- the parent composite
public String getId()
|
Eclipse Platform Release 3.1 |
|||||||||||
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, 2005. All rights reserved.