Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » open intro page(open intro page of rcp without external browser)
open intro page [message #492177] Mon, 19 October 2009 10:42 Go to next message
Stella Levin is currently offline Stella LevinFriend
Messages: 89
Registered: July 2009
Member
Hi,
I created intro page like the following, where how_to_use.html is a static html page. It is defined in plugin.xml as see below. The "how_to_use" page always is opened in external browser. I tried with plugin.xml implementation kind = swt, and kind = html - the result is the same. How to open it with internal rpc browser inside the workbench? Thanks, Stella
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
<introContent>
<!-- Root page -->
<page id="root" style="main_page_style.css" style-id="page">
<title style-id="intro-header">Welcome</title>
<link label="How to use" url="http://org.eclipse.ui.intro/showPage?id=use" id="use" />
</page>

<!-- How to use page -->
<page id="use"
url="how_to_use.html" />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
In plugin.xml it is defined as following:
<extension
point="org.eclipse.ui.intro.config">
<config
content="introcontent.xml"
id="org.aaa.bbb.configid"
introId="org.aaa.bbb.intro">
<presentation
home-page-id="root"
standby-page-id="standby">
<implementation
kind="swt"
os="linux">
</implementation>
</presentation>
</config>
</extension>
Re: open intro page [message #496897 is a reply to message #492177] Wed, 11 November 2009 16:40 Go to previous message
Stella Levin is currently offline Stella LevinFriend
Messages: 89
Registered: July 2009
Member
I found in .metadata/.log file the following error:
Internal browser is not available: No more handles [MOZILLA_FIVE_HOME='/usr/local/mozilla1.0rc2/mozilla/dist/bin/'] (java.lang.UnsatisfiedLinkError: no swt-mozilla-gtk-3449 or swt-mozilla-gtk in swt.library.path, java.library.path or the jar file)

where the directory /usr/local/mozilla1.0rc2 is not exist. So, the solution is to change this environment variable to existing directory.
Previous Topic:what should be returned by ILinkHelper.findSelection() ?
Next Topic:Toolbar in my own perspective
Goto Forum:
  


Current Time: Fri Dec 19 00:05:16 GMT 2014

Powered by FUDForum. Page generated in 0.02580 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software