Package com.intellij.ui

Examples of com.intellij.ui.CollectionComboBoxModel


    java.util.List<Review> reviews = new ArrayList<Review>(
      reviewManager.getReviews(currentReviews, null, ReviewStatus.DRAFT, ReviewStatus.FIXING, ReviewStatus.REVIEWING,
        ReviewStatus._TEMPLATE));

    reviews.remove(review);
    CollectionComboBoxModel cbModel = new CollectionComboBoxModel(reviews, reviews.get(0));

    cbReviewCopy.setModel(cbModel);
    cbReviewLink.setModel(cbModel);

    String dir = RevuUtils.getWorkspaceSettings(project).getLastSelectedReviewDir();
View Full Code Here


    public GitflowInitOptionsDialog(Project project, List<String> localBranches) {
        super(project);

        setTitle("Options for gitflow init");

        productionBranchComboBox.setModel(new CollectionComboBoxModel(localBranches));
        developmentBranchComboBox.setModel(new CollectionComboBoxModel(localBranches));

        init();
        useNonDefaultConfigurationCheckBox.addItemListener(new ItemListener() {
            @Override
            public void itemStateChanged(ItemEvent e) {
View Full Code Here

TOP

Related Classes of com.intellij.ui.CollectionComboBoxModel

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.