Java Code Examples for org.eclipse.swt.events.MouseListener#mouseDoubleClick()

The following examples show how to use org.eclipse.swt.events.MouseListener#mouseDoubleClick() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DayEditorCalendarableItemControl.java    From nebula with Eclipse Public License 2.0 5 votes vote down vote up
public void mouseDoubleClick(MouseEvent e) {
	e.widget = DayEditorCalendarableItemControl.this;
	for (Iterator listenerIter = mouseListeners.iterator(); listenerIter.hasNext();) {
		MouseListener l = (MouseListener) listenerIter.next();
		l.mouseDoubleClick(e);
	}
}
 
Example 2
Source File: MonthCalendar.java    From nebula with Eclipse Public License 2.0 5 votes vote down vote up
public void mouseDoubleClick(MouseEvent e) {
	Day day = getDay(e);
	Point coordinates = day.getMonthPosition();
	e.data = new MonthCalendarSelectedDay(day.getDate(), coordinates);

	for (Iterator<MouseListener> mouseListenersIter = mouseListeners.iterator(); mouseListenersIter.hasNext();) {
		MouseListener listener = (MouseListener) mouseListenersIter.next();
		listener.mouseDoubleClick(e);
	}
}
 
Example 3
Source File: CompositeTable.java    From nebula with Eclipse Public License 2.0 4 votes vote down vote up
void fireMouseDouble(MouseEvent e) {
    for (Iterator i = mouseListeners.iterator(); i.hasNext();) {
        MouseListener l = (MouseListener) i.next();
        l.mouseDoubleClick(e);
    }
}
 
Example 4
Source File: DayEditor.java    From nebula with Eclipse Public License 2.0 4 votes vote down vote up
protected void fireMouseDoubleClickEvent(MouseEvent e) {
	for (Iterator<MouseListener> i = mouseListeners.iterator(); i.hasNext();) {
		MouseListener mouseListener = i.next();
		mouseListener.mouseDoubleClick(e);
	}
}
 
Example 5
Source File: Day.java    From nebula with Eclipse Public License 2.0 4 votes vote down vote up
public void mouseDoubleClick(MouseEvent e) {
	for (Iterator<MouseListener> i = mouseListeners.iterator(); i.hasNext();) {
		MouseListener listener = (MouseListener) i.next();
		listener.mouseDoubleClick(e);
	}
}