|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.EditorPart
org.eclipse.ui.part.MultiPageEditorPart
org.eclipse.ui.forms.editor.FormEditor
org.openoffice.ide.eclipse.core.editors.description.DescriptionEditor
public class DescriptionEditor
Editor for the description.xml file.
Field Summary |
---|
Fields inherited from class org.eclipse.ui.forms.editor.FormEditor |
---|
pages |
Fields inherited from class org.eclipse.ui.part.MultiPageEditorPart |
---|
PAGE_CONTAINER_SITE |
Fields inherited from interface org.eclipse.ui.IEditorPart |
---|
PROP_DIRTY, PROP_INPUT |
Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
---|
PROP_TITLE |
Constructor Summary | |
---|---|
DescriptionEditor()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.eclipse.ui.forms.editor.FormEditor |
---|
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, updateActionBarContributor |
Methods inherited from class org.eclipse.ui.part.MultiPageEditorPart |
---|
activateSite, addPageChangedListener, createPartControl, createSite, deactivateSite, findEditors, getActivePage, getAdapter, getContainer, getControl, getEditor, getPageCount, getPageImage, getPageSite, getPageText, handlePropertyChange, initializePageSwitching, removePageChangedListener, setActiveEditor, setControl, setFocus, setPageImage, setPageText |
Methods inherited from class org.eclipse.ui.part.EditorPart |
---|
checkSite, getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInput, setInputWithNotify, setPartName |
Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
---|
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy |
Methods inherited from class org.eclipse.core.commands.common.EventManager |
---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
---|
addPropertyListener, getSite, getTitle, getTitleImage, removePropertyListener |
Constructor Detail |
---|
public DescriptionEditor()
Method Detail |
---|
protected void addPages()
addPages
in class org.eclipse.ui.forms.editor.FormEditor
public void init(org.eclipse.ui.IEditorSite pSite, org.eclipse.ui.IEditorInput pInput) throws org.eclipse.ui.PartInitException
init
in interface org.eclipse.ui.IEditorPart
init
in class org.eclipse.ui.forms.editor.FormEditor
org.eclipse.ui.PartInitException
public boolean isDirty()
isDirty
in interface org.eclipse.ui.ISaveablePart
isDirty
in class org.eclipse.ui.forms.editor.FormEditor
public void doSave(org.eclipse.core.runtime.IProgressMonitor pMonitor)
doSave
in interface org.eclipse.ui.ISaveablePart
doSave
in class org.eclipse.ui.part.EditorPart
public void doSaveAs()
doSaveAs
in interface org.eclipse.ui.ISaveablePart
doSaveAs
in class org.eclipse.ui.part.EditorPart
public boolean isSaveAsAllowed()
isSaveAsAllowed
in interface org.eclipse.ui.ISaveablePart
isSaveAsAllowed
in class org.eclipse.ui.part.EditorPart
public DescriptionModel getDescriptionModel()
public void writeDescrToSource()
public void loadDescFromSource()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |