Examples of VCSApplicationParams


Examples of org.rstudio.studio.client.vcs.VCSApplicationParams

   private void showReviewPane(boolean showHistory,
                               FileSystemItem historyFileFilter,
                               ArrayList<StatusAndPath> items)
   {
      // setup params
      VCSApplicationParams params = VCSApplicationParams.create(
                                          showHistory,
                                          historyFileFilter,
                                          items);
     
      // open the window
View Full Code Here

Examples of org.rstudio.studio.client.vcs.VCSApplicationParams

   private void showReviewPane(boolean showHistory,
                               FileSystemItem historyFileFilter,
                               ArrayList<StatusAndPath> items)
   {
      // setup params
      VCSApplicationParams params = VCSApplicationParams.create(
                                          showHistory,
                                          historyFileFilter,
                                          items);
     
      // open the window
View Full Code Here

Examples of org.rstudio.studio.client.vcs.VCSApplicationParams

     
      // always show scrollbars on the mac
      StyleUtils.forceMacScrollbars(mainPanel);
           
      // show the vcs ui in our main panel
      VCSApplicationParams vcsParams = params.<VCSApplicationParams>cast();
      ReviewPresenter rpres = pReviewPresenter_.get();
      ArrayList<StatusAndPath> selected = vcsParams.getSelected();
      if (selected.size() > 0)
         rpres.setSelectedPaths(selected);
      HistoryPresenter hpres = pHistoryPresenter_.get();
      if (vcsParams.getHistoryFileFilter() != null)
         hpres.setFileFilter(vcsParams.getHistoryFileFilter());
          
      vcsPopupController_ = VCSPopup.show(mainPanel,
                                          rpres,
                                          hpres,
                                          vcsParams.getShowHistory())
   }
View Full Code Here

Examples of org.rstudio.studio.client.vcs.VCSApplicationParams

   public void reactivate(JavaScriptObject params)
   {
      // respect parameters if they were passed
      if (params != null)
      {
         VCSApplicationParams vcsParams = params.<VCSApplicationParams>cast();
         if (vcsParams.getShowHistory())
         {
            vcsPopupController_.switchToHistory(
                                       vcsParams.getHistoryFileFilter());
         }
         else
         {
            vcsPopupController_.switchToReview(vcsParams.getSelected());
         }
      }
      // for no parameters passed we still want to do a refresh
      else
      {
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.