Package com._1c.g5.aef2.lwt
Class LwtRenderingParameters
- java.lang.Object
-
- com._1c.g5.aef2.lwt.LwtRenderingParameters
-
- All Implemented Interfaces:
IRenderingParameters
public class LwtRenderingParameters extends Object implements IRenderingParameters
The LWT rendering parameters.
-
-
Constructor Summary
Constructors Constructor Description LwtRenderingParameters(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SwtLightComposite
getComposite()
Gets the renderer composite.org.eclipse.ui.forms.IManagedForm
getManagedForm()
Returns theIManagedForm
.org.eclipse.ui.forms.widgets.FormToolkit
getToolkit()
Returns theFormToolkit
ITreeTransformation
getTransformation()
Returns theITreeTransformation
boolean
useSeparatorAsSplitter()
Returns the value indicating to use separator controls as splitter.
-
-
-
Constructor Detail
-
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
public LwtRenderingParameters(SwtLightComposite composite, boolean useSeparatorAsSplitter)
Instantiates a new LWT rendering parameters.- Parameters:
composite
- the composite to place renderer controls in.
-
-
Method Detail
-
getComposite
public SwtLightComposite getComposite()
Gets the renderer composite.- Returns:
- the composite
-
getToolkit
public org.eclipse.ui.forms.widgets.FormToolkit getToolkit()
Returns theFormToolkit
- Returns:
- the toolkit.
-
getTransformation
public ITreeTransformation 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.
-
-