Package com._1c.g5.aef2.lwt
Class LwtRenderingParameters
java.lang.Object
com._1c.g5.aef2.lwt.LwtRenderingParameters
- All Implemented Interfaces:
IRenderingParameters
The LWT rendering parameters.
-
Constructor Summary
ConstructorsConstructorDescriptionLwtRenderingParameters
(SwtLightComposite composite, boolean useSeparatorAsSplitter) Instantiates a new LWT rendering parameters.LwtRenderingParameters
(SwtLightComposite composite, org.eclipse.ui.forms.widgets.FormToolkit toolkit, boolean useSeparatorAsSplitter) Instantiates a new LWT rendering parameters.LwtRenderingParameters
(SwtLightComposite composite, org.eclipse.ui.forms.widgets.FormToolkit toolkit, ITreeTransformation transformation, boolean useSeparatorAsSplitter) Instantiates a new LWT rendering parameters.LwtRenderingParameters
(org.eclipse.ui.forms.IManagedForm managedForm, SwtLightComposite composite, org.eclipse.ui.forms.widgets.FormToolkit toolkit, ITreeTransformation transformation, boolean useSeparatorAsSplitter) Instantiates a new LWT rendering parameters. -
Method Summary
Modifier and TypeMethodDescriptionGets the renderer composite.org.eclipse.ui.forms.IManagedForm
Returns theIManagedForm
.org.eclipse.ui.forms.widgets.FormToolkit
Returns theFormToolkit
Returns theITreeTransformation
boolean
Returns the value indicating to use separator controls as splitter.
-
Constructor Details
-
LwtRenderingParameters
public LwtRenderingParameters(org.eclipse.ui.forms.IManagedForm managedForm, SwtLightComposite composite, org.eclipse.ui.forms.widgets.FormToolkit toolkit, ITreeTransformation transformation, boolean useSeparatorAsSplitter) Instantiates a new LWT rendering parameters.- Parameters:
managedForm
- the managed form if it can be provided, can benull
for non-editor rendering.composite
- the composite to place renderer controls in, cannot benull
.toolkit
- theFormToolkit
, cannot benull
.transformation
- theITreeTransformation
, can benull
if no transformation is required.useSeparatorAsSplitter
- the flag indicating to ise separators as splitter.
-
LwtRenderingParameters
public LwtRenderingParameters(SwtLightComposite composite, org.eclipse.ui.forms.widgets.FormToolkit toolkit, ITreeTransformation transformation, boolean useSeparatorAsSplitter) Instantiates a new LWT rendering parameters.- Parameters:
composite
- the composite to place renderer controls in, cannot benull
.toolkit
- theFormToolkit
, cannot benull
.transformation
- theITreeTransformation
, can benull
if no transformation is required.useSeparatorAsSplitter
- the flag indicating to ise separators as splitter.
-
LwtRenderingParameters
public LwtRenderingParameters(SwtLightComposite composite, org.eclipse.ui.forms.widgets.FormToolkit toolkit, boolean useSeparatorAsSplitter) Instantiates a new LWT rendering parameters.- Parameters:
composite
- the composite to place renderer controls in.toolkit
- theFormToolkit
.
-
LwtRenderingParameters
Instantiates a new LWT rendering parameters.- Parameters:
composite
- the composite to place renderer controls in.
-
-
Method Details
-
getComposite
Gets the renderer composite.- Returns:
- the composite
-
getToolkit
public org.eclipse.ui.forms.widgets.FormToolkit getToolkit()Returns theFormToolkit
- Returns:
- the toolkit.
-
getTransformation
Returns theITreeTransformation
- Returns:
- the transformation
-
useSeparatorAsSplitter
public boolean useSeparatorAsSplitter()Returns the value indicating to use separator controls as splitter.- Returns:
- the value indicating to use separator controls as splitter.
-
getManagedForm
public org.eclipse.ui.forms.IManagedForm getManagedForm()Returns theIManagedForm
.- Returns:
- the
IManagedForm
instance, can benull
if rendering is for non-editor part.
-