|
Public Member Functions inherited from org.turro.plugin.command.SelfSummaryPlugin |
| | SelfSummaryPlugin () |
| |
| | SelfSummaryPlugin () |
| |
Public Member Functions inherited from org.turro.plugin.command.SummaryPlugin |
| | SummaryPlugin (String name) |
| |
| String | getName () |
| |
| boolean | stopPropagating () |
| |
| void | execute () |
| |
| | SummaryPlugin (String name) |
| |
| String | getName () |
| |
| boolean | stopsPropagating () |
| |
| void | setParams (Object params) |
| |
| Object | execute (Context context) |
| |
| void | setContext (Map< String, Object > params, Map< String, Object > results) |
| |
| Object | getParam (String key) |
| |
| boolean | itsMe (String name) |
| |
| Object | addResult (String key, Object value) |
| |
Static Public Member Functions inherited from org.turro.plugin.command.SelfSummaryPlugin |
| static Collection< Object > | getSummaryFor (IContact contact) |
| |
| static Collection< Object > | getSummaryFor (Application app, IContact contact) |
| |
Static Public Member Functions inherited from org.turro.plugin.command.SummaryPlugin |
| static Collection< Object > | getSummaryFor (IContact contact, String name) |
| |
| static Collection< Object > | getSummaryFor (Application app, IContact contact, String name) |
| |
Static Public Attributes inherited from org.turro.plugin.command.SelfSummaryPlugin |
| static final String | NAME = "SelfSummary" |
| |
Protected Attributes inherited from org.turro.plugin.command.SummaryPlugin |
| String | name |
| |
| IContact | contact |
| |
| Collection< Object > | result |
| |
| Map< String, Object > | params |
| |
| Map< String, Object > | results |
| |
◆ executePlugin()
| void org.turro.financials.command.HandshakeSelfSummary.executePlugin |
( |
| ) |
|
|
protected |
Reimplemented from org.turro.plugin.command.SummaryPlugin.
Definition at line 43 of file HandshakeSelfSummary.java.
44 Application app = Application.getApplication();
45 if(app.isInRole(
"document:list")) {
46 int pending = HandshakeList.count();
48 GroupboxArrow gba =
new GroupboxArrow() {
50 protected void doFillContent() {
53 Hlayout hbox =
new Hlayout();
55 hbox.setSclass(
"z-valign-middle");
56 hbox.setValign(
"middle");
57 hbox.appendChild(
new Image(Images.getImage(
"handshake")));
58 hbox.appendChild(LabelTypes.getSoftLabel(I_.get(
"Handshakes") +
":"));
59 hbox.appendChild(LabelTypes.getPreLabel(pending +
""));
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)
The documentation for this class was generated from the following file: