IBM Rational Performance Tester SDK

com.ibm.rational.test.lt.testeditor.main
Class LoadTestEditorExtension

java.lang.Object
  extended by org.eclipse.hyades.ui.editor.EditorExtension
      extended by org.eclipse.hyades.test.ui.editor.extension.BaseEditorExtension
          extended by com.ibm.rational.common.test.editor.framework.extensions.CommonEditorExtension
              extended by com.ibm.rational.test.lt.testeditor.main.LoadTestEditorExtension
All Implemented Interfaces:
com.ibm.rational.common.test.editor.framework.extensions.ITestSuiteProvider, EventListener, IAdaptable, org.eclipse.hyades.test.ui.editor.extension.IWriteAccessChangeListener, org.eclipse.hyades.ui.adapter.ISynchronizedEditorAdapter, org.eclipse.hyades.ui.editor.IEditActionsExtension, org.eclipse.hyades.ui.editor.IEditorExtension, org.eclipse.hyades.ui.editor.IHyadesEditorExtension, org.eclipse.hyades.ui.util.IDisposable, org.eclipse.hyades.ui.util.IRefreshable, INavigationLocationProvider, ISelectionListener

public class LoadTestEditorExtension
extends CommonEditorExtension


Field Summary
 
Fields inherited from class com.ibm.rational.common.test.editor.framework.extensions.CommonEditorExtension
m_TestEditor
 
Constructor Summary
LoadTestEditorExtension()
           
 
Method Summary
 Object getAdapter(Class adapter)
          Returns IFindReplaceTarget obtained from current field attribute handler or calls superLoadTestEditorExtension.getAdapter(Class)
 TestEditor getTestEditor()
           
protected  void handleException(Exception arg0)
           
 void init(org.eclipse.hyades.ui.editor.IHyadesEditorPart hyadesEditorPart)
           
protected  boolean onSaveAsComplete(IFile file, String newName, String newID)
          Sets the flag not to show datapool candidates automatically for the newly saved test.
 void save(IProgressMonitor _monitor)
           
 
Methods inherited from class com.ibm.rational.common.test.editor.framework.extensions.CommonEditorExtension
clearDirty, connectPart, createEmptyNavigationLocation, createNavigationLocation, createPages, dispose, doSaveAs, doSaveEditorFile, editorFileChanged, editorFileDeleted, getEditorInput, getSelection, getTestSuite, gotoMarker, handle, isOkToSave, isSaveAsAllowed, isValidToSave, markDirty, markLocation, performSaveAsRPT, refreshContent, reload, selectionChanged, setSelection, writeAccessChanged
 
Methods inherited from class org.eclipse.hyades.test.ui.editor.extension.BaseEditorExtension
addListener, doSave, editorFileWriteAccessChanged, getClipboard, getObjectURI, getProgressMonitor, getResourceSet, isDirty, logSaveMessage, notifyWriteAccessChangeListeners, reloadEditorObject, removeListener
 
Methods inherited from class org.eclipse.hyades.ui.editor.EditorExtension
checkPagesDirtyState, getHyadesEditorPart, getStatusLineMessage, isSaveOnCloseNeeded, pageActivated, refreshPages
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadTestEditorExtension

public LoadTestEditorExtension()
Method Detail

init

public void init(org.eclipse.hyades.ui.editor.IHyadesEditorPart hyadesEditorPart)
          throws PartInitException
Specified by:
init in interface org.eclipse.hyades.ui.editor.IEditorExtension
Overrides:
init in class CommonEditorExtension
Throws:
PartInitException

handleException

protected void handleException(Exception arg0)
Overrides:
handleException in class org.eclipse.hyades.test.ui.editor.extension.BaseEditorExtension

getTestEditor

public TestEditor getTestEditor()
Specified by:
getTestEditor in class CommonEditorExtension
Returns:
TestEditor - this test editor

getAdapter

public Object getAdapter(Class adapter)
Returns IFindReplaceTarget obtained from current field attribute handler or calls superLoadTestEditorExtension.getAdapter(Class)

Specified by:
getAdapter in interface IAdaptable
Overrides:
getAdapter in class CommonEditorExtension
Since:
7.0.1
See Also:
TextAttributeField.getAdapter(Class)

onSaveAsComplete

protected boolean onSaveAsComplete(IFile file,
                                   String newName,
                                   String newID)
Sets the flag not to show datapool candidates automatically for the newly saved test.

Overrides:
onSaveAsComplete in class CommonEditorExtension
Returns:
See Also:
CommonEditorExtension.onSaveAsComplete(org.eclipse.core.resources.IFile, java.lang.String, java.lang.String)

save

public void save(IProgressMonitor _monitor)
          throws Exception
Overrides:
save in class CommonEditorExtension
Throws:
Exception

IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.