Examples of ISynchronizeView


Examples of org.eclipse.team.ui.synchronize.ISynchronizeView

        try {
      WGARemoteServerSynchronizationParticipant participant = new WGARemoteServerSynchronizationParticipant(server, _runtime);
      ISynchronizeManager manager = TeamUI.getSynchronizeManager();
      manager.addSynchronizeParticipants(new ISynchronizeParticipant[] {participant});
      ISynchronizeView view = manager.showSynchronizeViewInActivePage();
      view.display(participant);
      return true;
    } catch (Throwable e) {
      WorkbenchUtils.showErrorDialog(WGADesignerPlugin.getDefault(), getShell(), "Unable to initialize synchronization", "Unable to initialize synchronization with WGA server '" + server.getUrl().toString() + "'.", e);
      return false;
    }
View Full Code Here

Examples of org.eclipse.team.ui.synchronize.ISynchronizeView

        try {
            prepareSyncParticipant();

            ISynchronizeManager manager = TeamUI.getSynchronizeManager();
            manager.addSynchronizeParticipants(new ISynchronizeParticipant[] { syncParticipant });
            ISynchronizeView view = manager.showSynchronizeViewInActivePage();
            view.display(syncParticipant);
            syncParticipant.reset();

        } catch (InterruptedException e) {
            logger.warn("Operation canceled: " + e.getMessage());
        } catch (InvocationTargetException e) {
View Full Code Here

Examples of org.eclipse.team.ui.synchronize.ISynchronizeView

        // to have a proper refresh we should have state caching
        final ISynchronizeManager manager = TeamUI.getSynchronizeManager();
        Display display = PlatformUI.getWorkbench().getDisplay();
        display.asyncExec(new Runnable() {
            public void run() {
                ISynchronizeView view = manager.showSynchronizeViewInActivePage();
                ISynchronizeParticipant participant = view.getParticipant();
                if (participant instanceof SubscriberParticipant) {
                    SubscriberParticipant sp = (SubscriberParticipant) participant;
                    if (logger.isDebugEnabled()) {
                        logger.debug("Reset component subscriber...");
                    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.