Package org.jab.docsearch.gui

Examples of org.jab.docsearch.gui.ManageIndexesDialog



    private void doManageIndexes() {
        if (! indexes.isEmpty()) {
            int numIndexes = indexes.size();
            ManageIndexesDialog min = new ManageIndexesDialog(this, I18n.getString("windowtitle.index_properties"), true);
            min.init();
            min.setVisible(true);
            if (min.returnBool) {
                // proceed to make the changes
                ArrayList<DocSearcherIndex> newIndex = new ArrayList<DocSearcherIndex>();
                for (int i = 0; i < numIndexes; i++) {
                    // set searched
                    if (! min.deletionSelected(i)) {
                        DocSearcherIndex di = indexes.get(i);
                        di.setShouldBeSearched(min.searchSelected(i));
                        if (min.updateSelected(i)) {
                            idx.updateIndex(di);
                        }
                        if (min.exportSelected(i)) {
                            doExport(di);
                        }
                        newIndex.add(di);
                    }
                    else {
View Full Code Here

TOP

Related Classes of org.jab.docsearch.gui.ManageIndexesDialog

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.