public class WebBrowserEditor extends org.eclipse.ui.part.EditorPart implements IModelServiceHolder
IModelService
. The model service
also implements IWebBrowserACTF
.IModelServiceHolder
,
IModelService
,
IWebBrowserACTF
Constructor and Description |
---|
WebBrowserEditor()
Creates a new Internet Explorer Editor.
|
Modifier and Type | Method and Description |
---|---|
void |
createPartControl(org.eclipse.swt.widgets.Composite parent) |
void |
dispose() |
void |
doSave(org.eclipse.core.runtime.IProgressMonitor monitor) |
void |
doSaveAs() |
org.eclipse.ui.IEditorPart |
getEditorPart()
Get
IEditorPart implemented together with this interface |
IModelService |
getModelService()
Get
IModelService to access to model of the content |
void |
init(org.eclipse.ui.IEditorSite site,
org.eclipse.ui.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, setInitializationData
addPartPropertyListener, addPropertyListener, getAdapter, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, showBusy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final String ID
public WebBrowserEditor()
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
createPartControl
in interface org.eclipse.ui.IWorkbenchPart
createPartControl
in class org.eclipse.ui.part.WorkbenchPart
public void dispose()
dispose
in interface org.eclipse.ui.IWorkbenchPart
dispose
in class org.eclipse.ui.part.WorkbenchPart
public void setFocus()
setFocus
in interface org.eclipse.ui.IWorkbenchPart
setFocus
in class org.eclipse.ui.part.WorkbenchPart
public void doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
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 void init(org.eclipse.ui.IEditorSite site, org.eclipse.ui.IEditorInput input) throws org.eclipse.ui.PartInitException
init
in interface org.eclipse.ui.IEditorPart
init
in class org.eclipse.ui.part.EditorPart
org.eclipse.ui.PartInitException
public boolean isDirty()
isDirty
in interface org.eclipse.ui.ISaveablePart
isDirty
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 IModelService getModelService()
IModelServiceHolder
IModelService
to access to model of the contentgetModelService
in interface IModelServiceHolder
IModelService
public org.eclipse.ui.IEditorPart getEditorPart()
IModelServiceHolder
IEditorPart
implemented together with this interfacegetEditorPart
in interface IModelServiceHolder
IEditorPart
public void setEditorTitle(String title)
IModelServiceHolder
IEditorPart
implemented together with this interfacesetEditorTitle
in interface IModelServiceHolder
title
- target title