Re: Welcome Framework [message #471301] |
Wed, 02 January 2008 16:08  |
Eclipse User |
|
|
|
Originally posted by: nospam_kowalskilee.gmail.com
Hi Aravind,
I do not have a technical answer for you about this.
However, because the Welcome Framework is under the umbrella of Eclipse
User Assistance (UA), I am adding this to the eclipse.platform.ua
newsgroup also, in hopes that someone on that newsgroup might have some
suggestions for you.
For future questions about the Welcome/Intro framework, you might try
posting to the eclipse.platform.ua newsgroup.
Best regards,
Lee Anne
Aravind wrote:
> Hi All...
> I have used org.eclipse.ui.intro, org.eclipse.ui.intro.config
> to get my customized welcome page, then tried using
> org.eclipse.ui.intro.configExtension for adding a theme...and defined
> the properties such as id,name,path and preview image.
> But still, Iam not able to get the theme into my welcome
> page..only the gif image is thr, which i hav used in shared.css. I also
> tried making this entry in
> plugin_customization.ini(org.eclipse.ui.intro/INTRO_THEME=tr ue)...
>
>
> Thanks,
> Aravind
>
|
|
|
|
|
|
Re: Welcome Framework [message #471449 is a reply to message #471435] |
Tue, 15 January 2008 00:15  |
Eclipse User |
|
|
|
Hi Chris...
Thanks for your replies.....
1)This time..Iam not trying with my customized theme...Iam using the
sample application with an intro..and modified it to my needs..Is there
any way..i can bring an existing theme into tht.....
2)I have the given the below code in my root.xhtml file....with this,
if the user clicks on the text..itz taking to the workbench...(ie) the
perspective.
<a href="http://org.eclipse.ui.intro/switchToLaunchBar?id=workbench">
<img border="0" src="link_obj.gif" alt="workbench" />
Storage Management Perspective
</a>
Is the link...standard one(http://org.eclipse.ui.intro/switchToLaunchBar)
If i want to switch to help and to other perspectives according to user
selection..how do i do that...
Thanks,Aravind
|
|
|
Re: Welcome Framework [message #606317 is a reply to message #471301] |
Thu, 03 January 2008 14:32  |
Eclipse User |
|
|
|
Hi Aravind,
Creating a theme is not very well documented unfortunately. If you look
at org.eclipse.ui.intro.universal you can get more idea as to how themes
work.
org.eclipse.ui.intro.universal/introContent.xml contains many lines like
this:
<page id="root" alt-style="$theme$/swt/root.properties"
style="$theme$/html/root.css" style-id="page">
where there is a reference to $theme$. This will get substituted for an
actual theme name such as "circles" so you end up with a path like
/org.eclipse.ui.intro.universal/themes/circles/html/root.css .
It sounds like you are looking to add a new theme to your own intro
config and are not using universal intro. If this is the case you should
uses $theme$ in the path of your style declarations in your config file.
|
|
|
Re: Welcome Framework [message #606334 is a reply to message #471428] |
Mon, 07 January 2008 07:10  |
Eclipse User |
|
|
|
Hi..
Iam using Eclipse 3.2 and 3.3....Iam not able to find the
org.eclipse.ui.intro.universal extension...Instead iam using
org.eclipse.ui.intro.configExtension for themes.
How to go with it....
Thanks,
Aravind
|
|
|
Re: Welcome Framework [message #606338 is a reply to message #471434] |
Mon, 07 January 2008 14:13  |
Eclipse User |
|
|
|
There is no extension point for universal intro, but there is a
configuration called "org.eclipse.ui.intro.universal". Intro can be
somewhat confusing and sometimes the only way to figure it out is to
look at an example that has already been implemented which is why I
directed you towards universal intro.
If you look at the Eclipse SDK you will see that there is a plugin
called org.eclipse.ui.intro.universal, if you unzip that you can see the
introContent.xml file and how it references the files in the theme. This
will hopefully give you the clues you need to write your own theme.
|
|
|
Re: Welcome Framework [message #606911 is a reply to message #471435] |
Tue, 15 January 2008 00:15  |
Eclipse User |
|
|
|
Hi Chris...
Thanks for your replies.....
1)This time..Iam not trying with my customized theme...Iam using the
sample application with an intro..and modified it to my needs..Is there
any way..i can bring an existing theme into tht.....
2)I have the given the below code in my root.xhtml file....with this,
if the user clicks on the text..itz taking to the workbench...(ie) the
perspective.
<a href="http://org.eclipse.ui.intro/switchToLaunchBar?id=workbench">
<img border="0" src="link_obj.gif" alt="workbench" />
Storage Management Perspective
</a>
Is the link...standard one(http://org.eclipse.ui.intro/switchToLaunchBar)
If i want to switch to help and to other perspectives according to user
selection..how do i do that...
Thanks,Aravind
|
|
|
Powered by
FUDForum. Page generated in 0.03968 seconds