RAP Intro plugin [message #67904] |
Wed, 02 January 2008 09:45 |
|
Hi,
I've found org.eclipse.rap.ui.intro in CVS, is it usable at the moment ?
Regards,
Setya
|
|
|
Re: RAP Intro plugin [message #68025 is a reply to message #67904] |
Wed, 02 January 2008 15:06 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Setya,
the intro plug-in is not part of the RAP runtime. It is of coururse
usable but belongs together with ...launch, ...templates and ...help it
to the set of tooling plug-ins.
We plan to re-organize the CVS structure ([1]) to better reflect the
different parts of the project.
Cheers,
Rüdiger
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=201257
Setya wrote:
> Hi,
>
> I've found org.eclipse.rap.ui.intro in CVS, is it usable at the moment ?
>
> Regards,
>
> Setya
>
|
|
|
Re: RAP Intro plugin [message #69777 is a reply to message #68025] |
Fri, 11 January 2008 03:48 |
|
Rüdiger,
> the intro plug-in is not part of the RAP runtime. It is of coururse
> usable but belongs together with ...launch, ...templates and ...help it
> to the set of tooling plug-ins.
> We plan to re-organize the CVS structure ([1]) to better reflect the
> different parts of the project.
Thanks for your explanation above.
So in order to use it, do I always have to grab it separately from CVS or
is it possible in the future that it comes with RAP download ?
Regards,
Setya
|
|
|
Re: RAP Intro plugin [message #69914 is a reply to message #69777] |
Fri, 11 January 2008 16:50 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Setya,
you *cannot* use the intro plug-in with RAP. The name may be misleading
but it is *not* the RAP adoption of org.eclipse.ui.intro.
The intro plug-in is part of the RAP Tooling which can be installed via
the update-site denoted here:
http://www.eclipse.org/rap/downloads/index.php
HTH,
Rüdiger
Setya wrote:
> Rüdiger,
>
>> the intro plug-in is not part of the RAP runtime. It is of coururse
>> usable but belongs together with ...launch, ...templates and ...help
>> it to the set of tooling plug-ins.
>
>> We plan to re-organize the CVS structure ([1]) to better reflect the
>> different parts of the project.
>
> Thanks for your explanation above.
>
> So in order to use it, do I always have to grab it separately from CVS
> or is it possible in the future that it comes with RAP download ?
>
> Regards,
>
> Setya
>
|
|
|
Re: RAP Intro plugin [message #70127 is a reply to message #69914] |
Tue, 15 January 2008 11:44 |
|
Rüdiger,
> you *cannot* use the intro plug-in with RAP. The name may be misleading
> but it is *not* the RAP adoption of org.eclipse.ui.intro.
> The intro plug-in is part of the RAP Tooling which can be installed via
> the update-site denoted here:
> http://www.eclipse.org/rap/downloads/index.php
OK, so has it been scheduled to make it usable within RAP application ?
Regards,
Setya
|
|
|
|
Re: RAP Intro plugin [message #70289 is a reply to message #70208] |
Wed, 16 January 2008 12:10 |
|
Hi,
> I think he means that the intro plugin is the RAP intro if you open up
> you eclipse IDE. It's not part of RAP in your application and will never
> be, because it is not the intro plugin.
When we start Eclipse IDE for the 1st time, we encounter a welcome view
that covers the whole area including toolbar. As I understand it, in RCP
this welcome view is implemented using intro plugin or am I missing
something here ?
Regards,
Setya
|
|
|
Re: RAP Intro plugin [message #70328 is a reply to message #70289] |
Wed, 16 January 2008 14:32 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Setya,
you are right. In more detail, what you see is the "universal intro"
that is part of the Eclipse platform and the intro plug-in contributes
to this facility.
Cheers,
Rüdiger
Setya wrote:
> Hi,
>
>> I think he means that the intro plugin is the RAP intro if you open up
>> you eclipse IDE. It's not part of RAP in your application and will never
>> be, because it is not the intro plugin.
>
> When we start Eclipse IDE for the 1st time, we encounter a welcome view
> that covers the whole area including toolbar. As I understand it, in RCP
> this welcome view is implemented using intro plugin or am I missing
> something here ?
>
> Regards,
>
> Setya
>
>
|
|
|
Re: RAP Intro plugin [message #70536 is a reply to message #70328] |
Thu, 17 January 2008 13:10 |
|
Rüdiger,
> you are right. In more detail, what you see is the "universal intro"
> that is part of the Eclipse platform and the intro plug-in contributes
> to this facility.
Basically I just want to implement the same welcome view in RAP, since I
can't use intro plugin inside my RAP app, is there any workaround for this
?
Regards,
Setya
|
|
|
Re: RAP Intro plugin [message #70905 is a reply to message #70536] |
Mon, 21 January 2008 09:52 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Setya,
to work around the missing intro facility, you could create an
"intro"-perspective that has just one standalone view.
Within this view you could then display the welcome page, e.g. in a
browser widget.
The code for the "intro"-perspective could look like this:
class IntroPerspective implements IPerspectiveFactory {
public void createInitialLayout( IPageLayout layout ) {
layout.setEditorAreaVisible( false );
layout.addStandaloneView( "my.intro.view",
false,
IPageLayout.LEFT,
1f,
layout.getEditorArea() );
}
}
The RMS demo uses the same trick to provide an intro. Follow this link
to see what it looks like: http://rap.eclipse.org/rapdemo/rms
HTH
Rüdiger
Setya wrote:
> Rüdiger,
>
>> you are right. In more detail, what you see is the "universal intro"
>> that is part of the Eclipse platform and the intro plug-in contributes
>> to this facility.
>
> Basically I just want to implement the same welcome view in RAP, since I
> can't use intro plugin inside my RAP app, is there any workaround for
> this ?
>
> Regards,
>
> Setya
>
|
|
|
Re: RAP Intro plugin [message #70925 is a reply to message #70905] |
Mon, 21 January 2008 10:29 |
|
Rüdiger,
> The code for the "intro"-perspective could look like this:
> class IntroPerspective implements IPerspectiveFactory {
> public void createInitialLayout( IPageLayout layout ) {
> layout.setEditorAreaVisible( false );
> layout.addStandaloneView( "my.intro.view",
> false,
> IPageLayout.LEFT,
> 1f,
> layout.getEditorArea() );
> }
> }
> The RMS demo uses the same trick to provide an intro. Follow this link
> to see what it looks like: http://rap.eclipse.org/rapdemo/rms
Thanks for your snippet and link to the demo. I've implemented similiar to
your code above. Is is possible to also hide the toolbar as in RCP Intro ?
Regards,
Setya
|
|
|
Re: RAP Intro plugin [message #71234 is a reply to message #70925] |
Wed, 23 January 2008 23:06 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Setya,
as far as I know there is no way to control whether the toolbar should
be hidden in a distinct perspective.
You could provide your own ActionBarAdvisor implementation in
WorkbenchWindowAdvisor#createActionBarAdvisor but that would affects all
perspectives.
If this is really pressing you could ask on the eclipse.platform
newsgroup if there a way to achieve this in RCP - and keep your fingers
crossed that it also works in RAP;)
Cheers
Rüdiger
Setya wrote:
> Rüdiger,
>
>> The code for the "intro"-perspective could look like this:
>> class IntroPerspective implements IPerspectiveFactory {
>
>> public void createInitialLayout( IPageLayout layout ) {
>> layout.setEditorAreaVisible( false );
>> layout.addStandaloneView( "my.intro.view",
>
>> false,
>> IPageLayout.LEFT,
>> 1f,
>> layout.getEditorArea() );
>> }
>> }
>
>> The RMS demo uses the same trick to provide an intro. Follow this link
>> to see what it looks like: http://rap.eclipse.org/rapdemo/rms
>
> Thanks for your snippet and link to the demo. I've implemented similiar
> to your code above. Is is possible to also hide the toolbar as in RCP
> Intro ?
>
> Regards,
>
> Setya
>
|
|
|
Re: RAP Intro plugin (Solved) [message #76706 is a reply to message #71234] |
Wed, 05 March 2008 12:14 |
|
Hi Rüdiger,
> as far as I know there is no way to control whether the toolbar should
> be hidden in a distinct perspective.
> You could provide your own ActionBarAdvisor implementation in
> WorkbenchWindowAdvisor#createActionBarAdvisor but that would affects all
> perspectives.
> If this is really pressing you could ask on the eclipse.platform
> newsgroup if there a way to achieve this in RCP - and keep your fingers
> crossed that it also works in RAP;)
I dig into the RCP source and found the following snippet in
ViewIntroAdapterPart class :
private void setBarVisibility(final boolean visible)
{
WorkbenchWindow window = (WorkbenchWindow) getSite().getWorkbenchWindow();
final boolean layout = (visible != window.getCoolBarVisible())
|| (visible != window.getPerspectiveBarVisible()); // don't layout unless
things have actually changed
if (visible)
{
window.setCoolBarVisible(true);
window.setPerspectiveBarVisible(true);
}
else
{
window.setCoolBarVisible(false);
window.setPerspectiveBarVisible(false);
}
if (layout)
{
window.getShell().layout();
}
}
I put the above snippet in my view's createPartControl method and the
toolbar gets hidden.
Thanks and Regards,
Setya
|
|
|
Powered by
FUDForum. Page generated in 0.03648 seconds