◆ afterCompose()
void org.turro.crm.zul.activity.ActivityButton.afterCompose |
( |
| ) |
|
Definition at line 46 of file ActivityButton.java.
47 setImage(Images.getImage(
"activity"));
48 setTooltiptext(I_.get(
"Activity"));
49 addEventListener(Events.ON_CLICK,
new EventListener<Event>() {
51 public void onEvent(Event event) throws Exception {
52 if(entity instanceof Vendor) {
53 CrmMenu.showActivity((Vendor) entity, null, null);
54 } else if(entity instanceof Customer) {
55 CrmMenu.showActivity(null, (Customer) entity, null);
56 } else if(entity instanceof SaleProspect) {
57 CrmMenu.showActivity(null, null, (SaleProspect) entity);
◆ setEntity()
void org.turro.crm.zul.activity.ActivityButton.setEntity |
( |
Object |
entity | ) |
|
The documentation for this class was generated from the following file: