19 package org.turro.financials.command;
21 import org.turro.elephant.context.Application;
22 import org.turro.elephant.util.Images;
23 import org.turro.financials.handshake.HandshakeList;
24 import org.turro.i18n.I_;
25 import org.turro.menu.ElephantMenu;
26 import org.turro.plugin.command.SelfSummaryPlugin;
27 import org.turro.zkoss.label.LabelTypes;
28 import org.turro.zkoss.layout.GroupboxArrow;
29 import org.zkoss.zk.ui.event.Event;
30 import org.zkoss.zk.ui.event.EventListener;
31 import org.zkoss.zk.ui.event.Events;
32 import org.zkoss.zul.Button;
33 import org.zkoss.zul.Hlayout;
34 import org.zkoss.zul.Image;
50 protected void doFillContent() {
53 Hlayout hbox =
new Hlayout();
55 hbox.setSclass(
"z-valign-middle");
56 hbox.setValign(
"middle");
60 Button visit =
new Button(
I_.
get(
"Handshakes"));
61 visit.addEventListener(Events.ON_CLICK,
new EventListener<Event>() {
63 public void onEvent(Event event) throws Exception {
64 ElephantMenu.showZulFile(
"Handshakes",
"/financials/handshake/queue.zul");
67 hbox.appendChild(visit);
Object addResult(String key, Object value)
boolean isInRole(String role)
static Application getApplication()
static String getImage(String image)
static String get(String msg)
static Label getPreLabel(String value)
static Label getSoftLabel(String value)
void setCaption(Component comp)