@Deprecated public abstract class AbstractPresentationFactory extends Object
Modifier and Type | Field and Description |
---|---|
static int |
SASHORIENTATION_HORIZONTAL
Deprecated.
Bit value for the createSash method's 'style' parameter.
|
static int |
SASHORIENTATION_VERTICAL
Deprecated.
Bit value for the createSash method's 'style' parameter.
|
static int |
SASHTYPE_FLOATING
Deprecated.
Bit value for the createSash method's 'style' parameter.
|
static int |
SASHTYPE_NORMAL
Deprecated.
Bit value for the createSash method's 'style' parameter.
|
Constructor and Description |
---|
AbstractPresentationFactory()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
abstract StackPresentation |
createEditorPresentation(Composite parent,
IStackPresentationSite site)
Deprecated.
Creates an editor presentation for presenting editors.
|
Sash |
createSash(Composite parent,
int style)
Deprecated.
Creates the Sash control that is used to separate view and editor parts.
|
abstract StackPresentation |
createStandaloneViewPresentation(Composite parent,
IStackPresentationSite site,
boolean showTitle)
Deprecated.
Creates a standalone stack presentation for presenting a standalone view.
|
Control |
createStatusLineControl(IStatusLineManager statusLine,
Composite parent)
Deprecated.
Creates the control for the window's status line.
|
IStatusLineManager |
createStatusLineManager()
Deprecated.
Creates the status line manager for the window.
|
abstract StackPresentation |
createViewPresentation(Composite parent,
IStackPresentationSite site)
Deprecated.
Creates a stack presentation for presenting regular docked views.
|
String |
getId()
Deprecated.
Returns a globally unique identifier for this type of presentation factory.
|
int |
getSashSize(int style)
Deprecated.
Returns the size of the Sash control that is used to separate view and editor parts.
|
public static int SASHTYPE_NORMAL
public static int SASHTYPE_FLOATING
public static int SASHORIENTATION_HORIZONTAL
public static int SASHORIENTATION_VERTICAL
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()
public Sash createSash(Composite parent, int style)
parent
- the parent compositestyle
- A bit set giving both the 'type' of the desired sash and
its orientation (i.e. one 'SASHTYPE' value and one "SASHORIENTATION" value).public int getSashSize(int style)
style
- A bit set giving both the 'type' of the desired sash and
its orientation.
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.