Bug 558411 - Guard against disposed master in WindowEditor

For some reason sometimes the master object is disposed when
the main menu changes. This change prevents a crash in this weird
case, but doesn't solve the root problem.

After this change also the virtual entry list is not updated when
createRemoveMainMenu is disposed. This should be okay, because in
that case the GUI is not functional and it doesn't matter if the
update is not performed, as long as we don't crash.


Change-Id: I072bc49f50062d884c7d00e44b4d1e03a93e8001
Signed-off-by: Jens Lidestrom <jens@lidestrom.se>
1 file changed
tree: 2da4c22f5dd50193b0bd989a715dfd5da9dc1832
  1. bundles/
  2. features/
  3. tests/
  4. .gitignore
  5. CONTRIBUTING
  6. LICENSE
  7. NOTICE
  8. pom.xml
  9. README.MD
README.MD

eclipse.platform.ui.tools

Repository for the platform tools to develop Eclipse 4 RCP applications.

How to build

Use the following command to build the components in this repository.

mvn clean verify -Pbuild-individual-bundles