IObjectTreeAPI otApi = session.getSessionInternalFrame().getObjectTreeAPI();
otApi.addToPopup(DatabaseObjectType.VIEW, new ScriptSybaseASEViewAction(getApplication(), _resources, session));
otApi.addToPopup(DatabaseObjectType.PROCEDURE, new ScriptSybaseASEProcedureAction(getApplication(), _resources, session));
otApi.addDetailTab(DatabaseObjectType.VIEW,
new ViewSourceTab(i18n.SHOW_VIEW_SOURCE, stmtSep));
TableWithChildNodesExpander tableExp = new TableWithChildNodesExpander();
tableExp.setTableIndexExtractor(new SybaseTableIndexExtractorImpl());
tableExp.setTableTriggerExtractor(new SybaseTableTriggerExtractorImpl());
otApi.addExpander(DatabaseObjectType.TABLE, tableExp);