public class DescriptionEditor
extends org.eclipse.ui.forms.editor.FormEditor
| Constructor and Description |
|---|
DescriptionEditor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPages() |
void |
doSave(org.eclipse.core.runtime.IProgressMonitor pMonitor) |
void |
doSaveAs() |
DescriptionModel |
getDescriptionModel() |
void |
init(org.eclipse.ui.IEditorSite pSite,
org.eclipse.ui.IEditorInput pInput) |
boolean |
isDirty() |
boolean |
isSaveAsAllowed() |
void |
loadDescFromSource()
Re-load the model from the XML code shown in the description source page.
|
void |
writeDescrToSource()
Write the description model to the description source page.
|
addPage, addPage, addPage, addPage, addPage, addPage, close, commitPages, configurePage, createPageContainer, createPages, createToolkit, dispose, editorDirtyStateChanged, findPage, getActiveEditor, getActivePageInstance, getCurrentPage, getSelectedPage, getToolkit, pageChange, removePage, selectReveal, setActivePage, setActivePage, setActivePage, updateActionBarContributoractivateSite, addPageChangedListener, createPartControl, createSite, deactivateSite, findEditors, getActivePage, getAdapter, getContainer, getControl, getEditor, getPageCount, getPageImage, getPageSite, getPageText, handlePropertyChange, initializePageSwitching, removePageChangedListener, setActiveEditor, setControl, setFocus, setPageImage, setPageTextcheckSite, getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInput, setInputWithNotify, setPartNameaddPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusyaddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectprotected void addPages()
addPages in class org.eclipse.ui.forms.editor.FormEditorpublic void init(org.eclipse.ui.IEditorSite pSite,
org.eclipse.ui.IEditorInput pInput)
throws org.eclipse.ui.PartInitException
init in interface org.eclipse.ui.IEditorPartinit in class org.eclipse.ui.forms.editor.FormEditororg.eclipse.ui.PartInitExceptionpublic boolean isDirty()
isDirty in interface org.eclipse.ui.ISaveablePartisDirty in class org.eclipse.ui.forms.editor.FormEditorpublic void doSave(org.eclipse.core.runtime.IProgressMonitor pMonitor)
doSave in interface org.eclipse.ui.ISaveablePartdoSave in class org.eclipse.ui.part.EditorPartpublic void doSaveAs()
doSaveAs in interface org.eclipse.ui.ISaveablePartdoSaveAs in class org.eclipse.ui.part.EditorPartpublic boolean isSaveAsAllowed()
isSaveAsAllowed in interface org.eclipse.ui.ISaveablePartisSaveAsAllowed in class org.eclipse.ui.part.EditorPartpublic DescriptionModel getDescriptionModel()
public void writeDescrToSource()
public void loadDescFromSource()