Examples of ISynchronizePageSite


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

    PushAction pushAction = new PushAction(
        UIText.GitActionContributor_Push, configuration);
    pushAction.setImageDescriptor(PUSH);
    appendToGroup(P_TOOLBAR_MENU, SYNCHRONIZE_GROUP, pushAction);

    ISynchronizePageSite site = configuration.getSite();
    IWorkbenchSite ws = site.getWorkbenchSite();
    openWorkingFileAction = new OpenWorkingFileAction(ws.getWorkbenchWindow()
      .getActivePage());

    site.getSelectionProvider().addSelectionChangedListener(
        openWorkingFileAction);

    if (ws instanceof IViewSite) {
      Object oldAction = configuration.getProperty(P_OPEN_ACTION);
      if (!(oldAction instanceof Action))
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.