Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Why help system was shown in external browser?
Why help system was shown in external browser? [message #400342] Thu, 16 December 2004 08:44 Go to next message
Eclipse UserFriend
Originally posted by: huac.idsignet.com

I was working in R3.0.1 and linux-gtk environment. I created a RCP with
help system. When I started it in eclipse workbench and triggled "help
content" action, the help system would be shown in internal browser. But
when I started it in shell and triggled help action again, the help
system would be shown in external browser (in my computer which is
mozilla).

Why and How to configure?

Thanks in advance.
Re: Why help system was shown in external browser? [message #400372 is a reply to message #400342] Fri, 17 December 2004 16:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dorian.birsan.net

"Hua Chao" <huac@idsignet.com> wrote in message
news:cprhqb$8qq$1@www.eclipse.org...
> I was working in R3.0.1 and linux-gtk environment. I created a RCP with
> help system. When I started it in eclipse workbench and triggled "help
> content" action, the help system would be shown in internal browser. But
> when I started it in shell and triggled help action again, the help
> system would be shown in external browser (in my computer which is
> mozilla).
>
> Why and How to configure?

Were you running with the same plugins in both cases?
Perhaps your launch in the workbench picked up all the plugins from the
target platform, and your rcp app did not have all the help plugins.
You need all the *.help.* plugins, as well as the lucene and tomcat plugins.

>
> Thanks in advance.
Re: Why help system was shown in external browser? [message #400775 is a reply to message #400342] Fri, 17 December 2004 17:07 Go to previous messageGo to next message
Konrad Kolosowski is currently offline Konrad KolosowskiFriend
Messages: 243
Registered: July 2009
Senior Member
Internal browser shares Display with the workbench, it means it is a subject
to modality rules applied to all Shells of this display. If you open
internal browser from the workbench, you can go back and forth between help
and workbench windows. The same is not true if there is a modal shell
opened from the workbench or help. It would make both workbench and help
window inaccessible. Therefore help detects the fact that there is a modal
window present and opens help in external browser. May be this explains the
behavior you see.
Konrad

"Hua Chao" <huac@idsignet.com> wrote in message
news:cprhqb$8qq$1@www.eclipse.org...
> I was working in R3.0.1 and linux-gtk environment. I created a RCP with
> help system. When I started it in eclipse workbench and triggled "help
> content" action, the help system would be shown in internal browser. But
> when I started it in shell and triggled help action again, the help
> system would be shown in external browser (in my computer which is
> mozilla).
>
> Why and How to configure?
>
> Thanks in advance.
Re: Why help system was shown in external browser? [message #400785 is a reply to message #400775] Mon, 20 December 2004 08:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: huac.idsignet.com

Konrad:
Hi. Thank you good hints, but there are some detailed question.

The main point is the difference in launching RCP application between
using eclipse launcher and using shell script.
I thought some crues after:
1. Are there any relations with workspace in RCP.
2. Are there any relations with configurations in RCP.
3. When eclipse launched a RCP application, does it do some other work?

The thinking before is based on the source of the problem. Your hints is
based on the dest of the problem, but I am not very clear if the
workbench window is a model windows.

Hope to understand the mechanisim.

Huachao



Konrad Kolosowski wrote:
> Internal browser shares Display with the workbench, it means it is a subject
> to modality rules applied to all Shells of this display. If you open
> internal browser from the workbench, you can go back and forth between help
> and workbench windows. The same is not true if there is a modal shell
> opened from the workbench or help. It would make both workbench and help
> window inaccessible. Therefore help detects the fact that there is a modal
> window present and opens help in external browser. May be this explains the
> behavior you see.
> Konrad
>
> "Hua Chao" <huac@idsignet.com> wrote in message
> news:cprhqb$8qq$1@www.eclipse.org...
>
>>I was working in R3.0.1 and linux-gtk environment. I created a RCP with
>>help system. When I started it in eclipse workbench and triggled "help
>>content" action, the help system would be shown in internal browser. But
>>when I started it in shell and triggled help action again, the help
>>system would be shown in external browser (in my computer which is
>>mozilla).
>>
>>Why and How to configure?
>>
>>Thanks in advance.
>
>
>
Re: Why help system was shown in external browser? [message #400867 is a reply to message #400785] Wed, 22 December 2004 04:35 Go to previous messageGo to next message
Konrad Kolosowski is currently offline Konrad KolosowskiFriend
Messages: 243
Registered: July 2009
Senior Member
1. RCP does not use workspace
2. RCP needs a configuration to run.
3. PDE creates a configuration. Launch an application in using PDE. In
Debug view, right-click javaw.exe and choose Properties. You will full
command PDE uses to launch the application.
Konrad

"Hua Chao" <huac@idsignet.com> wrote in message
news:cq61m1$qcm$1@www.eclipse.org...
> Konrad:
> Hi. Thank you good hints, but there are some detailed question.
>
> The main point is the difference in launching RCP application between
> using eclipse launcher and using shell script.
> I thought some crues after:
> 1. Are there any relations with workspace in RCP.
> 2. Are there any relations with configurations in RCP.
> 3. When eclipse launched a RCP application, does it do some other work?
>
> The thinking before is based on the source of the problem. Your hints is
> based on the dest of the problem, but I am not very clear if the
> workbench window is a model windows.
>
> Hope to understand the mechanisim.
>
> Huachao
>
>
>
> Konrad Kolosowski wrote:
> > Internal browser shares Display with the workbench, it means it is a
subject
> > to modality rules applied to all Shells of this display. If you open
> > internal browser from the workbench, you can go back and forth between
help
> > and workbench windows. The same is not true if there is a modal shell
> > opened from the workbench or help. It would make both workbench and
help
> > window inaccessible. Therefore help detects the fact that there is a
modal
> > window present and opens help in external browser. May be this explains
the
> > behavior you see.
> > Konrad
> >
> > "Hua Chao" <huac@idsignet.com> wrote in message
> > news:cprhqb$8qq$1@www.eclipse.org...
> >
> >>I was working in R3.0.1 and linux-gtk environment. I created a RCP with
> >>help system. When I started it in eclipse workbench and triggled "help
> >>content" action, the help system would be shown in internal browser. But
> >>when I started it in shell and triggled help action again, the help
> >>system would be shown in external browser (in my computer which is
> >>mozilla).
> >>
> >>Why and How to configure?
> >>
> >>Thanks in advance.
> >
> >
> >
Re: Why help system was shown in external browser? [message #448729 is a reply to message #400342] Sun, 30 April 2006 20:33 Go to previous message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
I had this same problem in 3.1.2 FC4/GTK.

It turns out the eclipse launcher looks in a bunch of different places
to try to find the browser that is installed on the platform and sets a
couple of environment variables before launching the Java program.

Look at the source for eclipseMozilla.c in platform launcher.

Francis

Hua Chao wrote:
> I was working in R3.0.1 and linux-gtk environment. I created a RCP with
> help system. When I started it in eclipse workbench and triggled "help
> content" action, the help system would be shown in internal browser. But
> when I started it in shell and triggled help action again, the help
> system would be shown in external browser (in my computer which is
> mozilla).
>
> Why and How to configure?
>
> Thanks in advance.


Previous Topic:Popup menus in RCP application
Next Topic:I'm lost with this error!!!
Goto Forum:
  


Current Time: Tue Dec 03 00:32:04 GMT 2024

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

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

Back to the top