18 package org.turro.scheduler.zul.entities;
20 import org.turro.entities.Entities;
21 import org.turro.entities.IElephantEntity;
22 import org.turro.i18n.I_;
23 import org.turro.plugin.scheduler.ScheduledAction;
24 import org.turro.plugin.scheduler.ScheduledEdit;
25 import org.turro.scheduler.entities.ScheduledEntitySet;
26 import org.turro.zkoss.dialog.SelectionDialog;
27 import org.zkoss.zk.ui.event.Event;
28 import org.zkoss.zk.ui.event.EventListener;
29 import org.zkoss.zk.ui.event.Events;
30 import org.zkoss.zul.Toolbarbutton;
38 private Object entity;
40 private String path, pathName;
62 private void initializeButton() {
63 setImage(
"/_zul/images/scheduled.png");
64 setTooltiptext(
I_.
get(
"Scheduled task"));
65 addEventListener(Events.ON_CLICK,
new EventListener() {
67 public void onEvent(Event event)
throws Exception {
static IElephantEntity getController(String path)
static String get(String msg)
static ScheduledEntity getScheduledEntity(String path)
static void showComponent(Page page, String title, Component component, String width, String height, final Command command)