* callback to addProcess(ProcessType,Date) when selected.
*/
public void addProcess(Date date, int x, int y) {
Log.debug("AddProcess(date only) " + date);
final ContextMenu menu = new ContextMenu(x, y);
ProcessTypePanel typePanel = new ProcessTypePanel(date,
new ClickListener() {
public void onClick(Widget sender) {
menu.hide();
}
});
typePanel.load(lastUser);
menu.clear();
menu.setWidget(typePanel);
menu.show();
}