Opening external browser [message #1823681] |
Tue, 31 March 2020 02:06  |
Eclipse User |
|
|
|
Hi,
In
https://www.eclipse.org/sirius/doc/1.0.x/specifier/general/Model_Operations.html#standard_java_actions
it is mentioned that:
Quote:org.eclipse.sirius.ui.business.api.action.openHelpSection
This external Java action can be used to open the Eclipse Help system (or actually any web page) on a specific section from inside a tool (typically a popup menu).
However, when I tried to use it to open a different webpage (specified using href), it always opens the help section and tries to get the href content within the help section address (127.0.0.1 ...).
Is there any way I can use this action to open a web page other than the help pages?
If not, can you suggest an alternative?
Thanks,
Avi
|
|
|
|
|
Re: Opening external browser [message #1823786 is a reply to message #1823682] |
Thu, 02 April 2020 02:25  |
Eclipse User |
|
|
|
Ok, so I ended up implementing an externalJavaAction extension myself (details: "actionClass" referring to a function in my own Sirius design project, and a simpler function "id" that is used similarly in the External Java Action tool).
I think the documentation regarding the OpenHelpSection is misleading (I looked into the function's source, and it seems like it always turns on the help system, so there's no option to navigate to any webpage).
Regards,
Avi
|
|
|
Powered by
FUDForum. Page generated in 0.05879 seconds