org.dawb.tango.extensions.editors
Class SpecMultiEditor
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.EditorPart
org.eclipse.ui.part.MultiPageEditorPart
org.dawb.tango.extensions.editors.SpecMultiEditor
- All Implemented Interfaces:
- TangoConnectionListener, org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.jface.dialogs.IPageChangeProvider, org.eclipse.ui.IEditorPart, org.eclipse.ui.ISaveablePart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.IWorkbenchPart3, org.eclipse.ui.part.IWorkbenchPartOrientation
public class SpecMultiEditor
- extends org.eclipse.ui.part.MultiPageEditorPart
- implements TangoConnectionListener
Field Summary |
static java.lang.String |
ID
|
Fields inherited from interface org.eclipse.ui.IEditorPart |
PROP_DIRTY, PROP_INPUT |
Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
PROP_TITLE |
Methods inherited from class org.eclipse.ui.part.MultiPageEditorPart |
addPage, addPage, addPage, addPage, addPageChangedListener, createPartControl, findEditors, getActivePage, getAdapter, getSelectedPage, isDirty, removePage, removePageChangedListener, setActiveEditor, setFocus |
Methods inherited from class org.eclipse.ui.part.EditorPart |
getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setInitializationData |
Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
addPartPropertyListener, addPropertyListener, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, showBusy |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
addPropertyListener, getSite, getTitle, getTitleImage, removePropertyListener |
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
SpecMultiEditor
public SpecMultiEditor()
init
public void init(org.eclipse.ui.IEditorSite site,
org.eclipse.ui.IEditorInput input)
throws org.eclipse.ui.PartInitException
- Specified by:
init
in interface org.eclipse.ui.IEditorPart
- Overrides:
init
in class org.eclipse.ui.part.MultiPageEditorPart
- Throws:
org.eclipse.ui.PartInitException
connect
public void connect()
disconnect
public void disconnect()
getSpecError
public java.lang.String getSpecError()
toggleConnect
public boolean toggleConnect()
tangoEventPerformed
public void tangoEventPerformed(TangoConnectionEvent event)
- Description copied from interface:
TangoConnectionListener
- Events from tango connection
- Specified by:
tangoEventPerformed
in interface TangoConnectionListener
doSave
public void doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
- Save allowed but not save as.
- Specified by:
doSave
in interface org.eclipse.ui.ISaveablePart
- Specified by:
doSave
in class org.eclipse.ui.part.EditorPart
doSaveAs
public void doSaveAs()
- No Save
- Specified by:
doSaveAs
in interface org.eclipse.ui.ISaveablePart
- Specified by:
doSaveAs
in class org.eclipse.ui.part.EditorPart
isSaveAsAllowed
public boolean isSaveAsAllowed()
- We are not saving this class
- Specified by:
isSaveAsAllowed
in interface org.eclipse.ui.ISaveablePart
- Specified by:
isSaveAsAllowed
in class org.eclipse.ui.part.EditorPart
setActivePage
public void setActivePage(int ipage)
- Overrides:
setActivePage
in class org.eclipse.ui.part.MultiPageEditorPart
getActiveEditor
public org.eclipse.ui.IEditorPart getActiveEditor()
- Overrides:
getActiveEditor
in class org.eclipse.ui.part.MultiPageEditorPart
dispose
public void dispose()
- Specified by:
dispose
in interface org.eclipse.ui.IWorkbenchPart
- Overrides:
dispose
in class org.eclipse.ui.part.MultiPageEditorPart
getSpecSessionName
public java.lang.String getSpecSessionName()