Class EMFFormsSWTLayoutUtil


  • public final class EMFFormsSWTLayoutUtil
    extends java.lang.Object
    Util class for common SWT-related layout tasks.
    Since:
    1.8
    Author:
    jfaltermeier
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void adjustParentSize​(org.eclipse.swt.widgets.Control control)
      This methods helps to update the size of a parent composite when the size of a child has changed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • adjustParentSize

        public static void adjustParentSize​(org.eclipse.swt.widgets.Control control)
        This methods helps to update the size of a parent composite when the size of a child has changed. This is needed for ScrolledComposite and ExpandBar.
        Parameters:
        control - the control with a changed size.