TPTP 4.4.0 Testing Tools Project
Internal API Specification

org.eclipse.hyades.test.ui.internal.editor.extension
Class ExecutionEditorExtension

java.lang.Object
  extended byorg.eclipse.hyades.ui.editor.EditorExtension
      extended byorg.eclipse.hyades.test.ui.editor.extension.BaseEditorExtension
          extended byorg.eclipse.hyades.test.ui.internal.editor.extension.ExecutionEditorExtension
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.hyades.ui.util.IDisposable, org.eclipse.hyades.ui.editor.IEditorExtension, org.eclipse.hyades.ui.editor.IHyadesEditorExtension, org.eclipse.hyades.ui.util.IRefreshable, org.eclipse.ui.ISelectionListener, org.eclipse.hyades.ui.adapter.ISynchronizedEditorAdapter

public class ExecutionEditorExtension
extends org.eclipse.hyades.test.ui.editor.extension.BaseEditorExtension

Hyades execution editor extension that is suitable for all the deployment objects.

This class is used whenever it is not possible neither to identify nor to locate the appropriate extension editor.

Since:
0.3.0

Field Summary
static java.lang.String EXTENSION_ID
           
 
Constructor Summary
ExecutionEditorExtension()
           
 
Method Summary
 void createPages()
           
 void dispose()
           
 boolean editorFileChanged()
           
 org.eclipse.hyades.models.common.testprofile.TPFExecutionResult getExecution()
          Returns the execution that is manipulated by this editor extension.
 org.eclipse.jface.viewers.IStructuredSelection getSelection()
           
 boolean isSaveAsAllowed()
           
 void markDirty()
           
 boolean pageActivated(int index)
           
 void refreshContent(java.lang.Object data)
           
 
Methods inherited from class org.eclipse.hyades.test.ui.editor.extension.BaseEditorExtension
addListener, clearDirty, doSave, doSaveAs, doSaveEditorFile, editorFileDeleted, editorFileWriteAccessChanged, getAdapter, getClipboard, getObjectURI, getProgressMonitor, getResourceSet, handle, handleException, isDirty, isOkToSave, logSaveMessage, notifyWriteAccessChangeListeners, reload, reloadEditorObject, removeListener, save
 
Methods inherited from class org.eclipse.hyades.ui.editor.EditorExtension
checkPagesDirtyState, getHyadesEditorPart, getStatusLineMessage, gotoMarker, init, isSaveOnCloseNeeded, refreshPages, selectionChanged, setSelection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXTENSION_ID

public static final java.lang.String EXTENSION_ID
See Also:
Constant Field Values
Constructor Detail

ExecutionEditorExtension

public ExecutionEditorExtension()
Method Detail

dispose

public void dispose()
See Also:
IDisposable.dispose()

getExecution

public org.eclipse.hyades.models.common.testprofile.TPFExecutionResult getExecution()
Returns the execution that is manipulated by this editor extension.

Returns:
TPFExecutionResult

createPages

public void createPages()
See Also:
IEditorExtension.createPages()

editorFileChanged

public boolean editorFileChanged()
See Also:
ISynchronizedEditorAdapter.editorFileChanged()

refreshContent

public void refreshContent(java.lang.Object data)
See Also:
IRefreshable.refreshContent(java.lang.Object)

getSelection

public org.eclipse.jface.viewers.IStructuredSelection getSelection()
See Also:
IEditorExtension.getSelection()

pageActivated

public boolean pageActivated(int index)
See Also:
IEditorExtension.pageActivated(int)

markDirty

public void markDirty()

isSaveAsAllowed

public boolean isSaveAsAllowed()

TPTP 4.4.0 Testing Tools Project
Internal API Specification