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, setInitializationDataaddPartPropertyListener, addPropertyListener, getAdapter, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, showBusyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final String ID
public WebBrowserEditor()
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
createPartControl in interface org.eclipse.ui.IWorkbenchPartcreatePartControl in class org.eclipse.ui.part.WorkbenchPartpublic void dispose()
dispose in interface org.eclipse.ui.IWorkbenchPartdispose in class org.eclipse.ui.part.WorkbenchPartpublic void setFocus()
setFocus in interface org.eclipse.ui.IWorkbenchPartsetFocus in class org.eclipse.ui.part.WorkbenchPartpublic void doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
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 void init(org.eclipse.ui.IEditorSite site,
org.eclipse.ui.IEditorInput input)
throws org.eclipse.ui.PartInitException
init in interface org.eclipse.ui.IEditorPartinit in class org.eclipse.ui.part.EditorPartorg.eclipse.ui.PartInitExceptionpublic boolean isDirty()
isDirty in interface org.eclipse.ui.ISaveablePartisDirty in class org.eclipse.ui.part.EditorPartpublic boolean isSaveAsAllowed()
isSaveAsAllowed in interface org.eclipse.ui.ISaveablePartisSaveAsAllowed in class org.eclipse.ui.part.EditorPartpublic IModelService getModelService()
IModelServiceHolderIModelService to access to model of the contentgetModelService in interface IModelServiceHolderIModelServicepublic org.eclipse.ui.IEditorPart getEditorPart()
IModelServiceHolderIEditorPart implemented together with this interfacegetEditorPart in interface IModelServiceHolderIEditorPartpublic void setEditorTitle(String title)
IModelServiceHolderIEditorPart implemented together with this interfacesetEditorTitle in interface IModelServiceHoldertitle - target title