don't add many popup handlers on L&F change (it causes popup menu to appear after a significant delay and blinking)

This commit is contained in:
peter
2012-10-23 14:20:19 +02:00
parent 8a37973092
commit 70752b96c6
@@ -451,14 +451,6 @@ public class ChangesListView extends Tree implements TypeSafeDataProvider, Advan
PopupHandler.installPopupHandler(this, myMenuGroup, ActionPlaces.CHANGES_VIEW_POPUP, ActionManager.getInstance());
}
@Override
public void updateUI() {
super.updateUI();
if (myMenuGroup != null) {
updateMenu();
}
}
@SuppressWarnings({"UtilityClassWithoutPrivateConstructor"})
private static class DragImageFactory {
private static void drawSelection(JTable table, int column, Graphics g, final int width) {