powered by
adds a Separator to a Menu in JGR Console
jgr.addMenuSeparator(menu) jgr.insertMenuSeparator(menu,index)
Menu
name of the menu to add this separator to
index at which to insert
jgr.addMenu jgr.addMenuItem
jgr.addMenu
jgr.addMenuItem
jgr.addMenu("Workspace") jgr.addMenuItem("Workspace","Browse","ls()") jgr.addMenuSeparator("Workspace") jgr.addMenuItem("Workspace","Browse (pos=2)","ls(pos=2)")
Run the code above in your browser using DataLab