myWidth = (int) (toolBar.getPreferredSize().getWidth() + new JLabel(
getFullTitle(usages, title, hadMoreSeparator, visibleNodes.size() - 1,
true)).getPreferredSize().getWidth() + settingsButton.getPreferredSize().getWidth());
myWidth = -1;
for (AnAction action : toolbar.getChildren(null)) {
action.unregisterCustomShortcutSet(usageView.getComponent());
action.registerCustomShortcutSet(action.getShortcutSet(), content);
}
return popup[0];
}