Bug 374326 - [Compatibility] ToolControl in toolbar using visibleWhen
doesn't show up

Include 3 types of changes:

1. ToolControlContribution doesn't correctly re-fill, because filling is
controled by the @PostConstruct method.  We should uninject the object
on control.dispose and create a new one on fill.

2. push a RAT manager.update(*) outside of the RAT.  As any injected
object can update the IEclipseContext in its @PostConstruct, we need to
be careful

3. remove an MToolControl in an MToolBar from the standard visibility
event handlers.  This is similar to how children of MMenu are already
exempt.

Bug: 374326

7 files changed
tree: a342baa5e40f180afdb3f0209128bb35fd780a21
  1. bundles/
  2. examples/
  3. features/
  4. git_report/
  5. tests/
  6. .gitignore
  7. README.md
README.md

Platform UI

Platform UI provides the basic building blocks for user interfaces built with Eclipse. Some of these form the Eclipse Rich Client Platform (RCP) and can be used for arbitrary rich client applications, while others are specific to the Eclipse IDE. The Platform UI codebase is built on top of the Eclipse Standard Widget Toolkit (SWT), which is developed as an independent project.

For more information, refer to the [Platform UI wiki page] 1.

License

Eclipse Public License (EPL) v1.0