Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » IPreferenceConstants in an RCP app?
IPreferenceConstants in an RCP app? [message #436343] Tue, 06 September 2005 16:00
Eclipse UserFriend
Originally posted by: mdshaffer.fhms.com

I'm trying to access IPreferenceConstants & WorkbenchMessages for an
Editor preferences page that I want to build into my RCP app. I want
allow my users to modify their editor look and behavior similar to what
can be done in the Eclipse IDE. When I use
IPreferenceConstants.SHOW_MULTIPLE_EDITOR_TABS, the Eclipse IDE informs me
that this is discouraged access and not accessible due to restriction on
required library org.eclipse.ui.workbench_3.1.0.jar. This works (I still
get the warning) :
getPreferenceStore().getBoolean(IPreferenceConstants.SHOW_MU LTIPLE_EDITOR_TABS);
However this does nothing:
getPreferenceStore().setDefault("SHOW_MULTIPLE_EDITOR_TABS",false);

Is there anyone out there with some explanation or experience with this.
I would think that allowing RCP apps access to the workbench preferences
would be desirable, but maybe that's just my lack of understanding.
Previous Topic:Update Editor title (again)
Next Topic:Form API: disabled Text widgets display w/o border
Goto Forum:
  


Current Time: Mon Dec 09 11:15:41 GMT 2024

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

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

Back to the top