Package org.activiti.explorer.ui.custom

Examples of org.activiti.explorer.ui.custom.ConfirmationDialogPopupWindow


  public void buttonClick(ClickEvent event) {
    I18nManager i18nManager = ExplorerApp.get().getI18nManager();
    ViewManager viewManager = ExplorerApp.get().getViewManager();
   
    final ConfirmationDialogPopupWindow confirmPopup = new ConfirmationDialogPopupWindow(
            i18nManager.getMessage(Messages.PROCESS_INSTANCE_DELETE_POPUP_TITLE, processInstanceId),
            i18nManager.getMessage(Messages.PROCESS_INSTANCE_DELETE_POPUP_DESCRIPTION, processInstanceId));

    confirmPopup.addListener(new ConfirmationEventListener() {
      private static final long serialVersionUID = 1L;
      protected void confirmed(ConfirmationEvent event) {
        RuntimeService runtimeService = ProcessEngines.getDefaultProcessEngine().getRuntimeService();
        runtimeService.deleteProcessInstance(processInstanceId, null);
        processInstancePage.refreshSelectNext();
View Full Code Here


    public DeleteClickedListener(Attachment attachment) {
      this.attachment = attachment;
    }

    public void click(ClickEvent event) {
      ConfirmationDialogPopupWindow confirm = new ConfirmationDialogPopupWindow(
        i18nManager.getMessage(Messages.RELATED_CONTENT_CONFIRM_DELETE, attachment.getName()));
     
      confirm.addListener((ConfirmationEventListener)this);
      confirm.showConfirmation();
    }
View Full Code Here

TOP

Related Classes of org.activiti.explorer.ui.custom.ConfirmationDialogPopupWindow

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.