- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 43 of file TaskViewVM.java.
◆ TaskViewVM()
org.turro.dossier.task.TaskViewVM.TaskViewVM |
( |
| ) |
|
Definition at line 49 of file TaskViewVM.java.
50 Application app = Application.getApplication();
51 show = app.isInRole(
"issue:show");
52 all = app.isInRole(
"issue:all");
53 addNew = app.isInRole(
"issue:new");
◆ addInformation()
void org.turro.dossier.task.TaskViewVM.addInformation |
( |
@BindingParam("issue") Issue |
issue | ) |
|
Definition at line 96 of file TaskViewVM.java.
97 if(show && (all || issue.getFullParticipants().isParticipant())) {
98 DossierMenu.addInformation(issue, (Context context) -> {
99 BindUtils.postNotifyChange(
null,
null,
TaskViewVM.this,
"model");
◆ addIssue()
void org.turro.dossier.task.TaskViewVM.addIssue |
( |
| ) |
|
Definition at line 106 of file TaskViewVM.java.
108 DossierMenu.addDossierInformation(dossier, (Context context) -> {
109 BindUtils.postNotifyChange(
null,
null,
TaskViewVM.this,
"model");
◆ getDossier()
Dossier org.turro.dossier.task.TaskViewVM.getDossier |
( |
| ) |
|
◆ getModel()
Collection<TaskItem> org.turro.dossier.task.TaskViewVM.getModel |
( |
| ) |
|
Definition at line 123 of file TaskViewVM.java.
124 if(dossier !=
null) {
125 return Tasks.from(dossier, onlyOpen,
true).getFilledFlat();
127 return Collections.EMPTY_LIST;
◆ onlyOpen()
void org.turro.dossier.task.TaskViewVM.onlyOpen |
( |
@BindingParam("onlyOpen") Boolean |
onlyOpen | ) |
|
◆ selectDossier()
void org.turro.dossier.task.TaskViewVM.selectDossier |
( |
@BindingParam("dossier") Dossier |
dossier | ) |
|
◆ setDossier()
void org.turro.dossier.task.TaskViewVM.setDossier |
( |
Dossier |
dossier | ) |
|
◆ showAttachments()
void org.turro.dossier.task.TaskViewVM.showAttachments |
( |
@BindingParam("issue") Issue |
issue | ) |
|
Definition at line 86 of file TaskViewVM.java.
87 if(show && (all || issue.getFullParticipants().isParticipant())) {
88 AttachmentControl ac =
new AttachmentControl();
90 SelectionDialog.showComponent(Framework.getCurrent().getPage(), I_.get(
"Attachments"),
91 ac,
"80%",
"80%",
null);
◆ showInfo()
void org.turro.dossier.task.TaskViewVM.showInfo |
( |
@BindingParam("taskItem") TaskItem |
taskItem, |
|
|
@BindingParam("component") Component |
component, |
|
|
@BindingParam("position") String |
position |
|
) |
| |
Definition at line 57 of file TaskViewVM.java.
59 if(show && (all || taskItem.getIssue().getFullParticipants().isParticipant())) {
60 DossiersInfo.popup(taskItem.getIssue());
◆ showIssue()
void org.turro.dossier.task.TaskViewVM.showIssue |
( |
@BindingParam("issue") Issue |
issue | ) |
|
Definition at line 65 of file TaskViewVM.java.
66 DossierMenu.showIssue(issue.getId());
◆ update()
void org.turro.dossier.task.TaskViewVM.update |
( |
| ) |
|
The documentation for this class was generated from the following file: