org.eclipse.hyades.test.ui.internal.editor.form.base
Class ScrollableSectionForm
java.lang.Object
org.eclipse.hyades.test.ui.internal.editor.form.base.AbstractForm
org.eclipse.hyades.test.ui.internal.editor.form.base.AbstractSectionForm
org.eclipse.hyades.test.ui.internal.editor.form.base.SectionForm
org.eclipse.hyades.test.ui.internal.editor.form.base.ScrollableSectionForm
- All Implemented Interfaces:
- java.util.EventListener, IForm, org.eclipse.jface.util.IPropertyChangeListener, org.eclipse.swt.events.PaintListener, org.eclipse.swt.internal.SWTEventListener
- Direct Known Subclasses:
- org.eclipse.hyades.test.ui.editor.form.util.EditorForm, EditorForm
- public class ScrollableSectionForm
- extends SectionForm
This version of the section form adds scrolling
capability. However, scrolling can be disabled
using 'setScrollable' method. For this reason,
this class can be used instead of the SectionForm.
| Methods inherited from class org.eclipse.hyades.test.ui.internal.editor.form.base.AbstractSectionForm |
canPaste, commitChanges, dispose, doGlobalAction, ensureVisible, ensureVisible, getControlLocation, getFocusControl, initialize, registerSection, scrollHorizontal, scrollPage, scrollVertical, setFocus, unregisterSection, updatePageIncrement |
| Methods inherited from class org.eclipse.hyades.test.ui.internal.editor.form.base.AbstractForm |
canPerformDirectly, expandTo, getFactory, getHeadingBackground, getHeadingForeground, getHeadingImage, getHeadingText, isHeadingVisible, setHeadingBackground, setHeadingForeground, setHeadingImage, updateHyperlinkColors |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScrollableSectionForm
public ScrollableSectionForm()
createControl
public org.eclipse.swt.widgets.Control createControl(org.eclipse.swt.widgets.Composite parent)
- Specified by:
createControl in interface IForm- Overrides:
createControl in class SectionForm
createParent
protected org.eclipse.swt.widgets.Composite createParent(org.eclipse.swt.widgets.Composite parent)
isScrollable
public boolean isScrollable()
isVerticalFit
public boolean isVerticalFit()
setScrollable
public void setScrollable(boolean newScrollable)
setVerticalFit
public void setVerticalFit(boolean newVerticalFit)
update
public void update()
- Specified by:
update in interface IForm- Overrides:
update in class AbstractSectionForm
updateScrollBars
public void updateScrollBars()
updateScrolledComposite
public void updateScrolledComposite()