org.topbraidcomposer.ui.util
Class ScrolledFormUtil

java.lang.Object
  extended by org.topbraidcomposer.ui.util.ScrolledFormUtil

public class ScrolledFormUtil
extends java.lang.Object


Field Summary
static java.lang.String FORM_KEY
           
 
Constructor Summary
ScrolledFormUtil()
           
 
Method Summary
static int getAvailableWidth(org.eclipse.ui.forms.widgets.ScrolledForm form)
           
static org.eclipse.ui.forms.IManagedForm getManagedForm(org.eclipse.swt.widgets.Control control)
          Assuming that init has been called before, this method find the IManagedForm of a given control.
static void init(org.eclipse.ui.forms.IManagedForm form)
           
static void initFormColors(org.eclipse.ui.forms.FormColors colors)
           
static void reflow(org.eclipse.swt.widgets.Control control)
           
static void reflowAll(org.eclipse.swt.widgets.Control control)
           
static void scrollToVisible(org.eclipse.swt.widgets.Control c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FORM_KEY

public static final java.lang.String FORM_KEY
See Also:
Constant Field Values
Constructor Detail

ScrolledFormUtil

public ScrolledFormUtil()
Method Detail

getManagedForm

public static org.eclipse.ui.forms.IManagedForm getManagedForm(org.eclipse.swt.widgets.Control control)
Assuming that init has been called before, this method find the IManagedForm of a given control.

Parameters:
form -
Returns:

init

public static void init(org.eclipse.ui.forms.IManagedForm form)

reflow

public static void reflow(org.eclipse.swt.widgets.Control control)

reflowAll

public static void reflowAll(org.eclipse.swt.widgets.Control control)

scrollToVisible

public static void scrollToVisible(org.eclipse.swt.widgets.Control c)

getAvailableWidth

public static int getAvailableWidth(org.eclipse.ui.forms.widgets.ScrolledForm form)

initFormColors

public static void initFormColors(org.eclipse.ui.forms.FormColors colors)