public abstract class AbstractPresentationFactory extends Object
Constructor and Description |
---|
AbstractPresentationFactory() |
Modifier and Type | Method and Description |
---|---|
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.
|
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 workbenchpublic 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 workbenchpublic 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 itpublic IStatusLineManager createStatusLineManager()
public Control createStatusLineControl(IStatusLineManager statusLine, Composite parent)
statusLine
- the window's status line managerparent
- the parent compositepublic String getId()
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.