|
TPTP 4.4.0 Testing Tools Project Internal 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.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
org.eclipse.hyades.test.ui.editor.form.util.EditorForm
org.eclipse.hyades.test.ui.internal.editor.form.PropertyGroupForm
This is the default implementation class of extension point org.eclipse.hyades.test.ui.configurationEditorForm. Extensions may choose to extend this class or simply use directly.
| Nested Class Summary | |
|---|---|
class |
PropertyGroupForm.PropertyGroupTableLabelProvider
This is a ITableLabelProvider class that knows what text to display in
the table control of a IPropertyGroupForm with a given CFGComparableProperty object. |
protected class |
PropertyGroupForm.PropertyGroupTableSection
|
| Nested classes inherited from class org.eclipse.hyades.test.ui.editor.form.util.EditorForm |
|---|
org.eclipse.hyades.test.ui.editor.form.util.EditorForm.ArgByReference |
| Field Summary | |
|---|---|
static java.lang.String |
CONTROL_TYPE_CUSTOM
|
static java.lang.String |
CONTROL_TYPE_FIELDS
|
static java.lang.String |
CONTROL_TYPE_TABLE
|
static java.lang.String |
CONTROL_TYPE_TREE
|
| Fields inherited from class org.eclipse.hyades.test.ui.internal.editor.form.base.SectionForm |
|---|
heightHint, widthHint |
| Fields inherited from class org.eclipse.hyades.test.ui.internal.editor.form.base.AbstractSectionForm |
|---|
H_SCROLL_INCREMENT, sections, V_SCROLL_INCREMENT |
| Fields inherited from class org.eclipse.hyades.test.ui.internal.editor.form.base.AbstractForm |
|---|
factory, headingBackground, headingForeground, headingImage, headingText, headingVisible, titleFont |
| Constructor Summary | |
|---|---|
PropertyGroupForm()
|
|
| Method Summary | |
|---|---|
protected org.eclipse.jface.action.IAction[] |
createButtonActions()
Creates the actions of the buttons that the primary editor section will use. |
protected void |
createEditorFormContents(org.eclipse.swt.widgets.Composite parent)
Creates the contents of this editor form. |
protected org.eclipse.hyades.test.ui.editor.form.util.EditorSection |
createTableSection(org.eclipse.swt.widgets.Composite parent)
Creates a table section with add, remove, move up, move down buttons as the main control of this form. |
protected org.eclipse.hyades.test.ui.editor.form.util.EditorSection |
createTreeSection(org.eclipse.swt.widgets.Composite parent)
Creates a tree section with add, remove, move up, move down buttons as the main control of this form. |
void |
dispose()
|
boolean |
doGlobalAction(java.lang.String actionId)
|
java.lang.String |
getAppliesTo()
Returns which CFGConfigurableObject's property group this form is editing. |
java.lang.String |
getControlType()
Returns the type of the control this form contains. |
java.lang.String |
getDescription()
|
protected org.eclipse.emf.ecore.EObject |
getEditorObject()
Returns the data object that is manipulated by the editor that this form belongs. |
java.lang.String |
getName()
|
org.eclipse.hyades.models.common.configuration.CFGPropertyGroup |
getPropertyGroup()
Returns the CFGPropertyGroup object this form is editing. |
org.eclipse.jface.viewers.IStructuredSelection |
getSelection()
Subclass should override this method to return the specific selected object in the form. |
void |
init(org.eclipse.hyades.models.common.configuration.CFGPropertyGroup propertyGroup,
org.eclipse.hyades.test.ui.editor.extension.BaseEditorExtension editorExtension,
org.eclipse.hyades.test.ui.editor.form.util.WidgetFactory widgetFactory)
Initializes the property group form. |
void |
load()
Subclasses should load the persited values in the controls in this method. |
void |
selectReveal(org.eclipse.jface.viewers.ISelection selection)
Sets the selection in this form to be revealed when the form is activated. |
void |
setExtension(org.eclipse.core.runtime.IConfigurationElement extension)
Sets the IConfigurationElement object the instance of this
class is created for. |
| Methods inherited from class org.eclipse.hyades.test.ui.editor.form.util.EditorForm |
|---|
activated, createColumn, createControl, createFormClient, getBaseEditorExtension, getCurrentSelection, getStatusLineManager, getWidgetFactory, init, updateTitle |
| Methods inherited from class org.eclipse.hyades.test.ui.internal.editor.form.base.ScrollableSectionForm |
|---|
createControl, createParent, isScrollable, isVerticalFit, setScrollable, setVerticalFit, update, updateScrollBars, updateScrolledComposite |
| Methods inherited from class org.eclipse.hyades.test.ui.internal.editor.form.base.SectionForm |
|---|
getControl, getTitleHeight, paintControl, propertyChange, setHeadingText, setHeadingVisible |
| Methods inherited from class org.eclipse.hyades.test.ui.internal.editor.form.base.AbstractSectionForm |
|---|
canPaste, commitChanges, 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 |
| Methods inherited from interface org.eclipse.hyades.test.ui.internal.editor.form.IPropertyGroupForm |
|---|
createControl |
| Field Detail |
public static final java.lang.String CONTROL_TYPE_CUSTOM
public static final java.lang.String CONTROL_TYPE_TABLE
public static final java.lang.String CONTROL_TYPE_TREE
public static final java.lang.String CONTROL_TYPE_FIELDS
| Constructor Detail |
public PropertyGroupForm()
| Method Detail |
public void init(org.eclipse.hyades.models.common.configuration.CFGPropertyGroup propertyGroup,
org.eclipse.hyades.test.ui.editor.extension.BaseEditorExtension editorExtension,
org.eclipse.hyades.test.ui.editor.form.util.WidgetFactory widgetFactory)
IPropertyGroupForm
init in interface IPropertyGroupFormpublic void setExtension(org.eclipse.core.runtime.IConfigurationElement extension)
IPropertyGroupFormIConfigurationElement object the instance of this
class is created for.
setExtension in interface IPropertyGroupFormextension - public java.lang.String getName()
getName in interface IPropertyGroupFormpublic java.lang.String getDescription()
getDescription in interface IPropertyGroupFormpublic org.eclipse.hyades.models.common.configuration.CFGPropertyGroup getPropertyGroup()
IPropertyGroupFormCFGPropertyGroup object this form is editing.
getPropertyGroup in interface IPropertyGroupFormpublic java.lang.String getControlType()
public java.lang.String getAppliesTo()
CFGConfigurableObject's property group this form is editing.
CFGConfigurableObject concrete class name.public void dispose()
dispose in interface org.eclipse.hyades.ui.util.IDisposableorg.eclipse.update.ui.forms.internal.IForm#dispose()protected org.eclipse.emf.ecore.EObject getEditorObject()
protected void createEditorFormContents(org.eclipse.swt.widgets.Composite parent)
parent - protected org.eclipse.hyades.test.ui.editor.form.util.EditorSection createTreeSection(org.eclipse.swt.widgets.Composite parent)
parent -
EditorSectionprotected org.eclipse.hyades.test.ui.editor.form.util.EditorSection createTableSection(org.eclipse.swt.widgets.Composite parent)
parent -
EditorSectionprotected org.eclipse.jface.action.IAction[] createButtonActions()
public void load()
load in interface IPropertyGroupFormpublic org.eclipse.jface.viewers.IStructuredSelection getSelection()
getSelection in interface IPropertyGroupFormpublic void selectReveal(org.eclipse.jface.viewers.ISelection selection)
IPropertyGroupForm
selectReveal in interface IPropertyGroupFormISetSelectionTarget.selectReveal(org.eclipse.jface.viewers.ISelection)public boolean doGlobalAction(java.lang.String actionId)
doGlobalAction in interface IFormdoGlobalAction in class AbstractSectionFormorg.eclipse.update.ui.forms.internal.FormSection#doGlobalAction(java.lang.String)
|
TPTP 4.4.0 Testing Tools Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||