Package org.eclipse.team.ui.synchronize

Examples of org.eclipse.team.ui.synchronize.ISynchronizeView.display()


        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


            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

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.