IPreferenceConstants in an RCP app? [message #436343] |
Tue, 06 September 2005 16:00 |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.02757 seconds