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: Sun Dec 05 21:52:38 GMT 2021

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

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

Back to the top