org.eclipse.hyades.test.ui.internal.editor.form.base
Class AbstractSectionForm
java.lang.Object
org.eclipse.hyades.test.ui.internal.editor.form.base.AbstractForm
org.eclipse.hyades.test.ui.internal.editor.form.base.AbstractSectionForm
- All Implemented Interfaces:
- java.util.EventListener, IForm, org.eclipse.jface.util.IPropertyChangeListener
- Direct Known Subclasses:
- SectionForm
- public abstract class AbstractSectionForm
- extends AbstractForm
This form class understands form sections.
It assumes that they are part of the form
and it offers life cycle handling of sections
once they are registered.
| Methods inherited from class org.eclipse.hyades.test.ui.internal.editor.form.base.AbstractForm |
canPerformDirectly, createControl, expandTo, getControl, getFactory, getHeadingBackground, getHeadingForeground, getHeadingImage, getHeadingText, isHeadingVisible, setHeadingBackground, setHeadingForeground, setHeadingImage, setHeadingText, setHeadingVisible, updateHyperlinkColors |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.jface.util.IPropertyChangeListener |
propertyChange |
H_SCROLL_INCREMENT
public static final int H_SCROLL_INCREMENT
- See Also:
- Constant Field Values
V_SCROLL_INCREMENT
public static final int V_SCROLL_INCREMENT
- See Also:
- Constant Field Values
sections
protected java.util.Vector sections
AbstractSectionForm
public AbstractSectionForm()
registerSection
public void registerSection(FormSection section)
- Specified by:
registerSection in interface IForm- Overrides:
registerSection in class AbstractForm
- See Also:
IForm.registerSection(FormSection)
unregisterSection
public void unregisterSection(FormSection section)
initialize
public void initialize(java.lang.Object model)
- Specified by:
initialize in interface IForm- Overrides:
initialize in class AbstractForm
- See Also:
IForm.initialize(Object)
setFocus
public void setFocus()
- Specified by:
setFocus in interface IForm- Overrides:
setFocus in class AbstractForm
- See Also:
IForm.setFocus()
update
public void update()
- Specified by:
update in interface IForm- Overrides:
update in class AbstractForm
- See Also:
IForm.update()
commitChanges
public void commitChanges(boolean onSave)
- Specified by:
commitChanges in interface IForm- Overrides:
commitChanges in class AbstractForm
- See Also:
IForm.commitChanges(boolean)
doGlobalAction
public boolean doGlobalAction(java.lang.String actionId)
- Specified by:
doGlobalAction in interface IForm- Overrides:
doGlobalAction in class AbstractForm
- See Also:
IForm.doGlobalAction(String)
getFocusControl
protected org.eclipse.swt.widgets.Control getFocusControl()
canPaste
public boolean canPaste(org.eclipse.swt.dnd.Clipboard clipboard)
dispose
public void dispose()
- Specified by:
dispose in interface IForm- Overrides:
dispose in class AbstractForm
- See Also:
IForm.dispose()
ensureVisible
public static void ensureVisible(org.eclipse.swt.custom.ScrolledComposite scomp,
org.eclipse.swt.widgets.Control control)
ensureVisible
public static void ensureVisible(org.eclipse.swt.custom.ScrolledComposite scomp,
org.eclipse.swt.graphics.Point controlOrigin,
org.eclipse.swt.graphics.Point controlSize)
getControlLocation
public static org.eclipse.swt.graphics.Point getControlLocation(org.eclipse.swt.custom.ScrolledComposite scomp,
org.eclipse.swt.widgets.Control control)
scrollVertical
public static void scrollVertical(org.eclipse.swt.custom.ScrolledComposite scomp,
boolean up)
scrollHorizontal
public static void scrollHorizontal(org.eclipse.swt.custom.ScrolledComposite scomp,
boolean left)
scrollPage
public static void scrollPage(org.eclipse.swt.custom.ScrolledComposite scomp,
boolean up)
updatePageIncrement
public static void updatePageIncrement(org.eclipse.swt.custom.ScrolledComposite scomp)