|
TPTP 4.2.0 Testing Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.hyades.test.ui.internal.editor.form.base.FormWidgetFactory
org.eclipse.hyades.test.ui.editor.form.util.WidgetFactory
The implementation of this class is not based on Eclipse Forms(a.k.a. "flat" look)
framework that was made available publically in Eclipse 3.0. If you would like your editor(s) to be
built with the Eclipse Forms technology, this is NOT the class to extend. To know more about
Eclipse Forms:
Eclipse Forms Programming Guide
This class allows the client to create some widgets. In general, this class will log the
error is failed to create the widgets and return null.
| Nested Class Summary | |
|---|---|
protected class |
WidgetFactory.BorderPainter
Deprecated. This class is used to paint the borders for all the borderizables widgets of a control. |
protected static class |
WidgetFactory.VisibilityHandler
Deprecated. This class handles the visibility of a widget. |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.hyades.test.ui.internal.editor.form.base.FormWidgetFactory |
|---|
BORDER_STYLE, borderColor, COLOR_BORDER, COLOR_COMPOSITE_SEPARATOR, DEFAULT_HEADER_COLOR, foregroundColor, KEY_DRAW_BORDER, TREE_BORDER |
| Constructor Summary | |
|---|---|
WidgetFactory()
Deprecated. Constructor for WidgetFactory |
|
WidgetFactory(org.eclipse.swt.widgets.Display display)
Deprecated. Constructor for WidgetFactory |
|
| Method Summary | |
|---|---|
org.eclipse.swt.widgets.Menu |
addEditPopupMenu(org.eclipse.swt.custom.StyledText text)
Deprecated. Adds a Copy/Cut/Paste popup menu to the specified StyledText. |
org.eclipse.swt.custom.CCombo |
createCCombo(org.eclipse.swt.widgets.Composite parent,
int style)
Deprecated. Creates a ccombo or return null if fails. |
org.eclipse.swt.custom.StyledText |
createStyledText(org.eclipse.swt.widgets.Composite parent,
int style)
Deprecated. Creates a styled text. |
org.eclipse.swt.custom.StyledText |
createStyledText(org.eclipse.swt.widgets.Composite parent,
int style,
java.lang.String accessibleName)
Deprecated. Convenience method to also create a valid accessible listener when creating the StyledText |
void |
dispose()
Deprecated. Disposes the widget factory. |
protected WidgetFactory.BorderPainter |
getBorderPainter()
Deprecated. |
protected WidgetFactory.VisibilityHandler |
getVisibilityHandler()
Deprecated. Returns the visibilty handler used as the focus listeners of some of the created widgets. |
void |
paintBordersFor(org.eclipse.swt.widgets.Composite composite)
Deprecated. Paints the borders for all the borderizable widgets of the composite. |
| Methods inherited from class org.eclipse.hyades.test.ui.internal.editor.form.base.FormWidgetFactory |
|---|
createButton, createComposite, createComposite, createCompositeSeparator, createFormEngine, createFormEngine, createHeadingLabel, createHeadingLabel, createHeadingLabel, createHeadingLabel, createHyperlinkLabel, createHyperlinkLabel, createLabel, createLabel, createSelectableLabel, createSelectableLabel, createSeparator, createTable, createText, createText, createTree, deleteKeyPressed, ensureVisible, getBackgroundColor, getBorderColor, getBusyCursor, getColor, getForegroundColor, getHyperlinkColor, getHyperlinkCursor, getHyperlinkHandler, getHyperlinkHoverColor, getHyperlinkUnderlineMode, getScrolledComposite, hookDeleteListener, isWhiteBackground, processKey, registerColor, setBackgroundColor, setHyperlinkColor, setHyperlinkHoverColor, setHyperlinkUnderlineMode, turnIntoHyperlink, updateHyperlinkColors |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WidgetFactory()
public WidgetFactory(org.eclipse.swt.widgets.Display display)
display - | Method Detail |
public void dispose()
dispose in interface org.eclipse.hyades.ui.util.IDisposableprotected WidgetFactory.VisibilityHandler getVisibilityHandler()
protected WidgetFactory.BorderPainter getBorderPainter()
public org.eclipse.swt.custom.StyledText createStyledText(org.eclipse.swt.widgets.Composite parent,
int style)
parent - style -
public org.eclipse.swt.custom.StyledText createStyledText(org.eclipse.swt.widgets.Composite parent,
int style,
java.lang.String accessibleName)
parent - style -
public org.eclipse.swt.widgets.Menu addEditPopupMenu(org.eclipse.swt.custom.StyledText text)
text - The StyledText.
public org.eclipse.swt.custom.CCombo createCCombo(org.eclipse.swt.widgets.Composite parent,
int style)
null if fails.
parent - style -
public void paintBordersFor(org.eclipse.swt.widgets.Composite composite)
composite - the composite.
|
TPTP 4.2.0 Testing Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||