Package com._1c.g5.aef2.swt.renderers
Class SwtRenderingParameters
- java.lang.Object
-
- com._1c.g5.aef2.swt.renderers.SwtRenderingParameters
-
- All Implemented Interfaces:
IRenderingParameters
public class SwtRenderingParameters extends Object implements IRenderingParameters
The SWT rendering parameters.
-
-
Constructor Summary
Constructors Constructor Description SwtRenderingParameters(org.eclipse.swt.widgets.Composite composite)
Instantiates a new SWT rendering parameters.SwtRenderingParameters(org.eclipse.swt.widgets.Composite composite, org.eclipse.ui.forms.widgets.FormToolkit toolkit)
Instantiates a new SWT rendering parameters.SwtRenderingParameters(org.eclipse.swt.widgets.Composite composite, org.eclipse.ui.forms.widgets.FormToolkit toolkit, ITreeTransformation transformation)
Instantiates a new SWT rendering parameters.SwtRenderingParameters(org.eclipse.ui.forms.IManagedForm managedForm, org.eclipse.swt.widgets.Composite composite, org.eclipse.ui.forms.widgets.FormToolkit toolkit, ITreeTransformation transformation)
Instantiates a new SWT rendering parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.swt.widgets.Composite
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
-
-
-
Constructor Detail
-
SwtRenderingParameters
public SwtRenderingParameters(org.eclipse.ui.forms.IManagedForm managedForm, org.eclipse.swt.widgets.Composite composite, org.eclipse.ui.forms.widgets.FormToolkit toolkit, ITreeTransformation transformation)
Instantiates a new SWT 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 there are no transformations.
-
SwtRenderingParameters
public SwtRenderingParameters(org.eclipse.swt.widgets.Composite composite, org.eclipse.ui.forms.widgets.FormToolkit toolkit, ITreeTransformation transformation)
Instantiates a new SWT rendering parameters.- Parameters:
composite
- the composite to place renderer controls in.toolkit
- theFormToolkit
.transformation
- theITreeTransformation
.
-
SwtRenderingParameters
public SwtRenderingParameters(org.eclipse.swt.widgets.Composite composite, org.eclipse.ui.forms.widgets.FormToolkit toolkit)
Instantiates a new SWT rendering parameters.- Parameters:
composite
- the composite to place renderer controls in.toolkit
- theFormToolkit
.
-
SwtRenderingParameters
public SwtRenderingParameters(org.eclipse.swt.widgets.Composite composite)
Instantiates a new SWT rendering parameters.- Parameters:
composite
- the composite to place renderer controls in.
-
-
Method Detail
-
getComposite
public org.eclipse.swt.widgets.Composite 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
-
getManagedForm
public org.eclipse.ui.forms.IManagedForm getManagedForm()
Returns theIManagedForm
.- Returns:
- the
IManagedForm
instance, can benull
if rendering is for non-editor part.
-
-