Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP Intro plugin
RAP Intro plugin [message #67904] Wed, 02 January 2008 09:45 Go to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
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 #70208 is a reply to message #70127] Wed, 16 January 2008 07:21 Go to previous messageGo to next message
Markus Wolf is currently offline Markus WolfFriend
Messages: 153
Registered: July 2009
Senior Member
>> 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 ?
>
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.

Markus Wolf
--
> emedia-solutions wolf web: http://www.emedia-solutions-wolf.de
> Eimsbüttler Straße 115 mail: markus@emedia-solutions-wolf.de
> 22769 Hamburg pgp: http://wwwkeys.de.pgp.net
> +49 40 432 635 83 taxid: 57 / 126 / 16123
Re: RAP Intro plugin [message #70289 is a reply to message #70208] Wed, 16 January 2008 12:10 Go to previous messageGo to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
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
Previous Topic:Adjusts panel problem in Internet Explore
Next Topic:Which version of eclipse for RAP
Goto Forum:
  


Current Time: Fri Apr 26 22:10:39 GMT 2024

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

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

Back to the top