Package org.rstudio.studio.client.workbench.model

Examples of org.rstudio.studio.client.workbench.model.Agreement


  
   private void verifyAgreement(SessionInfo sessionInfo,
                              final Operation verifiedOperation)
   {
      // get the agreement (if any)
      final Agreement agreement = sessionInfo.pendingAgreement();
     
      // if there is an agreement then prompt user for agreement (otherwise just
      // execute the verifiedOperation immediately)
      if (agreement != null)
      {
         // append updated to the title if necessary
         String title = agreement.getTitle();
         if (agreement.getUpdated())
            title += " (Updated)";
        
         view_.showApplicationAgreement(
           
            // title and contents  
            title,
            agreement.getContents(),
            
            // bail to sign in page if the user doesn't confirm
            new Operation()
            {
               public void execute()
View Full Code Here

TOP

Related Classes of org.rstudio.studio.client.workbench.model.Agreement

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.