Package pl.net.bluesoft.rnd.processtool.ui.widgets.taskitem

Examples of pl.net.bluesoft.rnd.processtool.ui.widgets.taskitem.TaskItemProviderParams


        }
        return new TaskItemProviderBase(null);
    }

    private TaskItemProviderParams createTaskItemProviderParams() {
        return new TaskItemProviderParams() {
            @Override
            public Resource getImage(String image) {
                return ProcessListPane.this.getImage(image);
            }
View Full Code Here


            }
        };
    }

    protected TaskItemProviderParams getTaskItemProviderParams(ProcessToolContext ctx, TaskTableItem tti) {
        TaskItemProviderParams params = createTaskItemProviderParams();
        params.setCtx(ctx);
        params.setBpmSession(getBpmSession());
        params.setI18NSource(messageSource);
        params.setProcessInstance(tti.getTask().getProcessInstance());
        params.setTask(tti.getTask());
        params.setProcessStateConfiguration(tti.getStateConfiguration());
        params.setState(tti.getState());
        params.setQueue(null);
        return params;
    }
View Full Code Here

    @Override
    protected Component getTaskItem(final TaskTableItem tti) {
        ProcessToolContext ctx = ProcessToolContext.Util.getThreadProcessToolContext();
        ProcessInstance pi = tti.getTask().getProcessInstance();
        TaskItemProviderBase tip = getTaskItemProvider(ctx, pi);
        TaskItemProviderParams params = getTaskItemProviderParams(ctx, tti);
        params.setQueue(queue);
        return tip.getQueuePane(params);
    }
View Full Code Here

    @Override
    protected Component getTaskItem(final TaskTableItem tti) {
        ProcessToolContext ctx = ProcessToolContext.Util.getThreadProcessToolContext();
        ProcessInstance pi = tti.getTask().getProcessInstance();
        TaskItemProviderBase tip = getTaskItemProvider(ctx, pi);
        TaskItemProviderParams params = getTaskItemProviderParams(ctx, tti);
        return tip.getTaskPane(params);
    }
View Full Code Here

TOP

Related Classes of pl.net.bluesoft.rnd.processtool.ui.widgets.taskitem.TaskItemProviderParams

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.