Bug 160736 - [Preferences] Support the addition of arbritrary preference scopes
Summary: [Preferences] Support the addition of arbritrary preference scopes
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows NT
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks: 70683 154097
  Show dependency tree
 
Reported: 2006-10-12 15:36 EDT by Tod Creasey CLA
Modified: 2021-12-09 15:29 EST (History)
7 users (show)

See Also:


Attachments
Initial preferences example (13.98 KB, application/octet-stream)
2006-10-12 15:37 EDT, Tod Creasey CLA
no flags Details
Patch to Jface and the Workbench for the example (7.55 KB, patch)
2006-10-12 15:44 EDT, Tod Creasey CLA
no flags Details | Diff
updated patch (9.07 KB, patch)
2006-10-12 16:10 EDT, Tod Creasey CLA
no flags Details | Diff
example preferences (32.40 KB, application/octet-stream)
2006-10-13 11:40 EDT, DJ Houghton CLA
no flags Details
The example with a configuration scope example (35.67 KB, application/octet-stream)
2006-10-16 16:12 EDT, Tod Creasey CLA
no flags Details
Updated example (35.76 KB, application/octet-stream)
2006-10-19 08:47 EDT, Tod Creasey CLA
no flags Details
Patch to Jface and the Workbench for the example (8.30 KB, patch)
2006-10-19 08:47 EDT, Tod Creasey CLA
no flags Details | Diff
Updated October 20 (7.66 KB, patch)
2006-10-20 16:05 EDT, Tod Creasey CLA
no flags Details | Diff
Example updated October 20 (39.43 KB, application/octet-stream)
2006-10-20 16:06 EDT, Tod Creasey CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tod Creasey CLA 2006-10-12 15:36:34 EDT
3.3

In Bug 154097 we discuss the possibility of a "team" preference to set on multiple projects (for instance).

We would need support for adding arbitrary extra preference scopes for this.
Comment 1 Tod Creasey CLA 2006-10-12 15:37:52 EDT
Created attachment 51883 [details]
Initial preferences example
Comment 2 Tod Creasey CLA 2006-10-12 15:44:55 EDT
Created attachment 51884 [details]
Patch to Jface and the Workbench for the example
Comment 3 Tod Creasey CLA 2006-10-12 16:10:50 EDT
Created attachment 51886 [details]
updated patch
Comment 4 DJ Houghton CLA 2006-10-13 11:40:02 EDT
Created attachment 51946 [details]
example preferences

Here is a new version of the example prefs. It is a work in progress but it works for the basic case and gives a proof of concept. 

Also in the JAR I included some classes (AbstractPreferenceNode and PreferencePath) that I have been working on. The node class will (hopefully) be API in 3.3 and allow people to easily subclass and create their own preference nodes. 

Currently I have the preferences being written to <metadata>/exampleScope/.settings/<qualifier>.prefs but obviously that is not optimal.
Comment 5 Tod Creasey CLA 2006-10-16 16:12:46 EDT
Created attachment 52071 [details]
The example with a configuration scope example
Comment 6 Tod Creasey CLA 2006-10-19 08:47:09 EDT
Created attachment 52307 [details]
Updated example

Example with a collpased ScopedPreferenceStore
Comment 7 Tod Creasey CLA 2006-10-19 08:47:36 EDT
Created attachment 52308 [details]
Patch to Jface and the Workbench for the example
Comment 8 Tod Creasey CLA 2006-10-20 16:05:19 EDT
Created attachment 52425 [details]
Updated October 20

Here is my latest updated patch - I have added a preference page for moving between contexts (which isn't working) - see ScopeMovingPreferencePage.
Comment 9 Tod Creasey CLA 2006-10-20 16:06:21 EDT
Created attachment 52426 [details]
Example updated October 20
Comment 10 Tod Creasey CLA 2007-06-19 15:29:05 EDT
We are not currently going to go forward with this.
Comment 11 Tod Creasey CLA 2007-06-19 15:30:28 EDT
Reopening. This might be considered in the incubator
Comment 12 Stephan Strittmatter CLA 2008-04-22 09:47:28 EDT
I think it is very importent for a company to have alwys the same environment and settings! I really expect a solution as mentioned already in Bug 160452 months ago. 
Comment 13 Susan McCourt CLA 2009-07-09 19:28:19 EDT
As per http://wiki.eclipse.org/Platform_UI/Bug_Triage_Change_2009
Comment 14 Eclipse Webmaster CLA 2019-09-06 16:04:28 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 15 Eclipse Genie CLA 2021-12-09 15:29:46 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.