public class DefaultScreenDockWindowConfiguration extends Object implements ScreenDockWindowConfiguration
ScreenDockWindowConfiguration
always returns null
from its getConfiguration(ScreenDockStation, Dockable)
method, thus telling the ScreenDockStation
to use a default configuration.extension point
, any configuration added through
that point will be asked first for a configuration before returning the default value.Modifier and Type | Field and Description |
---|---|
static Path |
CONFIGURATION_EXTENSION
name of an
ExtensionName for adding additional ScreenDockWindowConfiguration s |
static String |
CONFIGURATION_EXTENSION_PARAM
a parameter pointing to
this . |
Constructor and Description |
---|
DefaultScreenDockWindowConfiguration(DockController controller)
Creates a new configuration.
|
Modifier and Type | Method and Description |
---|---|
WindowConfiguration |
getConfiguration(ScreenDockStation station,
Dockable dockable)
Creates a new configuration for a
ScreenDockWindow that is going to show
dockable . |
public static final Path CONFIGURATION_EXTENSION
ExtensionName
for adding additional ScreenDockWindowConfiguration
spublic static final String CONFIGURATION_EXTENSION_PARAM
this
.public DefaultScreenDockWindowConfiguration(DockController controller)
controller
- used to load extension, can be null
public WindowConfiguration getConfiguration(ScreenDockStation station, Dockable dockable)
ScreenDockWindowConfiguration
ScreenDockWindow
that is going to show
dockable
. This configuration is only used to set up the new ScreenDockWindow
,
any further modifications will not affect the window. A ScreenDockWindowFactory
or a
ScreenDockWindow
might ignore some parts or the entire configuration, altough the default
implementations all try to follow the configuration.getConfiguration
in interface ScreenDockWindowConfiguration
station
- the future or current parent of dockable
dockable
- the element which is going to be shownnull
if a default configuration should be used