Bug 2412 - [UI] ISV must reference internal class to get workbench prefs (1GF0EOA)
Summary: [UI] ISV must reference internal class to get workbench prefs (1GF0EOA)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Randy Giffen CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:35 EDT by Unknown User CLA
Modified: 2005-01-18 16:44 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown User CLA 2001-10-10 22:35:56 EDT
The workbench exposes a number of preference constant keys in IWorkbenchPreferenceConstants.
Unfortately, you can only access those constants if you reference the WorkbenchPlugin class
directly or rely upon the underlying core support to get a well defined plugin class.  
This is bogus.  
If we expose the constants then surely we should also expose the object where
they can be used.  There should be API to get the preference store from IWorkbench.


NOTES:
Comment 1 DJ Houghton CLA 2001-10-29 18:26:36 EST
PRODUCT VERSION:

eclipse 0.119

Comment 2 Randy Giffen CLA 2002-03-18 15:05:44 EST
Added getPreferenceStore to IWorkbench