[529438] Manually dispose DropDownMergeMenuAction when the toolbar72/114972/1
commit1520baa19635ef81310ae9091794c95f712f40f3
authorArthur Daussy <arthur.daussy@obeo.fr>
Fri, 5 Jan 2018 07:38:42 +0000 (5 08:38 +0100)
committerArthur Daussy <arthur.daussy@obeo.fr>
Fri, 5 Jan 2018 07:38:42 +0000 (5 08:38 +0100)
tree7792dc28b410a58dbe3d85ee7c68fdea6e38dcd4
parent85b08b199179af8607af2033bd1db0657ce117aa
[529438] Manually dispose DropDownMergeMenuAction when the toolbar
is disposed

We need to manually dispose this IMenuCreator since the
eclipse.compare never disposes the items in the toolbar manager.It
simply removes them (whitout disposal).
See:
* org.eclipse.compare.CompareViewerPane.clearToolBar(Composite)
* Dispose listener in
org.eclipse.compare.CompareViewerPane(Compsite,int)

Bug: 529438
Change-Id: I6458a8207d3ded90d87a0e90fb85fd1b76f028b3
Signed-off-by: Arthur Daussy <arthur.daussy@obeo.fr>
plugins/org.eclipse.emf.compare.ide.ui/src/org/eclipse/emf/compare/ide/ui/internal/structuremergeviewer/CompareToolBar.java