19 package org.turro.dossier.task;
21 import java.util.Collection;
22 import java.util.Collections;
23 import org.turro.attach.zul.control.AttachmentControl;
24 import org.turro.command.Context;
25 import org.turro.dossier.entity.Issue;
26 import org.turro.dossier.util.DossiersInfo;
27 import org.turro.dossier.zul.menu.DossierMenu;
28 import org.turro.elephant.context.Application;
29 import org.turro.i18n.I_;
30 import org.turro.zkoss.dialog.SelectionDialog;
31 import org.turro.zul.frame.Framework;
32 import org.zkoss.bind.BindUtils;
33 import org.zkoss.bind.annotation.BindingParam;
34 import org.zkoss.bind.annotation.Command;
35 import org.zkoss.bind.annotation.ExecutionArgParam;
36 import org.zkoss.bind.annotation.Init;
37 import org.zkoss.bind.annotation.NotifyChange;
38 import org.zkoss.zk.ui.Component;
46 private final boolean show, all, addNew;
57 public void init(@ExecutionArgParam(
"issue")
Issue issue) {
63 @BindingParam(
"component") Component component, @BindingParam(
"position") String position) {
74 @NotifyChange(
"model")
84 ac,
"80%",
"80%",
null);
92 BindUtils.postNotifyChange(
null,
null,
SubtaskViewVM.this,
"model");
102 BindUtils.postNotifyChange(
null,
null,
SubtaskViewVM.this,
"model");
112 return Collections.EMPTY_LIST;
void setEntity(Object entity)
ParticipantSet getFullParticipants()
void init(@ExecutionArgParam("issue") Issue issue)
void showIssue(@BindingParam("issue") Issue issue)
void showInfo(@BindingParam("taskItem") TaskItem taskItem, @BindingParam("component") Component component, @BindingParam("position") String position)
Collection< TaskItem > getModel()
void addSubtask(@BindingParam("issue") Issue issue)
void addInformation(@BindingParam("issue") Issue issue)
void showAttachments(@BindingParam("issue") Issue issue)
static Tasks from(Dossier dossier, boolean onlyOpen, boolean sameDossier)
Collection< TaskItem > getFilledFlat()
static void popup(Issue issue)
boolean isInRole(String role)
static Application getApplication()
static String get(String msg)
static void showComponent(Page page, String title, Component component, String width, String height, final Command command)
static Framework getCurrent()