Commit d3dd4bf
committed
Enhance the IContributionFactory to filter contributions
Currently there is no way for filtering a contribution to the model on a
global level.
This adds a new method to IContributionFactory#isEnabled that allows
extenders to mark a given contribution as being disabled.
See eclipse-platform/eclipse.platform.ui#22171 parent 29bc65f commit d3dd4bf
File tree
1 file changed
+8
-2
lines changed- runtime/bundles/org.eclipse.e4.core.services/src/org/eclipse/e4/core/services/contributions
1 file changed
+8
-2
lines changedLines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
29 | 35 | | |
0 commit comments