Package org.jahia.ajax.gwt.client.widget.workflow

Examples of org.jahia.ajax.gwt.client.widget.workflow.WorkflowActionDialog


                            final List<GWTJahiaPublicationInfo> infoList = entry.getValue();

                            String workflowDefinition = infoList.get(0).getWorkflowDefinition();
                            if (workflowDefinition != null) {
                                final PublicationWorkflow custom = new PublicationWorkflow(infoList);
                                new WorkflowActionDialog(infoList.get(0).getMainPath(),Messages.getWithArgs("label.workflow.start.message",
                                        "{0} started by {1} on {2} - {3} content items involved",
                                        new Object[]{result.get(workflowDefinition),JahiaGWTParameters.getCurrentUser(),DateTimeFormat.getShortDateFormat().format(new Date()),infoList.size()})
                                         , result.get(workflowDefinition),
                                        linker, custom, cards);
                            } else {
View Full Code Here


                            Button b = new Button(historyItem.<String>get("displayName"));
                            b.addSelectionListener(new SelectionListener<ButtonEvent>() {
                                public void componentSelected(ButtonEvent ce) {
                                    EnginePanel container = new EnginePanel();

                                    new WorkflowActionDialog(parent.getRunningWorkflow(), task, linker,
                                            parent.getRunningWorkflow().getCustomWorkflowInfo(), container);
                                    container.showEngine();
                                    container.addListener(Events.Close,new Listener<BaseEvent>() {
                                        public void handleEvent(BaseEvent be) {
                                            engine.show();
View Full Code Here

            if (linker instanceof ManagerLinker) {
                container = new EngineWindow();
            } else {
                container = new EnginePanel();
            }
            new WorkflowActionDialog(wf, wf.getAvailableTasks().get(0), linker, wf.getCustomWorkflowInfo(), container);
            container.showEngine();
        }
    }
View Full Code Here

                                    container = new EngineWindow();
                                } else {
                                    container = new EnginePanel();
                                }
                                EngineContainer cards = new EngineCards(container, linker);
                                new WorkflowActionDialog(selectedNode.getPath(), Messages.getWithArgs("label.workflow.start.message",
                                        "{0} started by {1} on {2} - {3} content items involved",
                                        new Object[]{workflowDefinition.getDisplayName(),JahiaGWTParameters.getCurrentUser(), DateTimeFormat.getFormat(
                                                DateTimeFormat.PredefinedFormat.DATE_TIME_SHORT).format(new Date()),result.size()})
                                         , workflowDefinition, linker,
                                        new UnpublicationWorkflow(result), cards);
View Full Code Here

                    item.addSelectionListener(new SelectionListener<MenuEvent>() {
                        @Override
                        public void componentSelected(MenuEvent ce) {
                            EngineContainer container = new EnginePanel();
                            EngineContainer cards = new EngineCards(container, linker);
                            new WorkflowActionDialog(singleSelection.getPath(),
                                    value.getDisplayName(), value, linker, null, cards);
                            cards.showEngine();
                        }
                    });
                    menu.add(item);
View Full Code Here

TOP

Related Classes of org.jahia.ajax.gwt.client.widget.workflow.WorkflowActionDialog

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.