Package de.tobject.findbugs.view.explorer

Examples of de.tobject.findbugs.view.explorer.Grouping


            return true;
        }
        if (input instanceof BugGroup) {
            BugContentProvider provider = BugContentProvider.getProvider(navigator.getNavigatorContentService());
            BugGroup bugGroup = (BugGroup) input;
            Grouping grouping = provider.getGrouping();
            if (grouping == null) {
                return false;
            }
            // as long as the current input is on the "visible" children list
            // (workspace is invisible)
            return grouping.contains(bugGroup.getType());
        }
        return false;
    }
View Full Code Here


        dialog.setTitle("Bug Group Configuration");
        int result = dialog.open();
        if (result != Window.OK) {
            return;
        }
        Grouping grouping = Grouping.createFrom(dialog.getGroups());
        if (grouping == null) {
            return;
        }
        provider.setGrouping(grouping);
        CommonViewer viewer = navigator.getCommonViewer();
View Full Code Here

    public void run(IAction action) {
        if (navigator == null) {
            return;
        }
        Grouping grouping = getGrouping(action.getId());
        if (grouping == null) {
            return;
        }
        BugContentProvider provider = BugContentProvider.getProvider(navigator.getNavigatorContentService());
        provider.setGrouping(grouping);
View Full Code Here

TOP

Related Classes of de.tobject.findbugs.view.explorer.Grouping

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.