Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Getting Eclipse IDE Look and Feel in a RCP Application
Getting Eclipse IDE Look and Feel in a RCP Application [message #1110089] Mon, 16 September 2013 10:56 Go to next message
Peter J. Kranz is currently offline Peter J. Kranz
Messages: 6
Registered: November 2010
Junior Member
Hey,

i'm developing a small Eclipse4 RCP Application and i want to mimic the Eclipse IDE Look & Feel, is there a simple way to achieve this?

index.php/fa/16213/0/
back: my Eclipse IDE (with fancy blue rounded tabs)
front: my RCP Application (no color, not rounded etc.)

what i have tried so far in plugin.xml:

<property
    name="cssTheme"
    value="org.eclipse.e4.ui.css.theme.e4_default">
</property>
<property
    name="applicationCSSResources"
    value="platform:/plugin/org.eclipse.platform/images/">
</property>
Re: Getting Eclipse IDE Look and Feel in a RCP Application [message #1110354 is a reply to message #1110089] Mon, 16 September 2013 19:33 Go to previous messageGo to next message
Eric Moffatt is currently offline Eric Moffatt
Messages: 118
Registered: July 2009
Senior Member

I suspect that you want one of the fully defined CSS files like 'e4_classic_win7.css' (there's a 'css' directory in the same project that you reference the 'images' from.

The one that you're using only defines a number of 'common' styles, not a complete setup...
Re: Getting Eclipse IDE Look and Feel in a RCP Application [message #1110712 is a reply to message #1110089] Tue, 17 September 2013 08:18 Go to previous message
Peter J. Kranz is currently offline Peter J. Kranz
Messages: 6
Registered: November 2010
Junior Member
thanks!

This solved my problem:

<property
    name="applicationCSS"
    value="platform:/plugin/org.eclipse.platform/css/e4_classic_winxp.css">
</property>
<property
    name="applicationCSSResources"
    value="platform:/plugin/org.eclipse.platform/images/">
</property>


Previous Topic:MToolbar in a composite
Next Topic:Workbench.xmi not created correctly
Goto Forum:
  


Current Time: Sat Oct 25 19:57:43 GMT 2014

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

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