private void updateTreeApiForMysql5(ISession session)
{
if (!DialectFactory.isMySQL5(session.getMetaData())) { return; }
String stmtSep = session.getQueryTokenizer().getSQLStatementSeparator();
MysqlProcedureSourceTab procSourceTab = new MysqlProcedureSourceTab(i18n.SHOW_PROCEDURE_SOURCE);
_treeAPI.addDetailTab(DatabaseObjectType.PROCEDURE, procSourceTab);
// Tab to add to view nodes.
MysqlViewSourceTab viewSourceTab = new MysqlViewSourceTab(i18n.SHOW_VIEW_SOURCE, stmtSep);
_treeAPI.addDetailTab(DatabaseObjectType.VIEW, viewSourceTab);