Package de.tobject.findbugs.view.explorer

Examples of de.tobject.findbugs.view.explorer.FilterBugsDialog$TreeLabelProvider


        if (navigator == null) {
            return;
        }
        Set<BugPattern> filtered = FindbugsPlugin.getFilteredPatterns();
        Set<BugCode> filteredTypes = FindbugsPlugin.getFilteredPatternTypes();
        FilterBugsDialog dialog = new FilterBugsDialog(navigator.getSite().getShell(), filtered, filteredTypes);
        dialog.setTitle("Bug Filter Configuration");
        int result = dialog.open();
        if (result != Window.OK) {
            return;
        }
        String selectedIds = dialog.getSelectedIds();

        FindbugsPlugin.getDefault().getPreferenceStore().setValue(FindBugsConstants.LAST_USED_EXPORT_FILTER, selectedIds);

        BugContentProvider provider = BugContentProvider.getProvider(navigator.getNavigatorContentService());
        provider.refreshFilters();
View Full Code Here


            }

            public void widgetSelected(SelectionEvent e) {
                Set<BugPattern> filtered = FindbugsPlugin.getFilteredPatterns();
                Set<BugCode> filteredTypes = FindbugsPlugin.getFilteredPatternTypes();
                FilterBugsDialog dialog = new FilterBugsDialog(getShell(), filtered, filteredTypes);
                dialog.setTitle("Bug Filter Configuration");
                int result = dialog.open();
                if (result != Window.OK) {
                    return;
                }
                String selectedIds = dialog.getSelectedIds();

                FindbugsPlugin.getDefault().getPreferenceStore().setValue(FindBugsConstants.LAST_USED_EXPORT_FILTER, selectedIds);
                filteredBugIdsText.setText(selectedIds);
            }
        });
View Full Code Here

TOP

Related Classes of de.tobject.findbugs.view.explorer.FilterBugsDialog$TreeLabelProvider

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.