Description of the new feature:
Please add the getClicked() method to the event TimeBlockClickEvent. This would
allow me to understand where on the screen the person clicked so I can pop-up
the add a new event dialog next to their mouse cursor.
Use Case:
Used when someone clicks on an empty date and time section.
Code / psuedo-code:
import
com.bradrydzewski.gwt.calendar.client.event.TimeBlockClickEvent;
import
com.bradrydzewski.gwt.calendar.client.event.TimeBlockClickHandler;
import com.google.gwt.dom.client.NativeEvent;
import com.google.gwt.event.shared.GwtEvent;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.Event;
import com.google.gwt.user.client.Window;
public class TimeBlockClickHandlerImpl<S> implements
TimeBlockClickHandler<Date> {
public void onTimeBlockClick(TimeBlockClickEvent<Date> event) {
Element label = (Element)event.getClicked();
}
Original issue reported on code.google.com by shaun.cl...@solestruck.com on 2 Jul 2010 at 12:02
Original issue reported on code.google.com by
shaun.cl...@solestruck.com
on 2 Jul 2010 at 12:02