Package net.sourceforge.squirrel_sql.plugins.h2.exp

Examples of net.sourceforge.squirrel_sql.plugins.h2.exp.SequenceParentExpander


    _treeAPI = session.getSessionInternalFrame().getObjectTreeAPI();
    // Expanders - trigger and index expanders are added inside the table
    // expander
    _treeAPI.addExpander(DatabaseObjectType.SCHEMA,
      new SchemaExpander(new H2SequenceInodeExpanderFactory(), DatabaseObjectType.SEQUENCE));

    TableWithChildNodesExpander tableExp = new TableWithChildNodesExpander();
    tableExp.setTableIndexExtractor(new H2TableIndexExtractorImpl());
    tableExp.setTableTriggerExtractor(new H2TableTriggerExtractorImpl());
    _treeAPI.addExpander(DatabaseObjectType.TABLE, tableExp);
View Full Code Here


    // expander
    _treeAPI.addExpander(DatabaseObjectType.SCHEMA,
      new SchemaExpander(new H2SequenceInodeExpanderFactory(), DatabaseObjectType.SEQUENCE));

    TableWithChildNodesExpander tableExp = new TableWithChildNodesExpander();
    tableExp.setTableIndexExtractor(new H2TableIndexExtractorImpl());
    tableExp.setTableTriggerExtractor(new H2TableTriggerExtractorImpl());
    _treeAPI.addExpander(DatabaseObjectType.TABLE, tableExp);

    // View Tab
    _treeAPI.addDetailTab(DatabaseObjectType.VIEW, new ViewSourceTab(i18n.SHOW_VIEW_SOURCE, stmtSep));
View Full Code Here

    _treeAPI.addExpander(DatabaseObjectType.SCHEMA,
      new SchemaExpander(new H2SequenceInodeExpanderFactory(), DatabaseObjectType.SEQUENCE));

    TableWithChildNodesExpander tableExp = new TableWithChildNodesExpander();
    tableExp.setTableIndexExtractor(new H2TableIndexExtractorImpl());
    tableExp.setTableTriggerExtractor(new H2TableTriggerExtractorImpl());
    _treeAPI.addExpander(DatabaseObjectType.TABLE, tableExp);

    // View Tab
    _treeAPI.addDetailTab(DatabaseObjectType.VIEW, new ViewSourceTab(i18n.SHOW_VIEW_SOURCE, stmtSep));
View Full Code Here

    // View Tab
    _treeAPI.addDetailTab(DatabaseObjectType.VIEW, new ViewSourceTab(i18n.SHOW_VIEW_SOURCE, stmtSep));

    // Index tab
    _treeAPI.addDetailTab(DatabaseObjectType.INDEX, new DatabaseObjectInfoTab());
    _treeAPI.addDetailTab(DatabaseObjectType.INDEX, new IndexDetailsTab());
    _treeAPI.addDetailTab(DatabaseObjectType.INDEX, new IndexSourceTab(i18n.SHOW_INDEX_SOURCE, stmtSep));

    // Trigger tabs
    _treeAPI.addDetailTab(DatabaseObjectType.TRIGGER_TYPE_DBO, new DatabaseObjectInfoTab());
    _treeAPI.addDetailTab(DatabaseObjectType.TRIGGER, new DatabaseObjectInfoTab());
View Full Code Here

    _treeAPI.addDetailTab(DatabaseObjectType.VIEW, new ViewSourceTab(i18n.SHOW_VIEW_SOURCE, stmtSep));

    // Index tab
    _treeAPI.addDetailTab(DatabaseObjectType.INDEX, new DatabaseObjectInfoTab());
    _treeAPI.addDetailTab(DatabaseObjectType.INDEX, new IndexDetailsTab());
    _treeAPI.addDetailTab(DatabaseObjectType.INDEX, new IndexSourceTab(i18n.SHOW_INDEX_SOURCE, stmtSep));

    // Trigger tabs
    _treeAPI.addDetailTab(DatabaseObjectType.TRIGGER_TYPE_DBO, new DatabaseObjectInfoTab());
    _treeAPI.addDetailTab(DatabaseObjectType.TRIGGER, new DatabaseObjectInfoTab());
    _treeAPI.addDetailTab(DatabaseObjectType.TRIGGER, new TriggerDetailsTab());
View Full Code Here

    // will change at some point in the future.
    // _treeAPI.addDetailTab(DatabaseObjectType.TRIGGER, new TriggerSourceTab("The source of the trigger"));

    // Sequence tabs
    _treeAPI.addDetailTab(DatabaseObjectType.SEQUENCE, new DatabaseObjectInfoTab());
    _treeAPI.addDetailTab(DatabaseObjectType.SEQUENCE, new SequenceDetailsTab());

  }
View Full Code Here

    _treeAPI.addDetailTab(DatabaseObjectType.INDEX, new IndexSourceTab(i18n.SHOW_INDEX_SOURCE, stmtSep));

    // Trigger tabs
    _treeAPI.addDetailTab(DatabaseObjectType.TRIGGER_TYPE_DBO, new DatabaseObjectInfoTab());
    _treeAPI.addDetailTab(DatabaseObjectType.TRIGGER, new DatabaseObjectInfoTab());
    _treeAPI.addDetailTab(DatabaseObjectType.TRIGGER, new TriggerDetailsTab());

    // H2 uses Java classes that implement the "Trigger" interface to operate
    // on database tables rows when an action triggers them. Therefore, there
    // is currently no way to access the source for a trigger. Hopefully this
    // will change at some point in the future.
View Full Code Here

TOP

Related Classes of net.sourceforge.squirrel_sql.plugins.h2.exp.SequenceParentExpander

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.