Package org.jitterbit.application.ui

Examples of org.jitterbit.application.ui.BusyWorker


        return deleteGate.apply(entitiesToDelete);
    }

    private void delete(final IntegrationProject project, final List<IntegrationEntity> entities,
                    final DependencyChecker checker) {
        new BusyWorker(waitService) {

            @Override
            protected void doWork() {
                deleteImpl(project, entities, checker);
            }
View Full Code Here


        this.launcher = launcher;
    }

    @Override
    public void execute(ActionEvent e) {
        new BusyWorker(launcher.getWindow()) {

            @Override
            protected void doWork() {
                executeImpl();
            }
View Full Code Here

        this.projectManager = projectManager;
    }

    @Override
    public void execute(ActionEvent e) {
        new BusyWorker(appWin) {

            @Override
            protected void doWork() {
                openImportUi();
            }
View Full Code Here

        pageDisplayer = pd;
    }

    @Override
    public void refresh() {
        new BusyWorker(getWindow(), new RefreshWorker()).runInBackgroundThread();
    }
View Full Code Here

                if (pageDisplayer != null) {
                    pageDisplayer.openPage((IntegrationEntity) selected);
                }
            } else if (selected instanceof PluginIdentifier) {
                final PluginIdentifier id = (PluginIdentifier) selected;
                BusyWorker worker = new BusyWorker(getWindow()) {

                    @Override
                    protected void doWork() {
                        viewPluginInfo(id);
                    }
                };
                worker.setDelay(150);
                worker.run();
            }
        }
View Full Code Here

                    }
                });
                dialog.setVisible(true);
            }
        };
        BusyWorker worker = new BusyWorker(appWin, job);
        worker.run();
    }
View Full Code Here

        this.modeSelector = modeSelector;
    }

    @Override
    public void execute(ActionEvent e) {
        new BusyWorker(appWin, new Runnable() {

            @Override
            public void run() {
                openPad();
            }
View Full Code Here

            putValue(LARGE_ICON_KEY, ClientIcons.getIcon("DependentItems.32"));
        }

        @Override
        public void actionPerformed(ActionEvent e) {
            BusyWorker worker = new BusyWorker(page.getWaitService()) {

                @Override
                protected void doWork() {
                    runImpl();
                }
            };
            worker.setDelay(50);
            worker.run();
        }
View Full Code Here

            openPage(selected.getEntity());
            displayer.close();
        }

        private void openPage(final IntegrationEntity entity) {
            new BusyWorker(page.getWindow()) {

                @Override
                protected void doWork() {
                    EntityExplorerSupport explorer = page.getEntityExplorerSupport();
                    if (explorer != null) {
View Full Code Here

TOP

Related Classes of org.jitterbit.application.ui.BusyWorker

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.