Bug 372078 - Injections during execution of MDirectMenuItem contribution object do not receive UI element

Fixed up DirectContributionItem to match HandledContributionItem:
  * populate a static context with the MItem and its interfaces
  * execute the contribution (equivalent to a handler) with the
    context from the active leaf
Added tests to ensure the above, incl HandledContributionItem
2 files changed
tree: 7484610e40364ed306edf359df738af05eb73235
  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