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:eclipse / window manager crash
Next Topic:BuildAction doesnt save resources
Goto Forum:

Current Time: Tue Dec 01 18:26:26 GMT 2015

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

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