Bug 578753 - A core expression to evaluate a Preference in plugin.xml (activeWhen/enableWhen)
Summary: A core expression to evaluate a Preference in plugin.xml (activeWhen/enableWhen)
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 4.23   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: platform-runtime-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-15 00:48 EST by Mickael Istria CLA
Modified: 2022-03-14 09:34 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mickael Istria CLA 2022-02-15 00:48:39 EST
It would be convenient to declare enabledWhen/activeWhen of some extensions according to a preference. It could take form of something like:

  <with variable="preferenceStore">
    <test property="preferenceName" value="true"/>
  </with>

or
 
  <with variable="instanceScope">
    <test property="fully.qualified.propertyName" value="true"/>
  </with>