[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [platform-ua-dev] Assigning a static portnumber forhelpin external browser
|
Actually I meant in your own plugin.
If you can get your plugin to know when the user is going to have to restart
the workbench as part of a tutorial, you can get your plugin to write a
small file in the metadata in workspace. Whenever your plugin starts up
it looks if the file is there, and if it is, it means it needs to restart
the help server. You can start the help server by simply making a request.
For example, get it to call HelpSystem.getContent("/my.plugin/mydoc.html");
and this should trigger the server to start up.
Unfortunately though this will only
work if you're restarting in the same workspace.
Thanks,
Curtis d'Entremont
Eclipse User Assistance
IBM Toronto Lab
Phone: (905) 413-5754
E-Mail: curtispd@xxxxxxxxxx
"Steven Traut"
<straut@xxxxxxx>
Sent by: platform-ua-dev-bounces@xxxxxxxxxxx
16/03/2006 03:20 PM
Please respond to
"Eclipse Platform User Assistance component developers list."
<platform-ua-dev@xxxxxxxxxxx> |
|
To
| "Eclipse Platform User Assistance
component developers list." <platform-ua-dev@xxxxxxxxxxx>
|
cc
|
|
Subject
| RE: [platform-ua-dev] Assigning a static
portnumber forhelpin
external browser |
|
I had a feeling it was something
like that. Thanks, Curtis.
I think option 1 may be best
for our case, but I honestly don’t know what that flag might be. Any suggestions?
I’m assuming you mean the help plugin.
From: platform-ua-dev-bounces@xxxxxxxxxxx
[mailto:platform-ua-dev-bounces@xxxxxxxxxxx] On Behalf Of Curtis
D'Entremont
Sent: Thursday, March 16, 2006 11:46 AM
To: Eclipse Platform User Assistance component developers list.
Subject: RE: [platform-ua-dev] Assigning a static portnumber forhelpin
external browser
Ah I know why.. it's because the help server hasn't started up again. It
only starts up when someone requests help (on demand). Unfortunately it
has no way of knowing your browser is trying to get help because in order
to know that it would need to have the app server started and listening
to the port. Unfortunately I do not see a simple way to accomplish this
at the moment. You can open an enhancement to request this if you like.
Here are some alternative approaches I can think of at the moment; some
of them may not be feasible for you but I'll mention them anyway.
1. Have your plugin set a flag that it has to poke the help system on startup
so that the help server will automatically start up again next time
2. Store the tutorial as static html files in the workspace metadata, like
PDE does for previewing schema documentation
3. Have your plugin manage a separate local infocenter to host the tutorial.
4. Store the tutorial content on a public infocenter.
5. Notify the user that they'll have to reopen help on startup to continue
the tutorial.
Thanks,
Curtis d'Entremont
Eclipse User Assistance
IBM Toronto Lab
Phone: (905) 413-5754
E-Mail: curtispd@xxxxxxxxxx
"Steven Traut"
<straut@xxxxxxx>
Sent by: platform-ua-dev-bounces@xxxxxxxxxxx
16/03/2006 02:19 PM
Please respond to
"Eclipse Platform User Assistance component developers list."
<platform-ua-dev@xxxxxxxxxxx> |
|
To
| "Eclipse Platform User
Assistance component developers list." <platform-ua-dev@xxxxxxxxxxx>
|
cc
|
|
Subject
| RE: [platform-ua-dev] Assigning a static
port number forhelpin external
browser |
|
Looks like the connection’s getting refused. For the static port number,
I’m using one of the numbers given to me by Eclipse when it was setting
them dynamically. Is there a better choice?
From: platform-ua-dev-bounces@xxxxxxxxxxx [mailto:platform-ua-dev-bounces@xxxxxxxxxxx]
On Behalf Of Steven Traut
Sent: Thursday, March 16, 2006 10:58 AM
To: Eclipse Platform User Assistance component developers list.
Subject: RE: [platform-ua-dev] Assigning a static port number forhelpin
external browser
Thanks, Curtis. The port number does indeed remain the same between IDE
instances. Unfortunately, after IDE restart links in the (still-open) help
browser are no-op. Neither topic links nor the TOC respond to clicking
– there’s a bit of hourglass, then nothing.
Am I missing something?
Thanks,
Steve
From: platform-ua-dev-bounces@xxxxxxxxxxx [mailto:platform-ua-dev-bounces@xxxxxxxxxxx]
On Behalf Of Curtis D'Entremont
Sent: Thursday, March 16, 2006 10:23 AM
To: Eclipse Platform User Assistance component developers list.
Subject: Re: [platform-ua-dev] Assigning a static port number for helpin
external browser
Hi Steve,
You can use the port preference for the org.eclipse.help.appserver plugin:
http://help.eclipse.org/help31/topic/org.eclipse.platform.doc.isv/reference/misc/help_preferences.html
This preference is also exposed in the UI under the Help -> Help Server
preference page.
Thanks,
Curtis d'Entremont
Eclipse User Assistance
IBM Toronto Lab
Phone: (905) 413-5754
E-Mail: curtispd@xxxxxxxxxx
"Steven Traut" <straut@xxxxxxx>
Sent by: platform-ua-dev-bounces@xxxxxxxxxxx
16/03/2006 12:27 PM
Please respond to
"Eclipse Platform User Assistance component developers list."
<platform-ua-dev@xxxxxxxxxxx> |
|
To
| <platform-ua-dev@xxxxxxxxxxx>
|
cc
|
|
Subject
| [platform-ua-dev] Assigning a static port
number for help in external browser |
|
Hello – Is it possible to specify that the IDE should use the same port
number for retrieving help? It appears that Eclipse changes the port number
on IDE restart when an external browser is used.
I’m not using infocenter, where I see a port number can be specified.
This is local help. The problem goes like this:
1 User is in the IDE, launches help (in an external browser) to work through
a tutorial.
2 The tutorial requests that the user change workspace, or restart the
IDE.
3 The browser instance remains open, but when the IDE has restarted, its
links can no longer be reached. The user has to restart help and find the
topic they were in to keep going.
Thanks,
Steve
Staff Technical Writer, Workshop team
503.929.0434
YIM: straut_bea
_______________________________________________________________________
Notice: This email message, together with any attachments, may contain
information of BEA Systems, Inc., its subsidiaries
and affiliated
entities, that may be confidential, proprietary, copyrighted
and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.
_______________________________________________
platform-ua-dev mailing list
platform-ua-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-ua-dev
_______________________________________________________________________
Notice: This email message, together with any attachments, may contain
information of BEA Systems, Inc., its subsidiaries
and affiliated
entities, that may be confidential, proprietary, copyrighted
and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.
_______________________________________________________________________
Notice: This email message, together with any attachments, may contain
information of BEA Systems, Inc., its subsidiaries
and affiliated
entities, that may be confidential, proprietary, copyrighted
and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.
_______________________________________________
platform-ua-dev mailing list
platform-ua-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-ua-dev
_______________________________________________________________________
Notice: This email message, together with any attachments, may contain
information of BEA Systems, Inc., its subsidiaries
and affiliated
entities, that may be confidential, proprietary, copyrighted
and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.
_______________________________________________
platform-ua-dev mailing list
platform-ua-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-ua-dev