Created
October 14, 2021 00:06
-
-
Save krisrice/ba479105aec6e27bf643c9862189debd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set scan off | |
set define off | |
script | |
var StatusBarComponent = Java.type("oracle.dbtools.raptor.console.StatusBarComponent"); | |
var component = new StatusBarComponent() { | |
getName: function() { | |
return "beer"; | |
}, | |
getDescription: function() { | |
return "Beer "; | |
}, | |
update: function(context) { | |
context.append("🍻"); | |
} | |
}; | |
ctx.getConsoleService().registerStatusBarComponent(component); | |
/ | |
set statusbar add timing | |
set statusbar add beer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment