File tree Expand file tree Collapse file tree 3 files changed +9
-23
lines changed
bundles/org.eclipse.ui.workbench
Eclipse UI/org/eclipse/ui/internal Expand file tree Collapse file tree 3 files changed +9
-23
lines changed Original file line number Diff line number Diff line change 4141import org .eclipse .ui .internal .keys .BindingService ;
4242import org .osgi .service .component .annotations .Component ;
4343import org .osgi .service .component .annotations .Reference ;
44- import org .osgi .service .condition .Condition ;
4544
4645@ Component (service = IModelProcessorContribution .class )
4746public class BindingToModelProcessor implements IModelProcessorContribution {
@@ -51,8 +50,15 @@ public class BindingToModelProcessor implements IModelProcessorContribution {
5150 private Map <String , MBindingTable > tables = new HashMap <>();
5251 private Set <MKeyBinding > keys = new HashSet <>();
5352
54- @ Reference (target = "(osgi.condition.id=commandAndContext)" )
55- Condition commandAndContextCondition ;
53+ // define dependencies to CommandToModelProcessor and ContextToModelProcessor to
54+ // ensure these two IModelProcessorContributions are registered before this
55+ // BindingToModelProcessor
56+
57+ @ Reference
58+ private CommandToModelProcessor commandToModelProcessor ;
59+
60+ @ Reference
61+ private ContextToModelProcessor contextToModelProcessor ;
5662
5763 @ Execute
5864 void process (final MApplication application , IEclipseContext context ) {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -137,7 +137,6 @@ Require-Capability: osgi.extender;
137137 filter:="(&(osgi.extender=osgi.component)(version>=1.2)(!(version>=2.0)))"
138138Automatic-Module-Name : org.eclipse.ui.workbench
139139Service-Component : OSGI-INF/org.eclipse.ui.internal.BindingToModelProcessor.xml,
140- OSGI-INF/org.eclipse.ui.internal.CommandAndContextCondition.xml,
141140 OSGI-INF/org.eclipse.ui.internal.CommandToModelProcessor.xml,
142141 OSGI-INF/org.eclipse.ui.internal.ContextToModelProcessor.xml,
143142 OSGI-INF/org.eclipse.ui.internal.WindowsDefenderConfigurator.xml,
You can’t perform that action at this time.
0 commit comments