public PluginSessionCallback sessionStarted(final ISession session) {
if (isFirebirdDB(session)) {
try {
// Add context menu items to the object tree's session node.
// as popup menu
IObjectTreeAPI objectTreeApi = session
.getSessionInternalFrame().getObjectTreeAPI();
objectTreeApi.addToPopup(DatabaseObjectType.SESSION,
getFirebirdManagerMenu(getApplication(), session, true));
return new PluginSessionCallback() {
public void sqlInternalFrameOpened(
SQLInternalFrame sqlInternalFrame, ISession sess) {