help browser vs intro browser [message #460904] |
Tue, 02 January 2007 10:34  |
Eclipse User |
|
|
|
Hi,
What's the difference between RCP Help
system and RCP Intro system?
If I follow an external link in my Help
system the entire control changes to a
simple browser control with no back button.
If I follow an external link in my Intro
system I still have the button bar to
let me forward and back.
Thanks,
Jeff Higgins
|
|
|
|
Re: help browser vs intro browser [message #460943 is a reply to message #460904] |
Tue, 02 January 2007 13:11   |
Eclipse User |
|
|
|
Another question arises:
If I construct my help action in my
ActionBarAdvisor with
helpAction = ActionFactory.DYNAMIC_HELP.create(window);
insead of
helpAction = ActionFactory.HELP_CONTENTS.create(window);
my Help contents are displayed in a nice view with all
the controls, and external links are displayed in the
content pane, I even have a button to show in external window.
Now, If I am in this help view at my help content main page,
and press show in external window a window is opened that
displays my TOC and my main help page.
If I now follow a link external to my help contents, the page
is displayed in content pane, but if I now press show in
external window an instance of my default system browser
is opened?????
How do I control this behavior?
Can I allow my user to set a preference regards
whether he wants to open the dynamic help in
the perspective or as an external window? How?
Thanks,
Jeff Higgins
"Jeff Higgins" <oohiggins@yahoo.com> wrote in message
news:endu25$j27$1@utils.eclipse.org...
> Hi,
> What's the difference between RCP Help
> system and RCP Intro system?
>
> If I follow an external link in my Help
> system the entire control changes to a
> simple browser control with no back button.
>
> If I follow an external link in my Intro
> system I still have the button bar to
> let me forward and back.
>
> Thanks,
> Jeff Higgins
>
|
|
|
|
|
|
|
Re: help browser vs intro browser [message #460990 is a reply to message #460904] |
Wed, 03 January 2007 06:59   |
Eclipse User |
|
|
|
OK,
I've narrowed the problem down
to links which contain a target attribute,and have
found a way to reproduce the undesirable behavior.
To reproduce:
1. Create a new plug-in project using
the "plug-in with sample help content" template.
2. Replace the body text in the generated html files
with the following markup:
<p><a href="http://www.apache.org">Link with no target attribute</a></p>
<p><a href="http://www.apache.org" target="_top">Link with target
attribute</a></p>
3. Save, export, and place the resulting plugin in Eclipse plugin folder.
4. In Help Contents follow the link to the above "Link with target
attribute".
The Help Contents pane is replaced with a browser control with no
controls.
I still don't understand the behavior, but I still think it is undesirable.
Maybe it is platform dependant, I'm using WinXP and JDK 1.5.06 Eclipse 3.2.1
Ten minutes of stepping through code in Browser and Website classes was
enough
to convince me that I don't want to there.
I'm attaching a the helptest.jar in case anyone
is interested in trying the behavior.
Thanks,
Jeff Higgins
"Jeff Higgins" <oohiggins@yahoo.com> wrote in message
news:endu25$j27$1@utils.eclipse.org...
> Hi,
> What's the difference between RCP Help
> system and RCP Intro system?
>
> If I follow an external link in my Help
> system the entire control changes to a
> simple browser control with no back button.
>
> If I follow an external link in my Intro
> system I still have the button bar to
> let me forward and back.
>
> Thanks,
> Jeff Higgins
>
>
|
|
|
|
Re: help browser vs intro browser [message #461019 is a reply to message #461009] |
Wed, 03 January 2007 12:27  |
Eclipse User |
|
|
|
Further inquiry forces me to
withdraw my contention of a defect.
http://www.w3.org/TR/html4/types.html#type-frame-target
Hope this may have provided some
small entertainment
Cheers
Jeff Higgins
"Jeff Higgins" <oohiggins@yahoo.com> wrote in message
news:enghkk$bou$1@utils.eclipse.org...
> Now, I am told the fix.
>
> Right click in the browser window and
> select Back from the context menu!!
>
> Still think it's a defect but...
>
> Thanks,
> Jeff Higgins
>
>
> "Jeff Higgins" <oohiggins@yahoo.com> wrote in message
> news:endu25$j27$1@utils.eclipse.org...
>> Hi,
>> What's the difference between RCP Help
>> system and RCP Intro system?
>>
>> If I follow an external link in my Help
>> system the entire control changes to a
>> simple browser control with no back button.
>>
>> If I follow an external link in my Intro
>> system I still have the button bar to
>> let me forward and back.
>>
>> Thanks,
>> Jeff Higgins
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.75530 seconds