Search in sources :

Example 11 with BorderLayoutPanel

use of com.intellij.util.ui.components.BorderLayoutPanel in project intellij-plugins by StepicOrg.

the class StudyToolWindow method createToolbarPanel.

private JPanel createToolbarPanel(ActionGroup group) {
    final ActionToolbar actionToolBar = ActionManager.getInstance().createActionToolbar("Study", group, true);
    BorderLayoutPanel toolBar = JBUI.Panels.simplePanel(actionToolBar.getComponent());
    toolBar.addToRight(rightPanel);
    return toolBar;
}
Also used : ActionToolbar(com.intellij.openapi.actionSystem.ActionToolbar) BorderLayoutPanel(com.intellij.util.ui.components.BorderLayoutPanel)

Aggregations

BorderLayoutPanel (com.intellij.util.ui.components.BorderLayoutPanel)11 JBUI (com.intellij.util.ui.JBUI)3 List (java.util.List)3 javax.swing (javax.swing)3 NotNull (org.jetbrains.annotations.NotNull)3 AllIcons (com.intellij.icons.AllIcons)2 DumbAwareAction (com.intellij.openapi.project.DumbAwareAction)2 Project (com.intellij.openapi.project.Project)2 MultiLineLabelUI (com.intellij.openapi.ui.MultiLineLabelUI)2 com.intellij.ui (com.intellij.ui)2 JBLabel (com.intellij.ui.components.JBLabel)2 KeyEvent (java.awt.event.KeyEvent)2 DebuggerBundle (com.intellij.debugger.DebuggerBundle)1 JVMNameUtil (com.intellij.debugger.engine.JVMNameUtil)1 DecompiledLocalVariable (com.intellij.debugger.jdi.DecompiledLocalVariable)1 JavaDebuggerSupport (com.intellij.debugger.ui.JavaDebuggerSupport)1 DataManager (com.intellij.ide.DataManager)1 EditSourceAction (com.intellij.ide.actions.EditSourceAction)1 com.intellij.openapi.actionSystem (com.intellij.openapi.actionSystem)1 ActionToolbar (com.intellij.openapi.actionSystem.ActionToolbar)1