A
PaneConfiguration
describes the partition of a window into
different panes. The PaneConfiguration contains only one root pane which can
be either a
PaneDefinition
,
HorizontalPaneSplitter
or
VerticalPaneSplitter
, so any concrete sub class of
AbstractPane
. This class represents PaneConfiguration in the model.
Basically, a PaneConfiguration is defined in the model and can be accessed by
using the application controller. If you need to programmatically implement a
PaneConfiguration, have a look at the snippet below:
final PaneConfiguration configuration = new PaneConfiguration();
final PaneDefinition rootPane = new PaneDefinition();
rootPane.setPaneId(Constants.MASTERPANE);
rootPane.setShowView(true);
rootPane.setStartView(new MasterViewControllerImpl());
configuration.setName("SinglePaneConfiguration");
configuration.setRootPane(rootPane);