18 package org.turro.dossier.zul.issue;
20 import org.turro.string.Strings;
21 import org.turro.dossier.entity.Issue;
22 import org.turro.dossier.issue.IssueWrapper;
23 import org.turro.dossier.zul.menu.DossierMenu;
24 import org.turro.elephant.context.Application;
25 import org.turro.i18n.I_;
26 import org.zkoss.zk.ui.event.Event;
27 import org.zkoss.zk.ui.event.EventListener;
28 import org.zkoss.zk.ui.event.Events;
29 import org.zkoss.zk.ui.ext.AfterCompose;
30 import org.zkoss.zul.A;
36 public class IssueLabel extends A implements AfterCompose {
51 if(Strings.isBlank(getLabel())) {
52 setLabel(
I_.
get(
"No description!"));
54 setImage(
"/_zul/images/issue.png");
57 private void addClickListener() {
58 addEventListener(Events.ON_CLICK,
new EventListener() {
60 public void onEvent(Event event)
throws Exception {
boolean isFullParticipant()
void setIssue(Issue issue)
boolean isInRole(String role)
static Application getApplication()
static String get(String msg)