Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 518789 - [Architecture Framework] Preferences not customizable by Eclipse Products
Summary: [Architecture Framework] Preferences not customizable by Eclipse Products
Status: VERIFIED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 3.0.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: SR1   Edit
Assignee: Christian Damus CLA
QA Contact: Peter Cigehn CLA
URL:
Whiteboard: blockingpapyrusrt
Keywords:
Depends on:
Blocks: 518448
  Show dependency tree
 
Reported: 2017-06-26 11:11 EDT by Christian Damus CLA
Modified: 2017-06-28 11:50 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Damus CLA 2017-06-26 11:11:43 EDT
The Architecture Framework's preferences, especially for default architecture context selection, are not customizable via the Eclipse Product extension's preference customization files (often named plugin_customization.ini).  The reason for this is that the ArchitectureDomainPreferences class only consults the instance scope for preferences, whereas the product's customizations are contributed to the configuration scope.

See the discussion in bug 518448 for the impact on Papyrus-based RCPs such as Papyrus-RT, which prefers that the UML-RT architecture context be the default.
Comment 1 Eclipse Genie CLA 2017-06-26 11:14:02 EDT
New Gerrit change created: https://git.eclipse.org/r/100060
Comment 3 Eclipse Genie CLA 2017-06-27 13:00:15 EDT
New Gerrit change created: https://git.eclipse.org/r/100168
Comment 4 Eclipse Genie CLA 2017-06-27 14:45:12 EDT
Gerrit change https://git.eclipse.org/r/100168 was merged to [streams/3.0-maintenance].
Commit: http://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/commit/?id=a820ebf64ce136271199dafd352dc8e96ecdcf0b
Comment 5 Christian Damus CLA 2017-06-27 14:46:16 EDT
(In reply to comment #2)
> Gerrit change https://git.eclipse.org/r/100060 was merged to [master].

(In reply to comment #4)
> Gerrit change https://git.eclipse.org/r/100168 was merged to
> [streams/3.0-maintenance].
Comment 6 Peter Cigehn CLA 2017-06-28 04:36:05 EDT
Verified to be fixed in the context of the latest Papyrus-RT build, based on the latest Papyrus Oxygen nightly build. It is now possible to customize the preference for the default architecture context.