org.topbraidcomposer.editors
Class MyLayout

java.lang.Object
  extended by org.eclipse.swt.widgets.Layout
      extended by org.topbraidcomposer.editors.MyLayout
All Implemented Interfaces:
org.eclipse.ui.forms.widgets.ILayoutExtension

public class MyLayout
extends org.eclipse.swt.widgets.Layout
implements org.eclipse.ui.forms.widgets.ILayoutExtension


Constructor Summary
MyLayout(org.eclipse.swt.custom.StyledText text)
           
 
Method Summary
 int computeMaximumWidth(org.eclipse.swt.widgets.Composite parent, boolean changed)
           
 int computeMinimumWidth(org.eclipse.swt.widgets.Composite parent, boolean changed)
           
protected  org.eclipse.swt.graphics.Point computeSize(org.eclipse.swt.widgets.Composite composite, int wHint, int hHint, boolean flushCache)
           
protected  void layout(org.eclipse.swt.widgets.Composite composite, boolean flushCache)
           
 
Methods inherited from class org.eclipse.swt.widgets.Layout
flushCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyLayout

public MyLayout(org.eclipse.swt.custom.StyledText text)
Method Detail

computeSize

protected org.eclipse.swt.graphics.Point computeSize(org.eclipse.swt.widgets.Composite composite,
                                                     int wHint,
                                                     int hHint,
                                                     boolean flushCache)
Specified by:
computeSize in class org.eclipse.swt.widgets.Layout

layout

protected void layout(org.eclipse.swt.widgets.Composite composite,
                      boolean flushCache)
Specified by:
layout in class org.eclipse.swt.widgets.Layout

computeMinimumWidth

public int computeMinimumWidth(org.eclipse.swt.widgets.Composite parent,
                               boolean changed)
Specified by:
computeMinimumWidth in interface org.eclipse.ui.forms.widgets.ILayoutExtension

computeMaximumWidth

public int computeMaximumWidth(org.eclipse.swt.widgets.Composite parent,
                               boolean changed)
Specified by:
computeMaximumWidth in interface org.eclipse.ui.forms.widgets.ILayoutExtension