Package com.dci.intellij.dbn.common.thread

Examples of com.dci.intellij.dbn.common.thread.SimpleBackgroundTask


            return newRowCount;
        }
    }

    private void disposeRows(final List<T> oldRows) {
        new SimpleBackgroundTask() {
            @Override
            public void run() {
                // dispose old content
                for (T row : oldRows) {
                    disposeRow(row);
View Full Code Here


    }

    public void loadData(final DatasetLoadInstructions instructions) {
        if (!isLoading) {
            setLoading(true);
            new SimpleBackgroundTask() {
                public void run() {
                    try {
                        if (!isDisposed()) {
                            editorForm.showLoadingHint();
                            editorForm.getEditorTable().cancelEditing();
View Full Code Here

    public List<? extends BrowserTreeNode> getTreeChildren() {
        if (visibleTreeChildren == null) {
            visibleTreeChildren = new ArrayList<BrowserTreeNode>();
            visibleTreeChildren.add(new LoadInProgressTreeNode(this));

            new SimpleBackgroundTask() {
                public void run() {
                    if (!isDisposed()) buildTreeChildren();
                }
            }.start();
View Full Code Here

TOP

Related Classes of com.dci.intellij.dbn.common.thread.SimpleBackgroundTask

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.