public abstract class TestEditor extends com.ibm.rational.common.test.editor.framework.editor.RptEmfEditor implements IJobChangeListener, com.ibm.rational.common.test.editor.framework.kernel.actions.ITestEditorActionIDs, IGotoMarker, com.ibm.rational.common.test.editor.framework.kernel.interfaces.ILoggingConstants, INavigationLocationProvider, com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITestEditor
| Modifier and Type | Class and Description |
|---|---|
static class |
TestEditor.EnableOperation |
| Modifier and Type | Field and Description |
|---|---|
protected static String |
LASTFIELDSELECTION |
static String |
LASTSELECTION |
static byte |
VIEW_MODE_NORMAL |
pagesPAGE_CONTAINER_SITEACTION_GROUP_EDIT_END, ACTION_GROUP_EDIT_START, ACTION_GROUP_FILTERS_END, ACTION_GROUP_FILTERS_START, ACTION_GROUP_FIND_END, ACTION_GROUP_FIND_START, ACTION_GROUP_GOTO_END, ACTION_GROUP_GOTO_START, ACTION_GROUP_MODIFY_CONTRIBUTIONS_END, ACTION_GROUP_MODIFY_CONTRIBUTIONS_START, ACTION_GROUP_NEW_END, ACTION_GROUP_NEW_START, ACTION_GROUP_SHOW_END, ACTION_GROUP_SHOW_START, COPY, CUT, DELETE, PASTE, SAVE, SELECT_ALLRPCA0100W, RPCA0101W, RPCA0102W, RPCA0103W, RPCA0104W, RPCA0105E, RPCA0106E, RPCA0107E, RPCA0108E, RPCA0109E, RPCA0110E, RPCA1001E, RPCA1001W, RPCA1002EPROP_DIRTY, PROP_INPUTPROP_TITLE| Modifier | Constructor and Description |
|---|---|
protected |
TestEditor(Class<? extends org.eclipse.emf.ecore.EObject> editorObjectClass)
TestEditor create an instance of this object from your EditorExtension.createPages method.
|
| Modifier and Type | Method and Description |
|---|---|
void |
aboutToRun(IJobChangeEvent event) |
void |
activate(boolean active) |
protected void |
addAvailableType(List<CBActionElement> elements) |
void |
addAvailableType(String type) |
void |
addRecentSearchText(String text) |
void |
awake(IJobChangeEvent event) |
boolean |
canAddModelElement(String elementType) |
void |
cancelCutOperation()
Convenience method for cancelling active Cut operation.
|
void |
clearDirty()
Clears editor's dirty state.
|
protected abstract String |
computeEditorName() |
protected abstract String |
computeFormTitle() |
protected abstract String |
computeLeftTreeDescription() |
protected abstract String |
computeLeftTreeTitle() |
protected abstract String |
computeRightTreeDescription() |
protected abstract String |
computeRightTreeTitle() |
boolean |
confirmRemove(IStructuredSelection ssel,
String parentName) |
boolean |
confirmRemove(IStructuredSelection ssel,
String parentName,
int maxInList) |
protected void |
connectToEclipse(IEditorPart part) |
protected com.ibm.rational.common.test.editor.framework.TestEditorForm |
createEditorForm()
Creates the TestEditorForm.
|
INavigationLocation |
createEmptyNavigationLocation() |
abstract com.ibm.rational.common.test.editor.framework.extensions.ExceptionsUI |
createExceptionsUI(ExtLayoutProvider provider) |
ILabelProvider |
createLabelProvider() |
protected void |
createMainFormContent(IManagedForm managedForm) |
protected RptMenuManager |
createMenuManager() |
INavigationLocation |
createNavigationLocation() |
protected abstract CBTest |
createTestObject(org.eclipse.hyades.models.common.facades.behavioral.ITestSuite testSuite)
Loads and returns concrete type derived from
CBTest. |
protected com.ibm.rational.common.test.editor.framework.kernel.interfaces.IContentProvider |
createTreeContentProvider() |
void |
displayMatch(Object match)
Displays Search Match.
|
void |
displayObject(com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITargetDescriptor target)
Directs
TestEditor to locate and select specified model element in the tree section. |
void |
dispose() |
protected void |
doFirstTimeInit() |
void |
done(IJobChangeEvent event) |
void |
doSaveAs() |
void |
enableElements(List<CBActionElement> elements,
TestEditor.EnableOperation operation,
boolean refreshSelection) |
void |
fillContextMenu(IMenuManager menu)
Fills content menu for TestEditor's MainSection
|
protected void |
fixBadRequirements()
Find and disable requirement targets with all incomplete requirements
|
protected String |
formatMessage(com.ibm.rational.test.common.models.behavior.exceptions.CommonModelException e1) |
Object |
getAdapter(Class adapter) |
String[] |
getApplicableTypes()
Used by base editor's
ExtensionContainers to filter extensions. |
Set<String> |
getAvailableTypes() |
com.ibm.rational.common.test.editor.framework.kernel.actions.CreateBookmarkAction |
getBookmarkAction() |
boolean |
getCaseSearchValue() |
com.ibm.rational.common.test.editor.framework.change.ITestEditorChangeFactory |
getChangeFactory() |
com.ibm.rational.common.test.editor.framework.kernel.interfaces.IContentProvider |
getContentProvider() |
IStructuredSelection |
getCurrentSelection()
Returns current selection.
|
String |
getDialogCaption(String dialogName) |
IFileEditorInput |
getEditorInput() |
String |
getEditorName()
Returns editor name.
|
IDialogSettings |
getEditorState()
Returns
IDialogSettings with settings of this editor. |
com.ibm.rational.common.test.editor.framework.kernel.actions.EnableDisableActionGroup |
getEnableDisableActionGroup() |
com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITestEditorExtensionContext |
getExtensionContext(CBActionElement element) |
com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITestEditorExtensionContext |
getExtensionContext(String elementType) |
FindReplaceAction |
getFindReplaceAction() |
com.ibm.rational.common.test.editor.framework.TestEditorForm |
getForm()
Returns editor form.
|
String |
getFormattedResourceName() |
Image |
getImageFor(Object element) |
String |
getLabelFor(Object element) |
ILabelProvider |
getLabelProvider() |
RptMenuManager |
getMenuManager() |
com.ibm.rational.common.test.editor.framework.change.ITestEditorChangeService |
getOperationService() |
com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITestEditorExtensionContext |
getProviders(CBActionElement element)
Returns
ITestEditorExtensionContext (providers container) for the specified CBActionElement. |
List<com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITestEditorExtensionContext> |
getProviders(Collection<CBActionElement> elements)
Returns
ITestEditorExtensionContexts (one or more providers) for CBActionElements contained in the
specified StructuredSelection. |
List<com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITestEditorExtensionContext> |
getProviders(IStructuredSelection selection)
Returns
ITestEditorExtensionContexts (one or more providers) for CBActionElements contained in the
specified StructuredSelection. |
com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITestEditorExtensionContext |
getProviders(String type)
Returns
ITestEditorExtensionContext (providers container) for the specified type. |
com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITestEditorExtensionContext |
getProviders(String type,
boolean required)
Returns
ITestEditorExtensionContext (providers container) for the specified type. |
List<String> |
getRecentSearches() |
boolean |
getRegexSearchValue() |
ISelection |
getSecondarySelection()
Returns the current selection in the right-panel of the editor.
|
IStructuredSelection |
getSelection() |
CBTest |
getTest()
Returns
CBTest. |
ISearchQuery |
getTestSearchQuery(com.ibm.rational.common.test.editor.framework.kernel.search.QuerySpecification specs,
int what)
Returns instanceof
SearchQuery. |
org.eclipse.hyades.models.common.facades.behavioral.ITestSuite |
getTestSuite() |
byte |
getViewMode() |
void |
gotoMarker(IMarker marker) |
int |
hasJobs() |
void |
hideInsertionPoint() |
boolean |
isAcceptingPasteFrom(TestEditor editor)
Returns whether this test editor supports pasting elements
copied from the specified editor.
|
boolean |
isHighlightSearchResults() |
boolean |
isOkToSave() |
boolean |
isReadOnly() |
boolean |
isSaveAsAllowed() |
void |
jobCreated(com.ibm.rational.common.test.editor.framework.jobs.TestModifyingJob job) |
void |
markDirty()
Marks the
TestEditor as dirty. |
void |
markLocation() |
protected void |
onSaveAsComplete(IFile file,
String newID,
String newName) |
protected boolean |
performSaveAsRPT(IProgressMonitor progressMonitor) |
protected void |
postSave(IFile newFile) |
void |
refresh()
Refreshes details section of the element(s) currently selected in the editor tree.
|
void |
refreshActionStates()
Refresh the state of the actions associated to the current selection.
|
protected void |
refreshContent(Object o) |
void |
registerEditActionsHandler(com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITextGlobalActionHandler handler,
Control control,
ISelectionProvider selectionProvider) |
void |
reload() |
protected void |
restoreState()
Restores editor state upon load.
|
void |
running(IJobChangeEvent event) |
void |
saveFile(IProgressMonitor monitor) |
protected void |
saveFileTo(IFile file,
IProgressMonitor monitor) |
void |
saveState()
Saves editor state
|
void |
scheduled(IJobChangeEvent event) |
void |
setCaseSearchValue(boolean selection) |
protected void |
setCbTest(CBTest test) |
protected void |
setEditorObject(org.eclipse.emf.ecore.EObject editorObject) |
void |
setHighlightSearchResults(boolean b) |
protected void |
setInput(IEditorInput input) |
void |
setInput(Object arg0)
This method is called when the test is opening in the Eclipse editor.
|
void |
setReadOnly(boolean isReadOnly)
Changes editor state as read-only.
|
void |
setRegexSearchValue(boolean selection) |
void |
setSelection(ISelection arg0) |
void |
setStatusLineMessage(String string,
boolean isError)
Sets status line text.
|
void |
setStatusLineMessage(String string,
boolean isError,
Image image)
Sets status line text and image.
|
protected void |
setViewMode(byte lastViewMode,
StructuredSelection ssel)
This implementation does nothing.
|
void |
showInsertionPoint(Object parent,
int index) |
void |
sleeping(IJobChangeEvent event) |
void |
storeFieldLocation(com.ibm.rational.common.test.editor.framework.extensions.TextAttributeField field,
int selStart,
int selEnd) |
protected void |
unload(boolean reserved)
This method is called when
TestEditor is being unloaded. |
void |
unregisterEditActionsHandler(Control control) |
void |
unregisterEditActionsHandler(com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITextGlobalActionHandler handler) |
void |
updateEditorWindowTitle()
Updates editor's window title with information obtained from loaded test resource.
|
void |
updateFindRepleceAction() |
addSelectionChangedListener, fireSelection, getEditorObject, getResourceSet, internalDoSave, internalDoSaveTo, isDirty, preSave, reloadEditorObject, removeSelectionChangedListeneraddPages, createHeaderContents, createPages, doSave, getClipboard, getContainer, getProgressMonitor, getSharedFormTitle, init, setPartName, setSharedFormTitlecommitPages, createPageContainer, getHeaderForm, setActivePage, setFocusaddPage, addPage, addPage, addPage, addPage, addPage, close, configurePage, createToolkit, editorDirtyStateChanged, findPage, getActiveEditor, getActivePageInstance, getCurrentPage, getSelectedPage, getToolkit, pageChange, removePage, selectReveal, setActivePage, setActivePage, updateActionBarContributoractivateSite, addPageChangedListener, createPartControl, createSite, deactivateSite, findEditors, getActivePage, getControl, getEditor, getPageCount, getPageImage, getPageSite, getPageText, handlePropertyChange, initializePageSwitching, removePageChangedListener, setActiveEditor, setControl, setPageImage, setPageTextcheckSite, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInputWithNotifyaddPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusyaddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSiteaddPropertyListener, getSite, getTitle, getTitleImage, removePropertyListenerpublic static final byte VIEW_MODE_NORMAL
public static final String LASTSELECTION
protected static final String LASTFIELDSELECTION
protected TestEditor(Class<? extends org.eclipse.emf.ecore.EObject> editorObjectClass)
ext - EditorExtensionprotected void setInput(IEditorInput input)
setInput in class com.ibm.rational.common.test.editor.framework.editor.RptEmfEditorpublic void dispose()
dispose in interface IWorkbenchPartdispose in class com.ibm.rational.common.test.editor.framework.editor.RptEmfEditorpublic IFileEditorInput getEditorInput()
getEditorInput in interface IEditorPartgetEditorInput in class EditorPartprotected void setEditorObject(org.eclipse.emf.ecore.EObject editorObject)
setEditorObject in class com.ibm.rational.common.test.editor.framework.editor.RptEmfEditorpublic RptMenuManager getMenuManager()
protected RptMenuManager createMenuManager()
public boolean canAddModelElement(String elementType)
public boolean confirmRemove(IStructuredSelection ssel, String parentName)
public boolean confirmRemove(IStructuredSelection ssel, String parentName, int maxInList)
protected abstract CBTest createTestObject(org.eclipse.hyades.models.common.facades.behavioral.ITestSuite testSuite)
CBTest.protected String formatMessage(com.ibm.rational.test.common.models.behavior.exceptions.CommonModelException e1)
public String[] getApplicableTypes()
ExtensionContainers to filter extensions. You will want to override
this method to limit what extensions can contribute to your editor.
Default implementation returns String [] {"*"} which will load all extensions.
protected void createMainFormContent(IManagedForm managedForm)
createMainFormContent in class com.ibm.rational.common.test.editor.framework.editor.RptEditorpublic void updateEditorWindowTitle()
public void saveFile(IProgressMonitor monitor) throws Exception
saveFile in class com.ibm.rational.common.test.editor.framework.editor.RptEmfEditorExceptionprotected void postSave(IFile newFile)
postSave in class com.ibm.rational.common.test.editor.framework.editor.RptEmfEditorprotected void saveFileTo(IFile file, IProgressMonitor monitor) throws Exception
saveFileTo in class com.ibm.rational.common.test.editor.framework.editor.RptEmfEditorExceptionpublic void doSaveAs()
doSaveAs in interface ISaveablePartdoSaveAs in class com.ibm.rational.common.test.editor.framework.editor.RptEditorprotected boolean performSaveAsRPT(IProgressMonitor progressMonitor)
public boolean isSaveAsAllowed()
isSaveAsAllowed in interface ISaveablePartisSaveAsAllowed in class com.ibm.rational.common.test.editor.framework.editor.RptEditorpublic void saveState()
public void reload()
reload in class com.ibm.rational.common.test.editor.framework.editor.RptEmfEditorprotected void refreshContent(Object o)
refreshContent in class com.ibm.rational.common.test.editor.framework.editor.RptEmfEditorprotected void connectToEclipse(IEditorPart part)
site - public void enableElements(List<CBActionElement> elements, TestEditor.EnableOperation operation, boolean refreshSelection)
protected com.ibm.rational.common.test.editor.framework.kernel.interfaces.IContentProvider createTreeContentProvider()
public com.ibm.rational.common.test.editor.framework.kernel.interfaces.IContentProvider getContentProvider()
getContentProvider in interface com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITestEditorpublic ILabelProvider getLabelProvider()
getLabelProvider in interface com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITestEditorpublic ILabelProvider createLabelProvider()
createLabelProvider in interface com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITestEditorprotected com.ibm.rational.common.test.editor.framework.TestEditorForm createEditorForm()
public org.eclipse.hyades.models.common.facades.behavioral.ITestSuite getTestSuite()
public void markDirty()
TestEditor as dirty. Dirty editors can be saved.markDirty in class com.ibm.rational.common.test.editor.framework.editor.RptEmfEditororg.eclipse.hyades.test.ui.internal.editor.extension.BaseEditorExtension#markDirty()public void cancelCutOperation()
This method is called when any model element gets modified, or the model itself is modified by adding, removing, or rearranging model elements.
public void clearDirty()
clearDirty in class com.ibm.rational.common.test.editor.framework.editor.RptEmfEditororg.eclipse.hyades.test.ui.internal.editor.extension.BaseEditorExtension#clearDirty()public final String getEditorName()
getEditorName in interface com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITestEditorpublic String getDialogCaption(String dialogName)
getDialogCaption in interface com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITestEditorprotected abstract String computeEditorName()
protected abstract String computeFormTitle()
protected abstract String computeLeftTreeTitle()
protected abstract String computeLeftTreeDescription()
protected abstract String computeRightTreeTitle()
protected abstract String computeRightTreeDescription()
public com.ibm.rational.common.test.editor.framework.TestEditorForm getForm()
From TestEditorForm you can access EditorSections.
protected void unload(boolean reserved)
TestEditor is being unloaded.reserved - public IStructuredSelection getSelection()
getSelection in interface ISelectionProviderpublic ISelection getSecondarySelection()
public void setSelection(ISelection arg0)
setSelection in interface ISelectionProviderpublic IStructuredSelection getCurrentSelection()
Current selection is what is currently selected in the TestEditor Main (tree) section.
NOTE this method, as well as the handling of "current selection" is subject to change in the future versions if RPT Test Editor.
public CBTest getTest()
CBTest. CBTest is base class for concreate test types, and is a root element in the
TestEditor's Tree section.getTest in interface com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITestEditorprotected void setCbTest(CBTest test)
test - public void setInput(Object arg0)
arg0 - public void displayObject(com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITargetDescriptor target)
TestEditor to locate and select specified model element in the tree section.
Optionally, ITargetDescriptor may contain additional, more precise, information about attribute
and position within attribute of the target model element.
NOTE this mechanism is subject to chage in the future versions of TestEditor.
target - ITargetDescriptorITargetDescriptor,
ExtLayoutProvider.navigateTo(ITargetDescriptor)public void displayMatch(Object match)
match - Objectpublic void setStatusLineMessage(String string, boolean isError, Image image)
IStautsLineManager is obtained by a call to:
IStatusLineManager slm = getCallingEditorExtension().getHyadesEditorPart().getEditorPart().getEditorSite().getActionBars().getStatusLineManager();
string - String text for statusline.isError - booleanimage - Image or nullpublic void setStatusLineMessage(String string, boolean isError)
IStautsLineManager is obtained by a call to:
IStatusLineManager slm = getCallingEditorExtension().getHyadesEditorPart().getEditorPart().getEditorSite().getActionBars().getStatusLineManager();
string - String text for statusline.isError - booleanpublic void markLocation()
public INavigationLocation createEmptyNavigationLocation()
createEmptyNavigationLocation in interface INavigationLocationProviderpublic INavigationLocation createNavigationLocation()
createNavigationLocation in interface INavigationLocationProviderpublic void storeFieldLocation(com.ibm.rational.common.test.editor.framework.extensions.TextAttributeField field,
int selStart,
int selEnd)
public void registerEditActionsHandler(com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITextGlobalActionHandler handler,
Control control,
ISelectionProvider selectionProvider)
public void unregisterEditActionsHandler(Control control)
public void unregisterEditActionsHandler(com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITextGlobalActionHandler handler)
protected void restoreState()
protected void setViewMode(byte lastViewMode,
StructuredSelection ssel)
lastViewMode - byte. Editor mode.ssel - Selection of objects to display innew mode.protected void doFirstTimeInit()
public IDialogSettings getEditorState()
IDialogSettings with settings of this editor.TestEditorPlugin.getEditorState(TestEditor)public void setReadOnly(boolean isReadOnly)
CommonEditorExtension and should not be called b
clients directly.isReadOnly - public boolean isReadOnly()
isReadOnly in class com.ibm.rational.common.test.editor.framework.editor.RptEditortrue if the editor is read-only and cannot be saved, false otherwise.public void refresh()
public void refreshActionStates()
public void jobCreated(com.ibm.rational.common.test.editor.framework.jobs.TestModifyingJob job)
job - public int hasJobs()
public void aboutToRun(IJobChangeEvent event)
aboutToRun in interface IJobChangeListenerpublic void awake(IJobChangeEvent event)
awake in interface IJobChangeListenerpublic void done(IJobChangeEvent event)
done in interface IJobChangeListenerpublic void running(IJobChangeEvent event)
running in interface IJobChangeListenerpublic void scheduled(IJobChangeEvent event)
scheduled in interface IJobChangeListenerpublic void sleeping(IJobChangeEvent event)
sleeping in interface IJobChangeListenerpublic com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITestEditorExtensionContext getExtensionContext(String elementType)
getExtensionContext in interface com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITestEditorpublic com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITestEditorExtensionContext getExtensionContext(CBActionElement element)
getExtensionContext in interface com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITestEditorpublic com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITestEditorExtensionContext getProviders(String type)
ITestEditorExtensionContext (providers container) for the specified type.type - String CBActionElement type.public com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITestEditorExtensionContext getProviders(String type, boolean required)
ITestEditorExtensionContext (providers container) for the specified type.type - String CBActionElement type.required - If true, asks this method to throw an exception if the provider does not exist.
If false, let this method return null if the provider does not exist.public com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITestEditorExtensionContext getProviders(CBActionElement element)
ITestEditorExtensionContext (providers container) for the specified CBActionElement.element - CBActionElement.public List<com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITestEditorExtensionContext> getProviders(IStructuredSelection selection)
ITestEditorExtensionContexts (one or more providers) for CBActionElements contained in the
specified StructuredSelection. One provider is returned for multiple CBActionElements of the same type.selection - IStructuredSelection as obtained from tree section's TreeViewer.public List<com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITestEditorExtensionContext> getProviders(Collection<CBActionElement> elements)
ITestEditorExtensionContexts (one or more providers) for CBActionElements contained in the
specified StructuredSelection. One provider is returned for multiple CBActionElements of the same type.selection - IStructuredSelection as obtained from tree section's TreeViewer.public void fillContextMenu(IMenuManager menu)
menu - IMenuManagerpublic com.ibm.rational.common.test.editor.framework.kernel.actions.CreateBookmarkAction getBookmarkAction()
public Object getAdapter(Class adapter)
getAdapter in interface IAdaptablegetAdapter in class com.ibm.rational.common.test.editor.framework.editor.RptEditorpublic void gotoMarker(IMarker marker)
gotoMarker in interface IGotoMarkerpublic void activate(boolean active)
public boolean isOkToSave()
isOkToSave in class com.ibm.rational.common.test.editor.framework.editor.RptEmfEditorprotected void fixBadRequirements()
public String getFormattedResourceName()
public void updateFindRepleceAction()
public final FindReplaceAction getFindReplaceAction()
public ISearchQuery getTestSearchQuery(com.ibm.rational.common.test.editor.framework.kernel.search.QuerySpecification specs, int what)
SearchQuery. Extensing classes may override and return null
if no search is supported, or some more specialized query. When this method is called from SearchPage,
the second argument is QuerySpecification.QUERY_TYPE_DEFALT.specs - QuerySpecification query specificationint - what An application defined flag telling the method what query to return or QuerySpecification.QUERY_TYPE_DEFALTpublic com.ibm.rational.common.test.editor.framework.kernel.actions.EnableDisableActionGroup getEnableDisableActionGroup()
public void addAvailableType(String type)
protected void addAvailableType(List<CBActionElement> elements)
public byte getViewMode()
public boolean getRegexSearchValue()
public boolean getCaseSearchValue()
public void setCaseSearchValue(boolean selection)
public void setRegexSearchValue(boolean selection)
public void addRecentSearchText(String text)
public boolean isHighlightSearchResults()
public void setHighlightSearchResults(boolean b)
public abstract com.ibm.rational.common.test.editor.framework.extensions.ExceptionsUI createExceptionsUI(ExtLayoutProvider provider)
public void showInsertionPoint(Object parent, int index)
public void hideInsertionPoint()
public boolean isAcceptingPasteFrom(TestEditor editor)
editor - Another test editorpublic com.ibm.rational.common.test.editor.framework.change.ITestEditorChangeFactory getChangeFactory()
getChangeFactory in interface com.ibm.rational.common.test.editor.framework.kernel.interfaces.ITestEditorpublic com.ibm.rational.common.test.editor.framework.change.ITestEditorChangeService getOperationService()
© Copyright IBM Corp. 2013. All rights reserved.