Example usage for com.intellij.openapi.ui DialogWrapper.DoNotAskOption interface-usage

List of usage examples for com.intellij.openapi.ui DialogWrapper.DoNotAskOption interface-usage

Introduction

In this page you can find the example usage for com.intellij.openapi.ui DialogWrapper.DoNotAskOption interface-usage.

Usage

From source file com.android.tools.idea.gradle.project.PropertyBasedDoNotAskOption.java

/**
 * Implementation of "Do not show this dialog in the future" option. This option is displayed as a checkbox in a {@code Messages} dialog.
 * The state of such checkbox is stored in the IDE's {@code PropertiesComponent} under the name passed in the constructor.
 */
public class PropertyBasedDoNotAskOption implements DialogWrapper.DoNotAskOption {
    @NotNull

From source file com.github.beansoftapp.reatnative.idea.storage.GlobalPropertyBasedDoNotAskOption.java

/**
 * Implementation of "Do not show this dialog in the future" option. This option is displayed as a checkbox in a {@code Messages} dialog.
 * The state of such checkbox is stored in the IDE's {@code PropertiesComponent} under the name passed in the constructor.
 * Based on official PropertyBasedDoNotAskOption, but use glabal storage instead.
 * @date 2017-12-05
 * @author beansoft@126.com

From source file com.intellij.ide.impl.ProjectNewWindowDoNotAskOption.java

public class ProjectNewWindowDoNotAskOption implements DialogWrapper.DoNotAskOption {
    public boolean isToBeShown() {
        return true;
    }

    public void setToBeShown(boolean value, int exitCode) {