Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Business Theme to new RAP Project
Business Theme to new RAP Project [message #141129] Wed, 22 July 2009 13:43 Go to next message
Aleksandar Pavlov is currently offline Aleksandar PavlovFriend
Messages: 79
Registered: July 2009
Member
Hi friends,
If I understood correctly, one could use the new "Business" look and feel
just by substituting the servlet name for 'business', e.g.
http://localhost:port/business?startup=view.
I tried that for existing project and it worked.
Then I created my own RAP project and this trick is not working. What am I
missing. I also added the themes and branding extension points, but in
vain.
Thank you in advance
Aleks
Re: Business Theme to new RAP Project [message #141142 is a reply to message #141129] Wed, 22 July 2009 13:56 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
Hi Aleksandar,

you need to add the "org.eclipse.rap.example.design" bundle to your
launch config.

Greets
Ben

Aleksandar Pavlov wrote:
> Hi friends,
> If I understood correctly, one could use the new "Business" look and
> feel just by substituting the servlet name for 'business', e.g.
> http://localhost:port/business?startup=view.
> I tried that for existing project and it worked.
> Then I created my own RAP project and this trick is not working. What am
> I missing. I also added the themes and branding extension points, but in
> vain.
> Thank you in advance
> Aleks
>


--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
Re: Business Theme to new RAP Project [message #141163 is a reply to message #141142] Wed, 22 July 2009 14:24 Go to previous messageGo to next message
Aleksandar Pavlov is currently offline Aleksandar PavlovFriend
Messages: 79
Registered: July 2009
Member
Hi Ben,
Thanks for the quick reply.
I too new to RAP: do you mean the *.launch file? If so, what am I
suppose to write there.
Besides the direct answer, would you point me to some documentation
where this is described (in order to spare your time answering similar
simple questions).
Aleks
P.S.
Do you mean 'org.eclipse.rap.design.example' project that comes along
with the last RAP demo?

Benjamin Muskalla wrote:
> Hi Aleksandar,
>
> you need to add the "org.eclipse.rap.example.design" bundle to your
> launch config.
>
> Greets
> Ben
>
> Aleksandar Pavlov wrote:
>> Hi friends,
>> If I understood correctly, one could use the new "Business" look and
>> feel just by substituting the servlet name for 'business', e.g.
>> http://localhost:port/business?startup=view.
>> I tried that for existing project and it worked.
>> Then I created my own RAP project and this trick is not working. What
>> am I missing. I also added the themes and branding extension points,
>> but in vain.
>> Thank you in advance
>> Aleks
>>
>
>
Re: Business Theme to new RAP Project [message #141196 is a reply to message #141163] Wed, 22 July 2009 14:29 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
Hi Aleksandar,

you don't need to care about the .launch file itself. See
http://help.eclipse.org/galileo/topic/org.eclipse.rap.help/h elp/html/getting-started/launcher.html#rap
regarding the RAP Launcher.

Just open the "Bundles" tab in your launch configuration you're using to
start your RAP application and check the
"org.eclipse.rap.example.design" project there. This plugin includes the
"business" servlet along with the example implementation of the
interaction design API.

Greets
Ben

Aleksandar Pavlov wrote:
> Hi Ben,
> Thanks for the quick reply.
> I too new to RAP: do you mean the *.launch file? If so, what am I
> suppose to write there.
> Besides the direct answer, would you point me to some documentation
> where this is described (in order to spare your time answering similar
> simple questions).
> Aleks
> P.S.
> Do you mean 'org.eclipse.rap.design.example' project that comes along
> with the last RAP demo?
>
> Benjamin Muskalla wrote:
>> Hi Aleksandar,
>>
>> you need to add the "org.eclipse.rap.example.design" bundle to your
>> launch config.
>>
>> Greets
>> Ben
>>
>> Aleksandar Pavlov wrote:
>>> Hi friends,
>>> If I understood correctly, one could use the new "Business" look and
>>> feel just by substituting the servlet name for 'business', e.g.
>>> http://localhost:port/business?startup=view.
>>> I tried that for existing project and it worked.
>>> Then I created my own RAP project and this trick is not working. What
>>> am I missing. I also added the themes and branding extension points,
>>> but in vain.
>>> Thank you in advance
>>> Aleks
>>>
>>


--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
Re: Business Theme to new RAP Project [message #141296 is a reply to message #141196] Thu, 23 July 2009 07:07 Go to previous messageGo to next message
Aleksandar Pavlov is currently offline Aleksandar PavlovFriend
Messages: 79
Registered: July 2009
Member
Great, that worked,
May I ask two further questions.
Is there a document explaining how to customize that look and feel. For
example I dont need the perspectives navigation, I would like to change
the 'Example' logo (actually remove all the topmost section). And there
is a coolbar with a button that is not visible when I switch to the
'business' view.
The second questions is: what should I setup in order to obtain business
look and feel when I deploy the app as .war file in web container, not
started from eclipse?
Thank you for your time and help
Aleksandar

Benjamin Muskalla wrote:
> Hi Aleksandar,
>
> you don't need to care about the .launch file itself. See
> http://help.eclipse.org/galileo/topic/org.eclipse.rap.help/h elp/html/getting-started/launcher.html#rap
> regarding the RAP Launcher.
>
> Just open the "Bundles" tab in your launch configuration you're using to
> start your RAP application and check the
> "org.eclipse.rap.example.design" project there. This plugin includes the
> "business" servlet along with the example implementation of the
> interaction design API.
>
> Greets
> Ben
Re: Business Theme to new RAP Project [message #141306 is a reply to message #141296] Thu, 23 July 2009 07:19 Go to previous messageGo to next message
Holger Staudacher is currently offline Holger StaudacherFriend
Messages: 166
Registered: July 2009
Senior Member
Hi Aleksandar,
nice to here that it works. For changing components at the new design
you should get more familiar with the Layout/LayoutSet concept, please
take a look at [1]. We also provide a bundle which change allready the
logo of the new design. Therefore you need to checkout
org.eclipse.rap.examples from CVS Head and take a look at the
plugin.xml. On this we override a LayoutSet for the logo. You can use
this as a template for your own bundle.
To deploy the business design you should simple add this bundle to you
war file. I have never done this before, maybe someone knows it better
;)

Regards Holger

[1]
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .rap.help/help/html/advanced/look-and-feel.html



On

2009-07-23 09:07:19 +0200, Aleksandar Pavlov <a.pavlov@bers-soft.com> said:

> Great, that worked,
> May I ask two further questions.
> Is there a document explaining how to customize that look and feel. For
> example I dont need the perspectives navigation, I would like to change
> the 'Example' logo (actually remove all the topmost section). And there
> is a coolbar with a button that is not visible when I switch to the
> 'business' view.
> The second questions is: what should I setup in order to obtain business
> look and feel when I deploy the app as .war file in web container, not
> started from eclipse?
> Thank you for your time and help
> Aleksandar
>
> Benjamin Muskalla wrote:
>> Hi Aleksandar,
>>
>> you don't need to care about the .launch file itself. See
>> http://help.eclipse.org/galileo/topic/org.eclipse.rap.help/h elp/html/getting-started/launcher.html#rap
regarding
>>
>> the RAP Launcher.
>>
>> Just open the "Bundles" tab in your launch configuration you're using to
>> start your RAP application and check the
>> "org.eclipse.rap.example.design" project there. This plugin includes the
>> "business" servlet along with the example implementation of the
>> interaction design API.
>>
>> Greets
>> Ben


--
-----------------------------------------

http://eclipsesource.com

http://twitter.com/eclipsesource
Re: Business Theme to new RAP Project [message #141316 is a reply to message #141306] Thu, 23 July 2009 07:44 Go to previous messageGo to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
Hi,

Is it possible to customize the layout at perspective level using this
interaction design API ?

For example we want our login perspective to cover the whole screen.
After successfull login, user will directed to business perspective with
normal layout. Currently we use TrimLayout to achieve this, but we're
not too comfortable about it since it's internal API.

Regards,

Setya
Re: Business Theme to new RAP Project [message #141325 is a reply to message #141316] Thu, 23 July 2009 07:49 Go to previous message
Holger Staudacher is currently offline Holger StaudacherFriend
Messages: 166
Registered: July 2009
Senior Member
Hi Setya,
perspectives have only influence to the page contents. So you can't
change the whole layout with a perspective (this means you have no
influence on header, footer and perspective switcher). The reason why
is, all components are seted up during the
IWindowComposer#createWindowContents call and this happens only once
for a application.

Regards Holger

On 2009-07-23 09:44:46 +0200, Setya <jsetya@gmail.com> said:

> Hi,
>
> Is it possible to customize the layout at perspective level using this
> interaction design API ?
>
> For example we want our login perspective to cover the whole screen.
> After successfull login, user will directed to business perspective
> with normal layout. Currently we use TrimLayout to achieve this, but
> we're not too comfortable about it since it's internal API.
>
> Regards,
>
> Setya


--
-----------------------------------------

http://eclipsesource.com

http://twitter.com/eclipsesource
Previous Topic:StackPresentation is not coupled with PartId
Next Topic:[SingleSourcing] Click Button programmatically - also in RCP
Goto Forum:
  


Current Time: Thu Apr 25 06:02:33 GMT 2024

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

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

Back to the top