Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Use something like http://org.eclipse.ui.intro/runAction in internal browser
Use something like http://org.eclipse.ui.intro/runAction in internal browser [message #513070] Mon, 08 February 2010 12:46 Go to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

Hi all,

I've successfully used URL starting by http://org.eclipse.ui.intro/runAction?.. to have hyperlinks in my welcome page that open wizards or invoke other actions.
I would like to use it in another place than my Intro page. I was disppointed to discover that such URLs does not resolve to actions in the internal browser, and I don't know how to get started to re-use the WelcomeEditor...

Can someone give me a hint on how to have something like http://org.eclipse.ui.intro/runAction?.. available in an internal browser, or to reuse the WelcomeEditor?

Thanks in advance
--
Mickael Istria - BonitaSoft S.A.
http://www.bonitasoft.com/products/downloads.php
Re: Use something like http://org.eclipse.ui.intro/runAction in internal browser [message #514467 is a reply to message #513070] Mon, 15 February 2010 13:23 Go to previous message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

Mickael Istria a écrit :
> Can someone give me a hint on how to have something like
> http://org.eclipse.ui.intro/runAction?.. available in an internal
> browser, or to reuse the WelcomeEditor?

The best solution I found after investigation is to reuse the IntroPart, and to show a different page than the intro. The introContent.xml is added one page which refers to a web page, and I have to maintain the current page when opening the intro, to show either the real intro, or my external page. Then, when this external page is opened in an intro part, it resolves URL such as http://org.eclipse.ui.intro/runAction?..

I am not very satisfied of this solution, since it looks like a misusage of IntroPart and requires usage of internal classes, but I did not find any other way to achieve my goal.
Then, if anyone has a suggestion, it is still welcome!

Regards,
--
Mickael Istria - BonitaSoft S.A.
http://www.bonitasoft.com/products/downloads.php
Previous Topic:Update menu item disabled in Outgoing mode
Next Topic:Target Definition problems with Helios
Goto Forum:
  


Current Time: Fri Apr 19 23:24:52 GMT 2024

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

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

Back to the top