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

Examples of org.gradle.gradleplugin.userinterface.swing.generic.tabs.GradleTab


        gradleTabs.add( setupTab );
    }

    private int getGradleTabIndex(Class soughtClass) {
        for (int index = 0; index < gradleTabs.size(); index++) {
            GradleTab gradleTab = gradleTabs.get(index);
            if (gradleTab.getClass() == soughtClass) {
               return index;
            }
        }
        return -1;
    }
View Full Code Here


    }

    public int getGradleTabIndex(String name) {
        if (name != null) {
            for (int index = 0; index < gradleTabs.size(); index++) {
                GradleTab gradleTab = gradleTabs.get(index);
                if (name.equals(gradleTab.getName())) {
                   return index;
                }
            }
        }
        return -1;
View Full Code Here

    public void aboutToShow() {
        setupUI();

        Iterator<GradleTab> iterator = gradleTabs.iterator();
        while (iterator.hasNext()) {
            GradleTab gradleTab = iterator.next();
            gradleTab.aboutToShow();
        }

        //now start up the plugin now that everything has been initialized
        gradlePluginLord.startExecutionQueue();
    }
View Full Code Here

    }

    private void addTabs() {
        Iterator<GradleTab> iterator = gradleTabs.iterator();
        while (iterator.hasNext()) {
            GradleTab gradleTab = iterator.next();
            tabbedPane.add(gradleTab.getName(), gradleTab.createComponent());
        }
    }
View Full Code Here

TOP

Related Classes of org.gradle.gradleplugin.userinterface.swing.generic.tabs.GradleTab

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.