|
IBM Rational Performance Tester SDK | ||||||||||
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
com.ibm.rational.common.test.editor.framework.kernel.AbstractLoadTestEditorForm
com.ibm.rational.common.test.editor.framework.LoadTestEditorForm
public class LoadTestEditorForm
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.hyades.test.ui.editor.form.util.EditorForm |
---|
org.eclipse.hyades.test.ui.editor.form.util.EditorForm.ArgByReference |
Field Summary | |
---|---|
protected boolean |
m_bCreateCommonPropertiesSection
|
protected LoadTestDetailsSection |
m_detailsSection
|
protected TestEditor |
m_hostTestEditor
|
protected LoadTestTreeSection |
m_treeSection
|
Fields inherited from class com.ibm.rational.common.test.editor.framework.kernel.AbstractLoadTestEditorForm |
---|
LEFT, m_contentProvider, m_labelProvider, m_layoutProvider, m_LeftSections, m_RightSections, m_sashUpdater, RIGHT |
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 | |
---|---|
LoadTestEditorForm(TestEditor testEditor,
com.ibm.rational.common.test.editor.framework.kernel.util.LoadTestWidgetFactory widgetFactory)
Constiructor |
|
LoadTestEditorForm(TestEditor testEditor,
com.ibm.rational.common.test.editor.framework.kernel.util.LoadTestWidgetFactory widgetFactory,
boolean bCreateCommonPropertiesSection)
Deprecated. Starting with 7.0.1, the support for CommonEditorSection has been removed. |
Method Summary | |
---|---|
protected void |
createDefaultProviders()
Creates default providers used to manage model elements in the editor. |
protected void |
createEditorFormContents(Composite parent)
Creates form's contents (sections) |
void |
dispose()
|
com.ibm.rational.common.test.editor.framework.kernel.InteractiveLayoutProvider |
getActiveLayoutProvider()
Returns current layout provider. |
com.ibm.rational.common.test.editor.framework.kernel.interfaces.IContentProvider |
getContentProvider(boolean copy)
Returns default content provider. |
LoadTestDetailsSection |
getDetailsSection()
Returns DetailsSection |
com.ibm.rational.common.test.editor.framework.kernel.DetailsEditorSection |
getDetailsSection(int n)
Deprecated. Starting from 7.0.1, there is no CommonSection. Calling this method with anything but 0, will return null |
protected com.ibm.rational.common.test.editor.framework.kernel.AbstractEditorSection[] |
getEditorSections(String side,
Composite parentColumn)
This method is used internqally and should not be called by clients. |
TestEditor |
getHostTestEditor()
Returns TestEditor |
com.ibm.rational.common.test.editor.framework.kernel.extensions.LT_LabelProvider |
getLabelProvider(boolean copy)
Returns deault LabelProvider |
com.ibm.rational.common.test.editor.framework.kernel.MainEditorSection |
getMainSection()
Returns Main/Tree editor section |
LoadTestTreeSection |
getTreeSection()
Returns Main/Tree editor section |
void |
load()
Called when test resource is loaded from disc. |
void |
markDirty()
Marks host test editor as dirty. |
void |
registerSection(com.ibm.rational.common.test.editor.framework.kernel.AbstractEditorSection section)
This method must be called once for every newly created section except MainSection. |
void |
selectReveal(ISelection selection)
Displays selection in the tree. |
void |
setActiveLayoutProvider(com.ibm.rational.common.test.editor.framework.kernel.InteractiveLayoutProvider activeLayoutProvider)
Deprecated. |
void |
setEditorWindowTitle()
Updates editor's window title with information obtained frmom loaded test resource. |
Control |
setFocusTo(String fieldName,
int cursorPos,
int selectionLen)
Sets focus and selection to the named control. |
void |
setHostTestEditor(TestEditor i_editor)
Sets Test Editor. |
Methods inherited from class com.ibm.rational.common.test.editor.framework.kernel.AbstractLoadTestEditorForm |
---|
clearDirty, createLeftColumnControls, createRightColumnControls, getContentProvider, getLabelProvider, getLayoutProvider, setContentProvider, setLabelProvider, setLayoutProvider, setWeights |
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, 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 |
Field Detail |
---|
protected LoadTestTreeSection m_treeSection
protected LoadTestDetailsSection m_detailsSection
protected TestEditor m_hostTestEditor
protected boolean m_bCreateCommonPropertiesSection
Constructor Detail |
---|
public LoadTestEditorForm(TestEditor testEditor, com.ibm.rational.common.test.editor.framework.kernel.util.LoadTestWidgetFactory widgetFactory)
testEditor
- widgetFactory
- public LoadTestEditorForm(TestEditor testEditor, com.ibm.rational.common.test.editor.framework.kernel.util.LoadTestWidgetFactory widgetFactory, boolean bCreateCommonPropertiesSection)
testEditor
- widgetFactory
- Method Detail |
---|
public void load()
load
in class com.ibm.rational.common.test.editor.framework.kernel.AbstractLoadTestEditorForm
EditorForm.load()
public void setEditorWindowTitle()
protected void createEditorFormContents(Composite parent)
createEditorFormContents
in class com.ibm.rational.common.test.editor.framework.kernel.AbstractLoadTestEditorForm
org.eclipse.hyades.test.ui.internal.editor.form.util.WidgetFactory#createEditorFormContents(org.eclipse.swt.widgets.Composite)
protected void createDefaultProviders()
public LoadTestDetailsSection getDetailsSection()
LoadTestDetailsSection
public LoadTestTreeSection getTreeSection()
LoadTestTreeSection
public com.ibm.rational.common.test.editor.framework.kernel.MainEditorSection getMainSection()
getMainSection
in class com.ibm.rational.common.test.editor.framework.kernel.AbstractLoadTestEditorForm
MainEditorSection
public com.ibm.rational.common.test.editor.framework.kernel.DetailsEditorSection getDetailsSection(int n)
null
getDetailsSection
in class com.ibm.rational.common.test.editor.framework.kernel.AbstractLoadTestEditorForm
protected com.ibm.rational.common.test.editor.framework.kernel.AbstractEditorSection[] getEditorSections(String side, Composite parentColumn)
getEditorSections
in class com.ibm.rational.common.test.editor.framework.kernel.AbstractLoadTestEditorForm
com.ibm.rational.common.editor.framework.kernel.AbstractLoadTestEditorForm#getEditorSections(java.lang.String, org.eclipse.swt.widgets.Composite)
public void registerSection(com.ibm.rational.common.test.editor.framework.kernel.AbstractEditorSection section)
IForm.registerSection(org.eclipse.hyades.test.ui.internal.editor.form.base.FormSection)
public TestEditor getHostTestEditor()
TestEditor
TestEditor
public void setHostTestEditor(TestEditor i_editor)
i_editor
- TestEditorpublic Control setFocusTo(String fieldName, int cursorPos, int selectionLen)
getLayoutProvider
and delegates the operation to it. LT_DefaultLayoutProvider
finds
ExtLayoutProvider
for the currently selected model element, and delegates
operation to it.
This method is subject to change in the future version of the product.
fieldName
- field to setFocus tocursorPos
- caret offset inside the fieldselectionLen
- length of selectionpublic com.ibm.rational.common.test.editor.framework.kernel.interfaces.IContentProvider getContentProvider(boolean copy)
getContentProvider
in class com.ibm.rational.common.test.editor.framework.kernel.AbstractLoadTestEditorForm
AbstractLoadTestEditorForm.getContentProvider(boolean)
public com.ibm.rational.common.test.editor.framework.kernel.extensions.LT_LabelProvider getLabelProvider(boolean copy)
getLabelProvider
in class com.ibm.rational.common.test.editor.framework.kernel.AbstractLoadTestEditorForm
AbstractLoadTestEditorForm.getLabelProvider(boolean)
public void markDirty()
public void selectReveal(ISelection selection)
selectReveal
in interface ISetSelectionTarget
selectReveal
in class org.eclipse.hyades.test.ui.editor.form.util.EditorForm
public com.ibm.rational.common.test.editor.framework.kernel.InteractiveLayoutProvider getActiveLayoutProvider()
null
ExtLayoutProvider
public void setActiveLayoutProvider(com.ibm.rational.common.test.editor.framework.kernel.InteractiveLayoutProvider activeLayoutProvider)
activeLayoutProvider
- The activeLayoutProvider to set.public void dispose()
dispose
in interface org.eclipse.hyades.test.ui.internal.editor.form.base.IForm
dispose
in interface org.eclipse.hyades.ui.util.IDisposable
dispose
in class com.ibm.rational.common.test.editor.framework.kernel.AbstractLoadTestEditorForm
|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |