|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.rational.common.test.editor.framework.kernel.AbstractLayoutProvider
com.ibm.rational.common.test.editor.framework.kernel.InteractiveLayoutProvider
com.ibm.rational.common.test.editor.framework.extensions.ExtLayoutProvider
com.ibm.rational.test.lt.testeditor.main.providers.LtLayoutProvider
public class LtLayoutProvider
This class should be used by any downstream protocol extensions that wish to create LayoutProvider handlers. This class provdes some useful behavior shared between all layout providers.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.ibm.rational.common.test.editor.framework.extensions.ExtLayoutProvider |
---|
ExtLayoutProvider.ExpandBlockAction |
Field Summary |
---|
Fields inherited from class com.ibm.rational.common.test.editor.framework.kernel.InteractiveLayoutProvider |
---|
HL_COMMAND, HL_DEST_OBJECT, HL_DESTINATION |
Fields inherited from class com.ibm.rational.common.test.editor.framework.kernel.AbstractLayoutProvider |
---|
m_details |
Fields inherited from interface com.ibm.rational.test.lt.testeditor.search.ISearchFieldNames |
---|
_FIELD_CONTENT_VP_STRING, _FIELD_CUSTOM_CODE_ARGS, _FIELD_CUSTOM_CODE_NAME, _FIELD_CVP_BYTES, _FIELD_CVP_TEXT, _FIELD_IF_LEFT_OP, _FIELD_IF_RIGHT_OP, _FIELD_TRANS_NAME |
Fields inherited from interface com.ibm.rational.common.test.editor.framework.search.ICommonSearchFieldNames |
---|
_FIELD_COMMENT, _FIELD_DELAY_TIME, _FIELD_DESC, _FIELD_LOOP_COND_ITER, _FIELD_LOOP_COND_TIMED, _FIELD_LOOP_NAME, _FIELD_LOOP_PACING_RATE, _FIELD_NAME, _FIELD_RANDOM_SELECTOR, _FIELD_WEIGHTED_BLOCK, _PREFIX |
Fields inherited from interface com.ibm.rational.common.test.editor.framework.kernel.interfaces.ILayoutProvider |
---|
CTRL_NAME |
Constructor Summary | |
---|---|
LtLayoutProvider()
|
Method Summary | |
---|---|
protected void |
createAdvancedControls(Composite tabbedAdvanced)
This implementation first calls the |
protected void |
createTransform(Composite tabbedAdvanced)
Creates UI required to display and manipulate applied transforms. |
ControlDecoration |
decorateForTransform(Object ctrlOrDecoration)
|
protected String |
getDataTransformationLabel()
|
protected String |
getTransformID()
|
protected boolean |
hasApplicableTransforms()
Calls AdapterElementHandler to check if given model element is transformable (i.e. if any transforms recognize this element) |
boolean |
layoutControls(CBActionElement selectedElement)
Implementing classes should override and provide UI for editing. |
protected boolean |
onChangeTransform()
Transform had changed. |
boolean |
refreshControls(CBActionElement selectedElement)
Implementing classes should override and provide UI for editing. |
protected void |
updateArmTagUI(boolean isNew)
This method is called from LtLayoutProvider.layoutControls(CBActionElement) and LtLayoutProvider.refreshControls(CBActionElement) . |
Methods inherited from class com.ibm.rational.common.test.editor.framework.extensions.ExtLayoutProvider |
---|
beforeHide, createAlwaysLogUi, createExceptionHandling, createExceptionsUi, createRequirements, createRequirementsUi, createSashForm, createSashFormBlock, enableComposite, fixSashColors, flushCachedData, getAdvancedTabbed, getConfigElem, getDetails, getMultiSelectLayoutProvider, getReqUi, getTextField, isInitialized, isShowAdvancedTab, isShowExceptionHandlingUi, keyReleased, modifyText, mouseDoubleClick, navigateTo, objectChanged, onTabSelected, refreshDescription, setDetails, setFocusTo, setInitializationData, setInitialized, setReqUi, setSelection, setTabVisible, widgetSelected |
Methods inherited from class com.ibm.rational.common.test.editor.framework.kernel.InteractiveLayoutProvider |
---|
addField, beforeShow, displayBooleanValue, displayNumericValue, displayOptionsAsCombo, displayOptionsAsComboWithToggle, displayOptionsAsRadioButtons, displayTextValue, displayTimePeriodValue, displayTimePeriodValue, getControl, getCtrlName, getCurrentField, getField, hidden, isForceUpdate, keyPressed, linkActivated, linkEntered, linkExited, mouseDown, mouseUp, refreshTree, removeField, setButtonLayoutData, setControlName, setCtrlText, setCurrentField, setForceUpdate, setGridData_Fill, setGridData_Hor, setHyperLink, setLayout, setStyledTextValue, setText, updateEnabledState, updateFieldsFromModel, updateTreeView, widgetDefaultSelected |
Methods inherited from class com.ibm.rational.common.test.editor.framework.kernel.AbstractLayoutProvider |
---|
dispose, getFactory, getSelection, getTestEditor, isNewSelection, layoutControls, refreshControls, setMultiSelectLayoutProvider, setNewSelection, setTestEditor, supportsMultiEdit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.rational.common.test.editor.framework.extensions.IExtensiblePrivider |
---|
getTestEditor, setTestEditor |
Constructor Detail |
---|
public LtLayoutProvider()
Method Detail |
---|
public boolean layoutControls(CBActionElement selectedElement)
ExtLayoutProvider
super.layoutControls(selection)
layoutControls
in interface com.ibm.rational.common.test.editor.framework.kernel.interfaces.ILayoutProvider
layoutControls
in class ExtLayoutProvider
selectedElement
- CBActionElement
true
. .com.ibm.rational.common.editor.framework.kernel.interfaces.ILayoutProvider#layoutControls(org.eclipse.jface.viewers.StructuredSelection)
public boolean refreshControls(CBActionElement selectedElement)
ExtLayoutProvider
super.refreshControls(selection)
refreshControls
in interface com.ibm.rational.common.test.editor.framework.kernel.interfaces.ILayoutProvider
refreshControls
in class ExtLayoutProvider
true
.com.ibm.rational.common.editor.framework.kernel.interfaces.ILayoutProvider#refreshControls(org.eclipse.jface.viewers.StructuredSelection)
protected void updateArmTagUI(boolean isNew)
LtLayoutProvider.layoutControls(CBActionElement)
and LtLayoutProvider.refreshControls(CBActionElement)
.
If an object returned from AbstractLayoutProvider.getSelection()
implements LTArmEnabled
, the checkbox will be displayed
and updated.
isNew.
- true
if called from layoutControls
and false
if
called from refreshControls
.protected void createAdvancedControls(Composite tabbedAdvanced)
createAdvancedControls
in class ExtLayoutProvider
tabbedAdvanced
- Composite in the Advanced Tab.ExtLayoutProvider.createAdvancedControls(org.eclipse.swt.widgets.Composite)
protected boolean hasApplicableTransforms()
AdapterElementHandler
to check if given model element is transformable (i.e. if any transforms recognize this element)
true
if element can be transformed and the UI for selecting transforms is needed.LtLayoutProvider.createTransform(Composite)
protected void createTransform(Composite tabbedAdvanced)
protected
attribute only so multiselect layout provider can handle requirements of multiple elements.
tabbedAdvanced
- Composite parent in Advanced Tab.protected String getDataTransformationLabel()
public ControlDecoration decorateForTransform(Object ctrlOrDecoration)
protected boolean onChangeTransform()
protected String getTransformID()
|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |