Class SwtRenderingParameters

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