blob: e6745d0d68d272f3b897c39946b0f80b730b0257 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009, 2019 Xored Software Inc and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* Xored Software Inc - initial API and implementation and/or initial documentation
*******************************************************************************/
package org.eclipse.rcptt.tesla.core.protocol;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Mouse Event</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.rcptt.tesla.core.protocol.MouseEvent#getKind <em>Kind</em>}</li>
* <li>{@link org.eclipse.rcptt.tesla.core.protocol.MouseEvent#getButton <em>Button</em>}</li>
* <li>{@link org.eclipse.rcptt.tesla.core.protocol.MouseEvent#getStateMask <em>State Mask</em>}</li>
* <li>{@link org.eclipse.rcptt.tesla.core.protocol.MouseEvent#getCount <em>Count</em>}</li>
* <li>{@link org.eclipse.rcptt.tesla.core.protocol.MouseEvent#getX <em>X</em>}</li>
* <li>{@link org.eclipse.rcptt.tesla.core.protocol.MouseEvent#getY <em>Y</em>}</li>
* </ul>
*
* @see org.eclipse.rcptt.tesla.core.protocol.ProtocolPackage#getMouseEvent()
* @model
* @generated
*/
public interface MouseEvent extends ElementCommand {
/**
* Returns the value of the '<em><b>Kind</b></em>' attribute.
* The literals are from the enumeration {@link org.eclipse.rcptt.tesla.core.protocol.MouseEventKind}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Kind</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Kind</em>' attribute.
* @see org.eclipse.rcptt.tesla.core.protocol.MouseEventKind
* @see #setKind(MouseEventKind)
* @see org.eclipse.rcptt.tesla.core.protocol.ProtocolPackage#getMouseEvent_Kind()
* @model
* @generated
*/
MouseEventKind getKind();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.core.protocol.MouseEvent#getKind <em>Kind</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Kind</em>' attribute.
* @see org.eclipse.rcptt.tesla.core.protocol.MouseEventKind
* @see #getKind()
* @generated
*/
void setKind(MouseEventKind value);
/**
* Returns the value of the '<em><b>Button</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Button</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Button</em>' attribute.
* @see #setButton(int)
* @see org.eclipse.rcptt.tesla.core.protocol.ProtocolPackage#getMouseEvent_Button()
* @model
* @generated
*/
int getButton();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.core.protocol.MouseEvent#getButton <em>Button</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Button</em>' attribute.
* @see #getButton()
* @generated
*/
void setButton(int value);
/**
* Returns the value of the '<em><b>State Mask</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>State Mask</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>State Mask</em>' attribute.
* @see #setStateMask(int)
* @see org.eclipse.rcptt.tesla.core.protocol.ProtocolPackage#getMouseEvent_StateMask()
* @model
* @generated
*/
int getStateMask();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.core.protocol.MouseEvent#getStateMask <em>State Mask</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>State Mask</em>' attribute.
* @see #getStateMask()
* @generated
*/
void setStateMask(int value);
/**
* Returns the value of the '<em><b>Count</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Count</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Count</em>' attribute.
* @see #setCount(int)
* @see org.eclipse.rcptt.tesla.core.protocol.ProtocolPackage#getMouseEvent_Count()
* @model
* @generated
*/
int getCount();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.core.protocol.MouseEvent#getCount <em>Count</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Count</em>' attribute.
* @see #getCount()
* @generated
*/
void setCount(int value);
/**
* Returns the value of the '<em><b>X</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>X</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>X</em>' attribute.
* @see #setX(int)
* @see org.eclipse.rcptt.tesla.core.protocol.ProtocolPackage#getMouseEvent_X()
* @model
* @generated
*/
int getX();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.core.protocol.MouseEvent#getX <em>X</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>X</em>' attribute.
* @see #getX()
* @generated
*/
void setX(int value);
/**
* Returns the value of the '<em><b>Y</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Y</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Y</em>' attribute.
* @see #setY(int)
* @see org.eclipse.rcptt.tesla.core.protocol.ProtocolPackage#getMouseEvent_Y()
* @model
* @generated
*/
int getY();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.core.protocol.MouseEvent#getY <em>Y</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Y</em>' attribute.
* @see #getY()
* @generated
*/
void setY(int value);
} // MouseEvent