Package org.jitterbit.application.ui

Examples of org.jitterbit.application.ui.BusyWorker


            return;
        }
        this.contentID = content.getId();
        this.content = content;
        Runnable job = new AddContentJob(content, safeCallback);
        new BusyWorker(getWindow(), job).run();
    }
View Full Code Here


            // The content has already been added. Make it active:
            setActiveContent(content);
            safeCallback.contentAdded(this, content);
        } else {
            Runnable job = new AddContentJob(content, safeCallback);
            new BusyWorker(getWindow(), job).run();
        }
    }
View Full Code Here

            applyOptions(op, options);
        }
    }

    private void applyOptions(Operation op, OperationOptions newOptions) {
        new BusyWorker(waitService, new OptionsApplier(op, newOptions)).runInBackgroundThread();
    }
View Full Code Here

        m_sourceScroll.getVerticalScrollBar().setValue(sourceScrollValue);
        m_targetScroll.getVerticalScrollBar().setValue(targetScrollValue);
    }

  public void migration(final Transformation newTransformation) {
      new BusyWorker(m_container.getWaitService()) {

            @Override
            protected void doWork() {
                try {
                    m_Migration = new Migration(TreeMapper.this, newTransformation);
View Full Code Here

* @since 1.2
*/
public abstract class SystemActivityDisplayer {

    public final void display(final ApplicationWindow appWin, final ServerConnectionService connectionService) {
        new BusyWorker(appWin) {

            @Override
            protected void doWork() {
                ActivityPage page = createPage(connectionService);
                page.setSubjectIcon(ClientIcons.SERVER_16);
View Full Code Here

        String pattern = getString("Source.Export.NoDestinations.Message");
        return MessageFormat.format(pattern, locType);
    }

    private void doExport(final Source source, final List<? extends IntegrationEntity> availableDestinations) {
        new BusyWorker(helper.getWaitService()) {

            @Override
            protected void doWork() {
                doExportImpl(source, availableDestinations);
            }
View Full Code Here

        this.menu = menu;
    }

    @Override
    public void valueChanged(final Preference<Boolean> pref, final Boolean oldValue, final Boolean newValue) {
        new BusyWorker(appWin) {

            @Override
            protected void doWork() {
                updateWindowMenuManager(newValue);
                rebuildMenuBar();
View Full Code Here

     *            a <code>List</code> of the items to delete
     */
    public void delete(List<? extends IntegrationEntity> entities) {
        Collector collector = new Collector(entities);
        Runnable job = new DeleteJob(collector);
        new BusyWorker(view.getWindow(), job).runInBackgroundThread();
    }
View Full Code Here

        serverListener = ServerConnectionActionBinder.install(serverManager, this);
    }

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

            @Override
            public void run() {
                Window owner = getWindow().getFrame();
                LoginConfiguration loginConfig = serverManager.getLoginService().getConfiguration();
View Full Code Here

        return MessageFormat.format(pattern, locType);
    }


    private void doExport(final Target target, final List<? extends IntegrationEntity> availableDestinations) {
        new BusyWorker(helper.getWaitService()) {

            @Override
            protected void doWork() {
                doExportImpl(target, availableDestinations);
            }
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.