public class WorkbenchPresentationFactory extends AbstractPresentationFactory
Constructor and Description |
---|
WorkbenchPresentationFactory() |
Modifier and Type | Method and Description |
---|---|
StackPresentation |
createEditorPresentation(Composite parent,
IStackPresentationSite site)
Creates an editor presentation for presenting editors.
|
StackPresentation |
createStandaloneViewPresentation(Composite parent,
IStackPresentationSite site,
boolean showTitle)
Creates a standalone stack presentation for presenting a standalone view.
|
StackPresentation |
createViewPresentation(Composite parent,
IStackPresentationSite site)
Creates a stack presentation for presenting regular docked views.
|
createStatusLineControl, createStatusLineManager, getId
public StackPresentation createEditorPresentation(Composite parent, IStackPresentationSite site)
AbstractPresentationFactory
The presentation creates its controls under the given parent composite.
createEditorPresentation
in class AbstractPresentationFactory
parent
- the parent composite to use for the presentation's controlssite
- the site used for communication between the presentation and
the workbenchpublic StackPresentation createViewPresentation(Composite parent, IStackPresentationSite site)
AbstractPresentationFactory
The presentation creates its controls under the given parent composite.
createViewPresentation
in class AbstractPresentationFactory
parent
- the parent composite to use for the presentation's controlssite
- the site used for communication between the presentation and
the workbenchpublic StackPresentation createStandaloneViewPresentation(Composite parent, IStackPresentationSite site, boolean showTitle)
AbstractPresentationFactory
The presentation creates its controls under the given parent composite.
createStandaloneViewPresentation
in class AbstractPresentationFactory
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 itGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.