Package org.gradle.gradleplugin.userinterface.swing.generic.filter

Examples of org.gradle.gradleplugin.userinterface.swing.generic.filter.ProjectAndTaskFilterDialog


     * filter rather than handing it out editor so teh user can cancel. That is, the dialog uses its own editor which it
     * modifies freely and throws away. This way, if the user cancels, we dodon't have to deal with restoring the
     * previous values in our local editor.
    */
    private void configureFilter() {
        ProjectAndTaskFilterDialog dialog = new ProjectAndTaskFilterDialog(SwingUtilities.getWindowAncestor(mainPanel), gradlePluginLord);

        BasicProjectAndTaskFilter newFilter = dialog.show(editor.createFilter());
        if (newFilter != null) //if the user didn't cancel...
        {
            editor.initializeFromFilter(newFilter);
            populate();
        }
View Full Code Here


    /**
     * This displays a dialog that allows the user to determine what shows up in the tree. We give the filter dialog a filter rather than handing it out editor so teh user can cancel. That is, the
     * dialog uses its own editor which it modifies freely and throws away. This way, if the user cancels, we dodon't have to deal with restoring the previous values in our local editor.
     */
    private void configureFilter() {
        ProjectAndTaskFilterDialog dialog = new ProjectAndTaskFilterDialog(SwingUtilities.getWindowAncestor(mainPanel), gradlePluginLord);

        BasicProjectAndTaskFilter newFilter = dialog.show(editor.createFilter());
        if (newFilter != null) {
            //if the user didn't cancel...
            editor.initializeFromFilter(newFilter);
            populate();
        }
View Full Code Here

TOP

Related Classes of org.gradle.gradleplugin.userinterface.swing.generic.filter.ProjectAndTaskFilterDialog

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.