Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Getting color set in theme (Window->Preferences->Workbench->Color And Fonts)
Getting color set in theme (Window->Preferences->Workbench->Color And Fonts) [message #283687] Fri, 08 April 2005 18:58
Eclipse UserFriend
Originally posted by:

This is theme defition in my plugin.xml:

label="Test theme"

label="Primary color"

My question is "How to access this definition from running plugin?".
Simply how to USE this theme thing in sourcecode?
I've tried to call
PlatformUI.getWorkbench().getThemeManager().getTheme("com.testtheme.themeCategory ");
but it throws NullPointerException.

Thanks, Marty
Previous Topic:Startup error ...
Next Topic:eclipse / window manager crash
Goto Forum:

Current Time: Sun May 27 21:51:55 GMT 2018

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

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

Back to the top