#include <berryIPresentationFactory.h>
This is a factory for presentation objects that control the appearance of editors, views and other components in the workbench.
- Since
- 3.0
Definition at line 32 of file berryIPresentationFactory.h.
◆ ~IPresentationFactory()
virtual berry::IPresentationFactory::~IPresentationFactory |
( |
| ) |
|
|
virtual |
◆ CreateEditorPresentation()
Creates an editor presentation for presenting editors.
The presentation creates its controls under the given parent composite.
- Parameters
-
parent | the parent composite to use for the presentation's controls |
site | the site used for communication between the presentation and the workbench |
- Returns
- a newly created part presentation
◆ CreateSash()
virtual QWidget* berry::IPresentationFactory::CreateSash |
( |
QWidget * |
parent, |
|
|
int |
style |
|
) |
| |
|
pure virtual |
Creates the Sash control that is used to separate view and editor parts.
- Parameters
-
parent | the parent composite |
style | A bit set giving both the 'type' of the desired sash and its orientation (i.e. one 'SASHTYPE' value and one "SASHORIENTATION" value). |
- Returns
- the sash control
- Since
- 3.4
◆ CreateStandaloneViewPresentation()
Creates a standalone stack presentation for presenting a standalone view. A standalone view cannot be docked together with other views. The title of a standalone view may be hidden.
The presentation creates its controls under the given parent composite.
- Parameters
-
parent | the parent composite to use for the presentation's controls |
site | the site used for communication between the presentation and the workbench |
showTitle | true to show the title for the view, false to hide it |
- Returns
- a newly created part presentation
◆ CreateViewPresentation()
Creates a stack presentation for presenting regular docked views.
The presentation creates its controls under the given parent composite.
- Parameters
-
parent | the parent composite to use for the presentation's controls |
site | the site used for communication between the presentation and the workbench |
- Returns
- a newly created part presentation
◆ GetId()
virtual QString berry::IPresentationFactory::GetId |
( |
| ) |
|
|
pure virtual |
Returns a globally unique identifier for this type of presentation factory. This is used to ensure that one presentation is not restored from mementos saved by a different presentation.
- Returns
- a globally unique identifier for this type of presentation factory.
◆ GetSashSize()
virtual int berry::IPresentationFactory::GetSashSize |
( |
int |
style | ) |
|
|
pure virtual |
Returns the size of the Sash control that is used to separate view and editor parts.
- Parameters
-
style | A bit set giving both the 'type' of the desired sash and its orientation. |
- Returns
- the sash size
- Since
- 3.4
◆ UpdateTheme()
virtual void berry::IPresentationFactory::UpdateTheme |
( |
| ) |
|
|
pure virtual |
Applies changes of the current theme to the user interface.
◆ SASHORIENTATION_HORIZONTAL
int berry::IPresentationFactory::SASHORIENTATION_HORIZONTAL |
|
static |
◆ SASHORIENTATION_VERTICAL
int berry::IPresentationFactory::SASHORIENTATION_VERTICAL |
|
static |
◆ SASHTYPE_FLOATING
int berry::IPresentationFactory::SASHTYPE_FLOATING |
|
static |
◆ SASHTYPE_NORMAL
int berry::IPresentationFactory::SASHTYPE_NORMAL |
|
static |
The documentation for this class was generated from the following file: