如何在Eclipse RCP浏览器中设置导航和滚动条?
我正在使用EclipseRCP并将html内容加载到浏览器中。我想在perticuarl事件上设置滚动条和导航按钮,如previouse、next和split浏览器内容如何在Eclipse RCP浏览器中设置导航和滚动条?,eclipse,javafx,eclipse-plugin,eclipse-rcp,rcp,Eclipse,Javafx,Eclipse Plugin,Eclipse Rcp,Rcp,我正在使用EclipseRCP并将html内容加载到浏览器中。我想在perticuarl事件上设置滚动条和导航按钮,如previouse、next和split浏览器内容 Is there any example which will enable me chane in existing code or any eclipse rcp browser layout which having scrollbar(progressbar) with listener event. 下面的代码将使我
Is there any example which will enable me chane in existing code or any eclipse rcp browser layout which having scrollbar(progressbar) with listener event.
下面的代码将使我能够读取epub解压html内容文件。
}JavaFX与此有什么关系?在浏览器控件内部,它只是普通的HTML、CSS和Javascript,就像其他浏览器一样。@greg-449我在swt.browser中呈现了epub文件内容,并在swt.browser中添加了滚动条(progressbar)和导航浏览器(HTML)内容的控件。
public class CliskDisplay {
@PostConstruct
public static void createControls(Composite parent) throws InvalidPropertiesFormatException, IOException {
final Browser browser = new Browser(parent, SWT.NONE);
String fullHtml = DeviceListPart.html;
String[] parts = fullHtml.split("#");
String part1 = parts[0]; // 004
String part2 = parts[1];
String mysz2 = part1.replaceAll("\\s", "");
String input_file = "D:/ePubWork/zip/OEBPS/" + mysz2;
browser.setUrl(input_file);
}