mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
IJP-985 New run/debug UI - populate extra session actions
GitOrigin-RevId: d6862a1dffa1a16adb03c1fcd871fe81c4d588ea
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d842dee48c
commit
b8452aeac7
@@ -245,6 +245,20 @@ class XDebugSessionTab3(
|
||||
(myUi as? RunnerLayoutUiImpl)?.setLeftToolbarVisible(false)
|
||||
val toolbar = DefaultActionGroup()
|
||||
toolbar.addAll(getCustomizedActionGroup(XDebuggerActions.TOOL_WINDOW_TOP_TOOLBAR_3_GROUP))
|
||||
|
||||
// reversed because it was like this in the original tab
|
||||
for (action in session.restartActions.reversed()) {
|
||||
toolbar.add(action, Constraints(Anchor.AFTER, IdeActions.ACTION_RERUN))
|
||||
}
|
||||
|
||||
for (action in session.extraActions.reversed()) {
|
||||
toolbar.add(action, Constraints(Anchor.AFTER, IdeActions.ACTION_STOP_PROGRAM))
|
||||
}
|
||||
|
||||
for (action in session.extraStopActions) {
|
||||
toolbar.add(action, Constraints(Anchor.AFTER, IdeActions.ACTION_STOP_PROGRAM))
|
||||
}
|
||||
|
||||
myUi.options.setTopLeftToolbar(toolbar, ActionPlaces.DEBUGGER_TOOLBAR)
|
||||
|
||||
myUi.options.setTitleProducer(Producer {
|
||||
|
||||
Reference in New Issue
Block a user