Examples of IndexIterationListener


Examples of net.sourceforge.squirrel_sql.plugins.mssql.event.IndexIterationListener

        showStatisticsMenu.addMenuListener(new MenuListener() {
            public void menuSelected(MenuEvent e) {
                final JMenu menu = (JMenu) e.getSource();
                menu.removeAll();
                removeActionsOfType(coll,ShowStatisticsAction.class);
                iterateIndexes(new IndexIterationListener() {
                    public void indexSpotted(final ITableInfo tableInfo, final String indexName) {
                        final ShowStatisticsAction showStatisticsAction = new ShowStatisticsAction(app,_resources,plugin,tableInfo,indexName);
                        showStatisticsAction.setSession(_session);
                        coll.add(showStatisticsAction);
                        _resources.addToMenu(showStatisticsAction,menu);
View Full Code Here

Examples of net.sourceforge.squirrel_sql.plugins.mssql.event.IndexIterationListener

        public IteratorIndexesTask(JMenu menu) {
            _menu = menu;
        }
       
        public void run() {
            iterateIndexes(new IndexIterationListener() {
                public void indexSpotted(final ITableInfo tableInfo, final String indexName) {
                    final IndexDefragAction indexDefragAction = new IndexDefragAction(app,_resources,plugin,tableInfo,indexName);
                    indexDefragAction.setSession(_session);
                    GUIUtils.processOnSwingEventThread(new Runnable() {
                        public void run() {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.