Package com._1c.g5.v8.dt.html.ui.editor
Interface IPreviewHtmlPage
-
- All Superinterfaces:
EventListener
,org.eclipse.swt.browser.LocationListener
,org.eclipse.swt.browser.ProgressListener
,org.eclipse.swt.internal.SWTEventListener
- All Known Subinterfaces:
IHtmlDocumentPreviewGranularEditorPage
- All Known Implementing Classes:
PreviewHtmlPage
public interface IPreviewHtmlPage extends org.eclipse.swt.browser.LocationListener, org.eclipse.swt.browser.ProgressListener
Public api for Preview page of
HtmlMultiPageEditor
Note that
HtmlMultiPageEditor
can be adapted to this class
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
browserBack()
Navigate to the previous session history item.void
browserForward()
Navigate to the next session history item.void
browserHome()
Navigate to home page.void
browserRefresh()
Refresh the current page.void
browserStop()
Stop any loading and rendering activity.BrowserHistory
getCurrentBrowserHistory()
Return browser session historyboolean
isBackEnabled()
Returnstrue
if the receiver can navigate to the previous session history item, andfalse
otherwise.boolean
isForwardEnabled()
Returnstrue
if the receiver can navigate to the next session history item, andfalse
otherwise.void
setCurrentBrowserHistory(BrowserHistory browserHistory)
Set in the receiver new browser session history
-
-
-
Method Detail
-
browserBack
void browserBack()
Navigate to the previous session history item.
-
browserForward
void browserForward()
Navigate to the next session history item.
-
browserStop
void browserStop()
Stop any loading and rendering activity.
-
browserRefresh
void browserRefresh()
Refresh the current page.
-
browserHome
void browserHome()
Navigate to home page.
-
isBackEnabled
boolean isBackEnabled()
Returnstrue
if the receiver can navigate to the previous session history item, andfalse
otherwise.- Returns:
- the receiver's back command enabled state
-
isForwardEnabled
boolean isForwardEnabled()
Returnstrue
if the receiver can navigate to the next session history item, andfalse
otherwise.- Returns:
- the receiver's forward command enabled state
-
getCurrentBrowserHistory
BrowserHistory getCurrentBrowserHistory()
Return browser session history- Returns:
- the current session history, can be
null
-
setCurrentBrowserHistory
void setCurrentBrowserHistory(BrowserHistory browserHistory)
Set in the receiver new browser session history- Parameters:
browserHistory
- the new browser session history, cannot benull
-
-