Package com.onpositive.gae.tools.deploy

Examples of com.onpositive.gae.tools.deploy.ConfigureTools


          .openConfirm(
              Display.getCurrent().getActiveShell(),
              "Project should be configured to add OnPositive Concole Support",
              "Do you want to configure project to add OnPositive Console Support now?");
      if (openConfirm) {
        PrepareGaeProject prepareGaeProject = new ConfigureTools(
            "Preparing Google Web Application Project",
            fJavaProject, Activator.getDefault().getBundle(),true);
        PlatformUI.getWorkbench().getProgressService().showInDialog(
            null, prepareGaeProject);
        prepareGaeProject.schedule();
        prepareGaeProject.addJobChangeListener(new JobChangeAdapter(){

         
          public void done(IJobChangeEvent event) {
            if (event.getResult().isOK()){
              Display.getDefault().asyncExec(new Runnable(){
View Full Code Here


        if (doCheck){
        new UnConfigureTools("Remove "+getTitle()+" tools", project, getBundle(),getAdditionAction(),showNote()).run(new NullProgressMonitor());
        refreshText();
        }
        else{
          new ConfigureTools("Add "+getTitle()+" tools", project, getBundle(),showNote()).run(new NullProgressMonitor());
          refreshText();
        }
      }

      public void widgetDefaultSelected(SelectionEvent e) {
View Full Code Here

            .openConfirm(
                Display.getCurrent().getActiveShell(),
                "Project should be configured to add OnPositive Profiler Support",
                "Do you want to configure project to add OnPositive Profiler Support now?");
        if (openConfirm) {
          ConfigureTools configureTools = new ConfigureTools(
              "Installing profiling", javaGaeProject, Activator
                  .getDefault().getBundle(),false);
          PlatformUI.getWorkbench().getProgressService()
              .showInDialog(
                  Display.getCurrent().getActiveShell(),
                  configureTools);
          configureTools
              .addJobChangeListener(new IJobChangeListener() {

                public void sleeping(IJobChangeEvent event) {

                }

                public void scheduled(IJobChangeEvent event) {

                }

                public void running(IJobChangeEvent event) {

                }

                public void done(IJobChangeEvent event) {
                  enableBuilder(javaGaeProject, description);
                }

                public void awake(IJobChangeEvent event) {

                }

                public void aboutToRun(IJobChangeEvent event) {

                }
              });
          configureTools.schedule();
        }
      } else {
        enableBuilder(javaGaeProject, description);
      }
View Full Code Here

                  "Do you want to configure project to add OnPositive Base Viewer support now?");

        }
      });
      if (openConfirm) {
        PrepareGaeProject prepareGaeProject = new ConfigureTools(
            "Preparing Google Web Application Project",
            fJavaProject, Activator.getDefault().getBundle(), true);
        PlatformUI.getWorkbench().getProgressService()
            .showInDialog(null, prepareGaeProject);
        prepareGaeProject.schedule();
        prepareGaeProject.addJobChangeListener(new JobChangeAdapter() {

          public void done(IJobChangeEvent event) {
            if (event.getResult().isOK()) {
              Display.getDefault().asyncExec(new Runnable() {
View Full Code Here

          .openConfirm(
              Display.getCurrent().getActiveShell(),
              "Project should be configured to add OnPositive Concole Support",
              "Do you want to configure project to add OnPositive Console Support now?");
      if (openConfirm) {
        PrepareGaeProject prepareGaeProject = new ConfigureTools(
            "Preparing Google Web Application Project",
            fJavaProject, Activator.getDefault().getBundle(),true);
        PlatformUI.getWorkbench().getProgressService().showInDialog(
            null, prepareGaeProject);
        prepareGaeProject.schedule();
        prepareGaeProject.addJobChangeListener(new JobChangeAdapter(){

         
          public void done(IJobChangeEvent event) {
            if (event.getResult().isOK()){
              Display.getDefault().asyncExec(new Runnable(){
View Full Code Here

TOP

Related Classes of com.onpositive.gae.tools.deploy.ConfigureTools

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.