Package org.openide.util

Examples of org.openide.util.ChangeSupport


    private final JavaExtension javaExt;
    private final ChangeSupport dirsCreated;

    public JavaSourceDirHandler(JavaExtension javaExt) {
        this.javaExt = javaExt;
        this.dirsCreated = new ChangeSupport(this);
    }
View Full Code Here


    public JavaExtensionNodes(JavaExtension javaExt) {
        ExceptionHelper.checkNotNullArgument(javaExt, "javaExt");

        this.javaExt = javaExt;
        this.nodeChanges = new ChangeSupport(this);
        this.lastDisplayed = new AtomicReference<>(null);

        javaExt.getSourceDirsHandler().addDirsCreatedListener(new Runnable() {
            @Override
            public void run() {
View Full Code Here

        ExceptionHelper.checkNotNullArgument(rootDirectory, "rootDirectory");

        this.rootDirectory = rootDirectory;
        this.hasBeenUsed = new AtomicBoolean(false);
        this.changeSupport = new PropertyChangeSupport(this);
        this.activeConfigChanges = new ChangeSupport(this);
        this.activeConfig = new AtomicReference<>(NbGradleConfiguration.DEFAULT_CONFIG);
        this.configs = new AtomicReference<>(
                Collections.singletonList(NbGradleConfiguration.DEFAULT_CONFIG));
        this.hasActiveBeenSet = false;
    }
View Full Code Here

        ExceptionHelper.checkNotNullArgument(javaExt, "javaExt");

        this.javaExt = javaExt;

        EventSource eventSource = new EventSource();
        this.changes = new ChangeSupport(eventSource);
        eventSource.init(this.changes);
    }
View Full Code Here

        ExceptionHelper.checkNotNullArgument(javaExt, "javaExt");

        this.javaExt = javaExt;

        EventSource eventSource = new EventSource();
        this.changes = new ChangeSupport(eventSource);
        eventSource.init(this.changes);
    }
View Full Code Here

    private final AtomicBoolean hasUnprocessedChangeEvent;

    public ProjectInfoManager() {
        this.mainLock = new ReentrantLock();
        this.informations = new HashMap<>();
        this.changes = new ChangeSupport(this);
        this.hasUnprocessedChangeEvent = new AtomicBoolean(false);
    }
View Full Code Here

        ExceptionHelper.checkNotNullArgument(javaExt, "javaExt");

        this.javaExt = javaExt;

        EventSource eventSource = new EventSource();
        this.changes = new ChangeSupport(eventSource);
        eventSource.init(this.changes);
    }
View Full Code Here

    public GradleProjectSources(JavaExtension javaExt) {
        ExceptionHelper.checkNotNullArgument(javaExt, "javaExt");

        this.javaExt = javaExt;
        this.changeSupport = new ChangeSupport(this);
        this.currentGroups = Collections.emptyMap();
        this.hasScanned = new AtomicBoolean(false);
        this.scanRequestId = new AtomicReference<>(null);

        javaExt.getSourceDirsHandler().addDirsCreatedListener(new Runnable() {
View Full Code Here

TOP

Related Classes of org.openide.util.ChangeSupport

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.