Skip to content

Commit

Permalink
[1916] Enable workaround for slow project explorer popup menu
Browse files Browse the repository at this point in the history
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=467000

Change-Id: I53a8ba1fba641ad67f58b33ac1577fb47cadd362
Signed-off-by: Felix Dorner <felix.dorner@gmail.com>
  • Loading branch information
felixdo authored and pdulth committed Aug 6, 2018
1 parent cdfe769 commit 2ebb53c
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -133,6 +133,12 @@ public void preStartup() {
// org.polarsys.capella.common.tools.report.appenders.usage so that default preferences will be initialized by the
// org.polarsys.capella.common.tools.report.appenders.usage.preferences.PreferencesInitializer
UsageMonitoringLogger.getInstance();

// FIXME Workaround for Eclipse Bug 467000 (Too many refreshes when building Dynamic Menus), Capella Bug 1916
String workaround = "eclipse.workaround.bug467000"; //$NON-NLS-1$
if (System.getProperty(workaround) == null) { // Only change the value if it is not explicitly set already (Don't override user-defined value)
System.setProperty(workaround, Boolean.TRUE.toString());
}
}

/**
Expand Down

0 comments on commit 2ebb53c

Please sign in to comment.