// ĠCopyright Ġ 2 0 0 0 - 2 0 2 0 ĠJetBrains Ġs . r . o . ĠUse Ġof Ġthis Ġsource Ġcode Ġis Ġgoverned Ġby Ġthe ĠApache Ġ 2 . 0 Ġlicense Ġthat Ġcan Ġbe Ġfound Ġin Ġthe ĠLICENSE Ġfile . Ċ package Ġcom . intellij . execution . actions Ċ Ċ import Ġcom . intellij . execution . exec utors . Default Run Executor Ċ import Ġcom . intellij . execution . impl . Edit Configurations Dialog Ċ import Ġcom . intellij . execution . ui . Run Content Manager Ċ import Ġcom . intellij . execution . ui . Run Content ManagerImpl Ċ import Ġcom . intellij . icons . All Icons Ċ import Ġcom . intellij . ide . actions . Tool Window Empty State Action Ċ import Ġcom . intellij . lang . Lang Bundle Ċ import Ġcom . intellij . openapi . help . Help Manager Ċ import Ġcom . intellij . openapi . project . Project Ċ import Ġcom . intellij . openapi . wm . Tool Window Id Ċ import Ġcom . intellij . ui . Simple Text Attributes Ċ import Ġcom . intellij . util . ui . Status Text Ċ Ċ class ĠActivate Run Tool Window Action Ġ: ĠTool Window Empty State Action ( Tool Window Id . RUN , ĠAll Icons . Tool windows . Tool Window Run ) Ġ{ ĊĠ Ġoverride Ġfun Ġensure Tool Window Created ( project : ĠProject ) Ġ{ ĊĠĠĠ Ġval Ġrun Content Manager Ġ= ĠRun Content Manager . getInstance ( project ) Ġas ĠRun Content ManagerImpl ĊĠĠĠ Ġrun Content Manager . register Tool Window ( Default Run Executor . get Run Executor Instance ()) ĊĠ Ġ} ĊĊĠ Ġoverride Ġfun Ġsetup Empty Text ( project : ĠProject , Ġtext : ĠStatus Text ) Ġ{ ĊĠĠĠ Ġtext . append Line ( Lang Bundle . message (" run . tool window . empty . text . 1 ")) ĊĠĠĠ Ġtext . append Line ( Lang Bundle . message (" run . tool window . empty . text . 2 ")) ĊĠĠĠ Ġtext . append Line ( Lang Bundle . message (" run . tool window . empty . text . 3 ") Ġ+ Ġ" Ġ") ĊĠĠĠ Ġtext . append Text ( Lang Bundle . message (" run . tool window . empty . text . 4 "), ĠSimple Text Attributes . LINK _ ATTRIBUTES ) Ġ{ ĊĠĠĠĠĠ ĠEdit Configurations Dialog ( project ). show () ĊĠĠĠ Ġ} ĊĠĠĠ Ġtext . append Line ("") ĊĠĠĠ Ġtext . append Line ( All Icons . General . Context Help , ĠLang Bundle . message (" run . tool window . empty . text . help "), ĠSimple Text Attributes . LINK _ ATTRIBUTES ) Ġ{ ĊĠĠĠĠĠ ĠHelp Manager . getInstance (). invoke Help (" procedures . running . run ") ĊĠĠĠ Ġ} ĊĠ Ġ} Ċ } Ċ