public class OOoEditor extends EditorPart implements IModelServiceHolder
IModelService.IModelServiceHolder,
IModelService| Modifier and Type | Field and Description |
|---|---|
static String |
ID
ID of this Editor
|
PROP_DIRTY, PROP_INPUTPROP_TITLE| Constructor and Description |
|---|
OOoEditor()
Creates a new OpenOffice.org Editor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createPartControl(Composite parent) |
void |
dispose() |
void |
doSave(IProgressMonitor monitor) |
void |
doSaveAs() |
IEditorPart |
getEditorPart()
Get
IEditorPart implemented together with this interface |
IModelService |
getModelService()
Get
IModelService to access to model of the content |
void |
init(IEditorSite site,
IEditorInput input) |
boolean |
isDirty() |
boolean |
isSaveAsAllowed() |
void |
setEditorTitle(String title)
Set title to
IEditorPart implemented together with this interface |
void |
setFocus() |
getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setInitializationDataaddPartPropertyListener, addPropertyListener, getAdapter, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, showBusyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyListener, getSite, getTitle, getTitleImage, removePropertyListenergetAdapterpublic static final String ID
public void doSave(IProgressMonitor monitor)
doSave in interface ISaveablePartdoSave in class EditorPartpublic void doSaveAs()
doSaveAs in interface ISaveablePartdoSaveAs in class EditorPartpublic void init(IEditorSite site, IEditorInput input) throws PartInitException
init in interface IEditorPartinit in class EditorPartPartInitExceptionpublic boolean isDirty()
isDirty in interface ISaveablePartisDirty in class EditorPartpublic boolean isSaveAsAllowed()
isSaveAsAllowed in interface ISaveablePartisSaveAsAllowed in class EditorPartpublic void createPartControl(Composite parent)
createPartControl in interface IWorkbenchPartcreatePartControl in class WorkbenchPartpublic void setFocus()
setFocus in interface IWorkbenchPartsetFocus in class WorkbenchPartpublic IModelService getModelService()
IModelServiceHolderIModelService to access to model of the contentgetModelService in interface IModelServiceHolderIModelServicepublic IEditorPart getEditorPart()
IModelServiceHolderIEditorPart implemented together with this interfacegetEditorPart in interface IModelServiceHolderIEditorPartpublic void dispose()
dispose in interface IWorkbenchPartdispose in class WorkbenchPartpublic void setEditorTitle(String title)
IModelServiceHolderIEditorPart implemented together with this interfacesetEditorTitle in interface IModelServiceHoldertitle - target title