Package org.gradle.foundation.visitors

Examples of org.gradle.foundation.visitors.UniqueNameProjectAndTaskVisitor


    /**
     * Populates our lists. We'll use a visitor to build up a list of unique names of projects and tasks. Then we'll
     * sort them and add them to each filter editor panel.
     */
    private void populate() {
        UniqueNameProjectAndTaskVisitor visitor = new UniqueNameProjectAndTaskVisitor();

        AllProjectsAndTasksVisitor.visitProjectAndTasks(gradlePluginLord.getProjects(), visitor, null);

        List<String> taskNames = visitor.getSortedTaskNames();
        List<String> projectNames = visitor.getSortedProjectNames();

        taskFilterEditorPanel.populate(taskNames);
        projectFilterEditorPanel.populate(projectNames);

        filterOutTasksWithNoDescriptionCheckBox.setSelected(editor.filterOutTasksWithNoDescription());
View Full Code Here


    /**
     * Populates our lists. We'll use a visitor to build up a list of unique names of projects and tasks. Then we'll sort them and add them to each filter editor panel.
     */
    private void populate() {
        UniqueNameProjectAndTaskVisitor visitor = new UniqueNameProjectAndTaskVisitor();

        AllProjectsAndTasksVisitor.visitProjectAndTasks(gradlePluginLord.getProjects(), visitor, null);

        List<String> taskNames = visitor.getSortedTaskNames();
        List<String> projectNames = visitor.getSortedProjectNames();

        taskFilterEditorPanel.populate(taskNames);
        projectFilterEditorPanel.populate(projectNames);

        filterOutTasksWithNoDescriptionCheckBox.setSelected(editor.filterOutTasksWithNoDescription());
View Full Code Here

TOP

Related Classes of org.gradle.foundation.visitors.UniqueNameProjectAndTaskVisitor

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.