I often have to switch between database schemas while working with ST.
I have to be careful not to load the current file into the wrong schema. The idea is to show the current build system - which is named like the schema - in the statusbar using view.setStatus ('Buildsystem', ?).
How does my little plugin get the information which build system is current?