Package pl.net.bluesoft.rnd.processtool.ui.process

Examples of pl.net.bluesoft.rnd.processtool.ui.process.ProcessDataPane$MyProcessToolActionCallback


                                 if (task != null) {
                                     getWindow().executeJavaScript("Liferay.trigger('processtool.bpm.assignProcess', '"
                                             + task.getProcessInstance().getInternalId() + "');");
                                     getWindow().executeJavaScript("vaadin.forceSync();");
                                     Window w = new Window(task.getProcessInstance().getInternalId());
                                     w.setContent(new ProcessDataPane(getApplication(), session, i18NSource, task, new WindowProcessDataDisplayContext(w)));
                                     w.center();
                                     getWindow().addWindow(w);
                                   w.focus();

                                 }
View Full Code Here


                    withErrorHandling(getApplication(), new Runnable() {
                        public void run() {
                            BeanItem<TaskTableItem> beanItem = bic.getItem(event.getItemId());
                            TaskTableItem tti = beanItem.getBean();
                            Window w = new Window(tti.getInternalId());
                            w.setContent(new ProcessDataPane(getApplication(), session, i18NSource, tti.getTask(), new WindowProcessDataDisplayContext(w)));
                            w.center();
                            getWindow().addWindow(w);
                            w.focus();
                        }
                    });
View Full Code Here

                            if (activityMainPane != null) {
                                activityMainPane.displayProcessData(task, session);
                            }
                            else {
                                Window w = new Window(instance.getInternalId());
                                w.setContent(new ProcessDataPane(getApplication(), session, i18NSource, task, new WindowProcessDataDisplayContext(w)));
                                w.center();
                                getWindow().addWindow(w);
                                w.focus();
                            }
                        }
View Full Code Here

          if (activityMainPane != null) {
            activityMainPane.displayProcessData(task, session);
          }
          else {
            Window w = new Window(instance.getInternalId());
            w.setContent(new ProcessDataPane(getApplication(), session, i18NSource, task, new WindowProcessDataDisplayContext(w)));
            w.center();
            getWindow().addWindow(w);
            w.focus();
          }
        }
View Full Code Here

    final ProcessToolContext processToolContextFromThread = ProcessToolContext.Util.getThreadProcessToolContext();
    if(viewController.getCurrentViewId() != null && viewController.getCurrentViewId().equals(ProcessDataViewComponent.class.getName())
        && (task = (BpmTask)viewController.getCurrentViewData().get("task")) != null
        && getBpmSession().isProcessRunning(task.getProcessInstance().getInternalId(),processToolContextFromThread))
    {
      final ProcessDataPane pdp = pdvc != null && pdvc.getProcessDataPane() != null ? pdvc.getProcessDataPane() : null;

      VaadinUtility.displayConfirmationWindow(
          application,getI18NSource(),
          i18NSource.getMessage("activity.close.process.confirmation.title"),
          i18NSource.getMessage("activity.close.process.confirmation.question"),
          new String[] {
              "activity.close.process.confirmation.ok",
              pdp != null && pdp.canSaveProcessData() ? "activity.close.process.confirmation.save" : null,
              "activity.close.process.confirmation.cancel"
          },
          new EventHandler[] {
              eventHandler,
              pdp != null && pdp.canSaveProcessData() ? new EventHandler() {
                @Override
                public void onEvent() {
                  if (pdp.saveProcessDataButtonAction()) {
                    eventHandler.onEvent();
                  }
                }
              } : null,
              null,
View Full Code Here

TOP

Related Classes of pl.net.bluesoft.rnd.processtool.ui.process.ProcessDataPane$MyProcessToolActionCallback

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.