|
||||||||||
| 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
com.aptana.ide.editor.html.MultiPageHTMLEditor
public class MultiPageHTMLEditor
The tabbed style HTML editor.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.ui.IEditorPart |
|---|
PROP_DIRTY, PROP_INPUT |
| Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
PROP_TITLE |
| Constructor Summary | |
|---|---|
MultiPageHTMLEditor(HTMLEditor wrapper,
HTMLSourceEditor editor)
MultiPageHTMLEditor |
|
| Method Summary | |
|---|---|
protected void |
createPages()
|
protected org.eclipse.ui.IEditorSite |
createSite(org.eclipse.ui.IEditorPart editor)
|
void |
dispose()
|
void |
doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
|
void |
doSaveAs()
|
protected void |
firePropertyChange(int propertyId)
|
java.lang.Object |
getAdapter(java.lang.Class adapter)
|
org.eclipse.swt.browser.Browser |
getBrowser2()
getBrowser2 |
HTMLSourceEditor |
getSourceEditor()
getSourceEditor |
java.lang.String |
getURL()
Gets the url of this editor |
void |
gotoMarker(org.eclipse.core.resources.IMarker marker)
gotoMarker |
void |
init(org.eclipse.ui.IEditorSite site,
org.eclipse.ui.IEditorInput editorInput)
|
boolean |
isFileEditorInput()
isFileEditorInput |
boolean |
isSaveAsAllowed()
|
protected void |
pageChange(int newPageIndex)
|
void |
savePreviewsPages()
Saves the preview pages |
void |
setBrowserURL(java.lang.String url)
Sets the browser URL of all browsers contained in this editor. |
void |
setOffset(int offset)
Change to the source editor, and move caret to the specified offset. |
void |
setPreviewPageText(int index,
java.lang.String title)
|
| Methods inherited from class org.eclipse.ui.part.MultiPageEditorPart |
|---|
addPage, addPage, addPage, addPage, createPageContainer, createPartControl, findEditors, getActiveEditor, getActivePage, getContainer, getControl, getEditor, getPageCount, getPageImage, getPageText, handlePropertyChange, isDirty, removePage, setActiveEditor, setActivePage, 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, 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 MultiPageHTMLEditor(HTMLEditor wrapper,
HTMLSourceEditor editor)
wrapper - editor - | Method Detail |
|---|
public org.eclipse.swt.browser.Browser getBrowser2()
IHTMLEditorPart
getBrowser2 in interface IHTMLEditorPartIHTMLEditorPart.getBrowser2()public HTMLSourceEditor getSourceEditor()
IHTMLEditorPart
getSourceEditor in interface IHTMLEditorPartIHTMLEditorPart.getSourceEditor()protected org.eclipse.ui.IEditorSite createSite(org.eclipse.ui.IEditorPart editor)
createSite in class org.eclipse.ui.part.MultiPageEditorPartMultiPageEditorPart.createSite(org.eclipse.ui.IEditorPart)protected void createPages()
createPages in class org.eclipse.ui.part.MultiPageEditorPartMultiPageEditorPart.createPages()public void savePreviewsPages()
public void setPreviewPageText(int index,
java.lang.String title)
index - title - public void dispose()
dispose in interface org.eclipse.ui.IWorkbenchPartdispose in class org.eclipse.ui.part.MultiPageEditorPartIWorkbenchPart.dispose()public void doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
doSave in interface org.eclipse.ui.ISaveablePartdoSave in class org.eclipse.ui.part.EditorPartISaveablePart.doSave(org.eclipse.core.runtime.IProgressMonitor)public void doSaveAs()
doSaveAs in interface org.eclipse.ui.ISaveablePartdoSaveAs in class org.eclipse.ui.part.EditorPartISaveablePart.doSaveAs()public void gotoMarker(org.eclipse.core.resources.IMarker marker)
marker -
public void init(org.eclipse.ui.IEditorSite site,
org.eclipse.ui.IEditorInput editorInput)
throws org.eclipse.ui.PartInitException
init in interface org.eclipse.ui.IEditorPartinit in class org.eclipse.ui.part.MultiPageEditorPartorg.eclipse.ui.PartInitExceptionIEditorPart.init(org.eclipse.ui.IEditorSite, org.eclipse.ui.IEditorInput)public boolean isFileEditorInput()
IHTMLEditorPart
isFileEditorInput in interface IHTMLEditorPartIHTMLEditorPart.isFileEditorInput()public boolean isSaveAsAllowed()
isSaveAsAllowed in interface org.eclipse.ui.ISaveablePartisSaveAsAllowed in class org.eclipse.ui.part.EditorPartISaveablePart.isSaveAsAllowed()protected void pageChange(int newPageIndex)
pageChange in class org.eclipse.ui.part.MultiPageEditorPartMultiPageEditorPart.pageChange(int)public void setOffset(int offset)
offset - public java.lang.Object getAdapter(java.lang.Class adapter)
getAdapter in interface org.eclipse.core.runtime.IAdaptablegetAdapter in class org.eclipse.ui.part.MultiPageEditorPartIAdaptable.getAdapter(java.lang.Class)protected void firePropertyChange(int propertyId)
firePropertyChange in class org.eclipse.ui.part.WorkbenchPartWorkbenchPart.firePropertyChange(int)public void setBrowserURL(java.lang.String url)
IHTMLEditorPart
setBrowserURL in interface IHTMLEditorParturl - -
url for browser(s)IHTMLEditorPart.setBrowserURL(java.lang.String)public java.lang.String getURL()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||