diff --git a/platform/platform-api/src/com/intellij/ui/ToolbarDecorator.java b/platform/platform-api/src/com/intellij/ui/ToolbarDecorator.java index 3b6eafa93bf2..607ed126afe6 100644 --- a/platform/platform-api/src/com/intellij/ui/ToolbarDecorator.java +++ b/platform/platform-api/src/com/intellij/ui/ToolbarDecorator.java @@ -306,6 +306,9 @@ public abstract class ToolbarDecorator implements DataProvider, CommonActionsPan return this; } + /** + * @return panel that contains wrapped component (with added scrollpane) and toolbar panel. + */ public JPanel createPanel() { final CommonActionsPanel.Buttons[] buttons = getButtons(); final JComponent contextComponent = getComponent();