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 Details

    • 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 be null for non-editor rendering.
      composite - the composite to place renderer controls in, cannot be null.
      toolkit - the FormToolkit, cannot be null.
      transformation - the ITreeTransformation, can be null 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 - the FormToolkit.
      transformation - the ITreeTransformation.
    • 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 - the FormToolkit.
    • 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 Details

    • 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 the FormToolkit
      Returns:
      the toolkit.
    • getTransformation

      public ITreeTransformation getTransformation()
      Returns:
      the transformation
    • getManagedForm

      public org.eclipse.ui.forms.IManagedForm getManagedForm()
      Returns the IManagedForm.
      Returns:
      the IManagedForm instance, can be null if rendering is for non-editor part.