org.eclipse.hyades.test.ui.internal.editor.extension
Class DeploymentEditorExtension
java.lang.Object
org.eclipse.hyades.ui.editor.EditorExtension
org.eclipse.hyades.test.ui.editor.extension.BaseEditorExtension
org.eclipse.hyades.test.ui.internal.editor.extension.ConfigurableObjectEditorExtension
org.eclipse.hyades.test.ui.internal.editor.extension.DeploymentEditorExtension
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.hyades.ui.util.IDisposable, org.eclipse.hyades.ui.editor.IEditorExtension, IExtensibleEditorExtension, org.eclipse.hyades.ui.editor.IHyadesEditorExtension, org.eclipse.hyades.ui.util.IRefreshable, org.eclipse.ui.ISelectionListener, org.eclipse.hyades.ui.adapter.ISynchronizedEditorAdapter
- public class DeploymentEditorExtension
- extends ConfigurableObjectEditorExtension
Hyades deployment editor extension that is suitable for TPFDeployment objects.
This class is used whenever it is not possible neither to identify nor
to locate the appropriate extension editor.
- Since:
- 0.0.1, 1.3
|
Method Summary |
int |
addExtensionPage(org.eclipse.core.runtime.IConfigurationElement extensionElement)
|
protected org.eclipse.core.runtime.IConfigurationElement[] |
collectPropertyGroupExtensions()
Retrieves property group extensions that extends "org.eclipse.hyades.test.ui.configurableObjectExtension" |
protected void |
createOtherStaticPages(org.eclipse.hyades.test.ui.editor.form.util.WidgetFactory widgetFactory)
Creates any pages of this editor that comes in front of the property group extension pages.
|
protected ConfigurableObjectOverviewForm |
createOverviewPage(org.eclipse.hyades.test.ui.editor.form.util.WidgetFactory widgetFactory)
Creates the overview page of this editor. |
void |
dispose()
|
org.eclipse.jface.viewers.IStructuredSelection |
getSelection()
|
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, editorFileChanged, editorFileDeleted, editorFileWriteAccessChanged, getAdapter, getClipboard, getObjectURI, getProgressMonitor, getResourceSet, handle, handleException, isDirty, isOkToSave, isSaveAsAllowed, logSaveMessage, markDirty, 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 |
| Methods inherited from interface org.eclipse.hyades.ui.editor.IEditorExtension |
checkPagesDirtyState, doSave, doSaveAs, getHyadesEditorPart, getStatusLineMessage, gotoMarker, init, isDirty, isSaveAsAllowed, isSaveOnCloseNeeded, refreshPages, setSelection |
| Methods inherited from interface org.eclipse.ui.ISelectionListener |
selectionChanged |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
EXTENSION_ID
public static final java.lang.String EXTENSION_ID
- See Also:
- Constant Field Values
EDITOR_OBJECT_TYPE
public static final java.lang.String EDITOR_OBJECT_TYPE
DeploymentEditorExtension
public DeploymentEditorExtension()
dispose
public void dispose()
- Specified by:
dispose in interface org.eclipse.hyades.ui.util.IDisposable- Overrides:
dispose in class ConfigurableObjectEditorExtension
- See Also:
IDisposable.dispose()
collectPropertyGroupExtensions
protected org.eclipse.core.runtime.IConfigurationElement[] collectPropertyGroupExtensions()
- Description copied from class:
ConfigurableObjectEditorExtension
- Retrieves property group extensions that extends "org.eclipse.hyades.test.ui.configurableObjectExtension"
- Overrides:
collectPropertyGroupExtensions in class ConfigurableObjectEditorExtension
- Returns:
createOverviewPage
protected ConfigurableObjectOverviewForm createOverviewPage(org.eclipse.hyades.test.ui.editor.form.util.WidgetFactory widgetFactory)
- Description copied from class:
ConfigurableObjectEditorExtension
- Creates the overview page of this editor.
- Overrides:
createOverviewPage in class ConfigurableObjectEditorExtension
- Parameters:
widgetFactory -
- Returns:
- See Also:
IEditorExtension.createPages()
createOtherStaticPages
protected void createOtherStaticPages(org.eclipse.hyades.test.ui.editor.form.util.WidgetFactory widgetFactory)
- Description copied from class:
ConfigurableObjectEditorExtension
- Creates any pages of this editor that comes in front of the property group extension pages.
Sub classes should override this method to add their own pages. This method does nothing by default.
- Overrides:
createOtherStaticPages in class ConfigurableObjectEditorExtension
- Parameters:
widgetFactory -
addExtensionPage
public int addExtensionPage(org.eclipse.core.runtime.IConfigurationElement extensionElement)
- Specified by:
addExtensionPage in interface IExtensibleEditorExtension- Overrides:
addExtensionPage in class ConfigurableObjectEditorExtension
refreshContent
public void refreshContent(java.lang.Object data)
- Specified by:
refreshContent in interface org.eclipse.hyades.ui.util.IRefreshable- Overrides:
refreshContent in class ConfigurableObjectEditorExtension
- See Also:
IRefreshable.refreshContent(java.lang.Object)
getSelection
public org.eclipse.jface.viewers.IStructuredSelection getSelection()
- Specified by:
getSelection in interface org.eclipse.hyades.ui.editor.IEditorExtension- Overrides:
getSelection in class ConfigurableObjectEditorExtension
- See Also:
IEditorExtension.getSelection()
pageActivated
public boolean pageActivated(int index)
- Specified by:
pageActivated in interface org.eclipse.hyades.ui.editor.IEditorExtension- Overrides:
pageActivated in class ConfigurableObjectEditorExtension
- See Also:
IEditorExtension.pageActivated(int)