is it possible to have links on the welcome page which point to defined commands and for example, launch an dialog?
I am thinking of having a welcome page, pointing out the steps what to do first, like:
1) change language (click here)
2) set up database connection (click here)
3) start working (click here)
“click here” should be a link to call the actual dialog to set things up. I am using Eclipse with the command style menu.
Grateful for any suggestions!
You can run jface actions from the welcome page like this (in the
introContent.xml)if your intro page is in XHTML. The encoded ampersand
&is quite a common pitfall. You can also call your own implemented action class (not a predefined one fromorg.eclipse.ui.*), but you should then implement theIIntroActionlike thiswhere you close the intro page and call some method you would like to have executed, in this case
run(). Your actions class should in all cases inherit fromorg.eclipse.jface.Action.