本文整理了Java中org.eclipse.swt.browser.Browser.back()
方法的一些代码示例,展示了Browser.back()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Browser.back()
方法的具体详情如下:
包路径:org.eclipse.swt.browser.Browser
类名称:Browser
方法名:back
[英]Navigate to the previous session history item.
[中]导航到上一个会话历史记录项目。
代码示例来源:origin: pentaho/pentaho-kettle
private void back() {
wBrowser.back();
}
代码示例来源:origin: pentaho/pentaho-kettle
public void browseBack() {
browser.back();
}
代码示例来源:origin: BiglySoftware/BiglyBT
@Override
public void
back()
{
browser.back();
}
代码示例来源:origin: org.codehaus.openxma/xmartserver
public void handleEvent(Event e) {
// if (webBrowser == null) return;
// webBrowser.GoBack();
if (swtBrowser != null)
swtBrowser.back();
}
});
代码示例来源:origin: org.codehaus.openxma/xmartclient
public void handleEvent(Event e) {
// if (webBrowser == null) return;
// webBrowser.GoBack();
if (swtBrowser != null)
swtBrowser.back();
}
});
代码示例来源:origin: org.xworker/xworker_swt
public static void backToolItemSelection(ActionContext actionContext){
Browser browser = (Browser) actionContext.get("browser");
browser.back();
}
代码示例来源:origin: org.xworker/xworker_swt
public static void backToolItemSelection(ActionContext actionContext){
Browser browser = (Browser) actionContext.get("browser");
browser.back();
if(!browser.isBackEnabled()){
((Thing) actionContext.get("htmlThing")).doAction("setValue", actionContext, UtilMap.toParams(new Object[]{"value", browser.getData()}));
}
}
代码示例来源:origin: stackoverflow.com
String string = item.getText();
if (string.equals("Back"))
browser.back();
else if (string.equals("Stop"))
browser.stop();
代码示例来源:origin: BiglySoftware/BiglyBT
&& event_location.indexOf("back()") > 0) {
if (browser.isBackEnabled()) {
browser.back();
} else if (lastValidURL != null) {
fillWithRetry(event_location, "back");
代码示例来源:origin: org.eclipse.platform/org.eclipse.ui.intro
@Override
public boolean navigateBackward() {
boolean success = false;
if (getModel().isDynamic()) {
// dynamic case. Uses navigation history.
if (history.canNavigateBackward()) {
history.navigateHistoryBackward();
// guard against unnecessary History updates.
urlListener.flagStartOfNavigation();
if (history.currentLocationIsUrl()) {
success = browser.setUrl(history.getCurrentLocationAsUrl());
} else {
// we need to regen HTML. We can not use setting current
// page to trigger regen for one case: navigating back from
// a url will not trigger regen since current page would be
// the same.
AbstractIntroPage page = history.getCurrentLocationAsPage();
getModel().setCurrentPageId(page.getId(), false);
success = generateContentForPage(page);
}
} else
success = false;
// update history only in dynamic case.
updateNavigationActionsState();
} else
// static HTML case. use browser real Back.
success = browser.back();
return success;
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.examples
Listener listener = event -> {
ToolItem item = (ToolItem)event.widget;
if (item == itemBack) browser.back();
else if (item == itemForward) browser.forward();
else if (item == itemStop) browser.stop();
代码示例来源:origin: openaudible/openaudible
ToolItem item = (ToolItem) event.widget;
if (item == itemBack)
browser.back();
else if (item == itemForward)
browser.forward();
内容来源于网络,如有侵权,请联系作者删除!