1 /*******************************************************************************
2 * Copyright (c) 2011 Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * Bernd Hufmann - Initial API and implementation
11 *******************************************************************************/
12 package org
.eclipse
.linuxtools
.lttng
.ui
.views
.latency
.listeners
;
14 import org
.eclipse
.swt
.events
.MouseEvent
;
15 import org
.eclipse
.swt
.events
.MouseListener
;
18 * <b><u>AbstractMouseListener</u></b>
21 public abstract class AbstractMouseListener
implements MouseListener
{
23 // ------------------------------------------------------------------------
25 // ------------------------------------------------------------------------
30 protected int fMouseX
;
35 protected int fMouseY
;
37 // ------------------------------------------------------------------------
39 // ------------------------------------------------------------------------
41 // ------------------------------------------------------------------------
43 // ------------------------------------------------------------------------
45 // ------------------------------------------------------------------------
47 // ------------------------------------------------------------------------
51 * @see org.eclipse.swt.events.MouseListener#mouseDoubleClick(org.eclipse.swt.events.MouseEvent)
54 public void mouseDoubleClick(MouseEvent e
) {
59 * @see org.eclipse.swt.events.MouseListener#mouseDown(org.eclipse.swt.events.MouseEvent)
62 public void mouseDown(MouseEvent e
) {
70 * @see org.eclipse.swt.events.MouseListener#mouseUp(org.eclipse.swt.events.MouseEvent)
73 public void mouseUp(MouseEvent e
) {
77 * Callback to display information at the current x-y position
79 protected abstract void display();
This page took 0.031487 seconds and 5 git commands to generate.