Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » [Design] Custom Look and Feel with default stack presentation
[Design] Custom Look and Feel with default stack presentation [message #539841] Mon, 14 June 2010 00:23 Go to next message
KK  is currently offline KK Friend
Messages: 4
Registered: June 2010
Junior Member
I want to create a custom menu and toolbar (mainly wrapping them with some CustomVariant css tags), while keeping the default stack presentation.

For the workbench window components, I know that I can use the PresentationFactories. But the default stack presentation works just fine and I want to keep it. Do I need to recreate the whole thing using ConfigurableStack? Or there are some better ways to do it?

Thx
Re: [Design] Custom Look and Feel with default stack presentation [message #539968 is a reply to message #539841] Mon, 14 June 2010 12:39 Go to previous message
Holger Staudacher is currently offline Holger StaudacherFriend
Messages: 166
Registered: July 2009
Senior Member
You can use the ext point org.eclipse.ui.presentationFactories to
implement your own presentation factory. In your own factory you need
to override the create*Presentation methods to create standard stack
presentations instead of ConfigurableStacks. The second step is to
implement your own IWindowComposer to create the menu and toolbar part.
Hope this helps.

Regards Holger

On 2010-06-14 02:23:46 +0200, KK <kklo.sramana@gmail.com> said:

> I want to create a custom menu and toolbar (mainly wrapping them with
> some CustomVariant css tags), while keeping the default stack
> presentation.
> For the workbench window components, I know that I can use the
> PresentationFactories. But the default stack presentation works just
> fine and I want to keep it. Do I need to recreate the whole thing using
> ConfigurableStack? Or there are some better ways to do it?
>
> Thx


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

http://eclipsesource.com

http://twitter.com/eclipsesource
Previous Topic:Get Session related data
Next Topic:Thread per connected client?
Goto Forum:
  


Current Time: Thu Apr 25 08:28:11 GMT 2024

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

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

Back to the top