| /******************************************************************************* |
| * Copyright (c) 2009, 2014 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 |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Xored Software Inc - initial API and implementation and/or initial documentation |
| *******************************************************************************/ |
| package org.eclipse.rcptt.tesla.ecl.model; |
| |
| |
| import org.eclipse.emf.ecore.EObject; |
| import org.eclipse.rcptt.ecl.core.Command; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Get Property</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.rcptt.tesla.ecl.model.GetProperty#getObject <em>Object</em>}</li> |
| * <li>{@link org.eclipse.rcptt.tesla.ecl.model.GetProperty#getName <em>Name</em>}</li> |
| * <li>{@link org.eclipse.rcptt.tesla.ecl.model.GetProperty#getIndex <em>Index</em>}</li> |
| * <li>{@link org.eclipse.rcptt.tesla.ecl.model.GetProperty#isRaw <em>Raw</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.rcptt.tesla.ecl.model.TeslaPackage#getGetProperty() |
| * @model annotation="http://www.eclipse.org/ecl/docs description='Gets property of UI control. Assertion mode and assertion window can be used for discovering of actual property names' returns='Property handler for further verification (like during recording), or actual property value as string, when <code>-raw</code> option is specified' recorded='true' example='get-view Tasks | get-tree | get-property itemCount | equals 1 | verify-true'" |
| * @generated |
| */ |
| public interface GetProperty extends Command { |
| /** |
| * Returns the value of the '<em><b>Object</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Object</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Object</em>' reference. |
| * @see #setObject(EObject) |
| * @see org.eclipse.rcptt.tesla.ecl.model.TeslaPackage#getGetProperty_Object() |
| * @model required="true" |
| * annotation="http://www.eclipse.org/ecl/docs description='UI control to get property from'" |
| * @generated |
| */ |
| EObject getObject(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.rcptt.tesla.ecl.model.GetProperty#getObject <em>Object</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Object</em>' reference. |
| * @see #getObject() |
| * @generated |
| */ |
| void setObject(EObject value); |
| |
| /** |
| * Returns the value of the '<em><b>Name</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Name</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Name</em>' attribute. |
| * @see #setName(String) |
| * @see org.eclipse.rcptt.tesla.ecl.model.TeslaPackage#getGetProperty_Name() |
| * @model required="true" |
| * annotation="http://www.eclipse.org/ecl/docs description='Property name'" |
| * @generated |
| */ |
| String getName(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.rcptt.tesla.ecl.model.GetProperty#getName <em>Name</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Name</em>' attribute. |
| * @see #getName() |
| * @generated |
| */ |
| void setName(String value); |
| |
| /** |
| * Returns the value of the '<em><b>Index</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Index</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Index</em>' attribute. |
| * @see #setIndex(Integer) |
| * @see org.eclipse.rcptt.tesla.ecl.model.TeslaPackage#getGetProperty_Index() |
| * @model annotation="http://www.eclipse.org/ecl/docs description='Property index for list values'" |
| * @generated |
| */ |
| Integer getIndex(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.rcptt.tesla.ecl.model.GetProperty#getIndex <em>Index</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Index</em>' attribute. |
| * @see #getIndex() |
| * @generated |
| */ |
| void setIndex(Integer value); |
| |
| /** |
| * Returns the value of the '<em><b>Raw</b></em>' attribute. |
| * The default value is <code>"false"</code>. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Raw</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Raw</em>' attribute. |
| * @see #setRaw(boolean) |
| * @see org.eclipse.rcptt.tesla.ecl.model.TeslaPackage#getGetProperty_Raw() |
| * @model default="false" |
| * annotation="http://www.eclipse.org/ecl/docs description='When true, command returns property value\nWhen false, command returns internal property verification handle'" |
| * @generated |
| */ |
| boolean isRaw(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.rcptt.tesla.ecl.model.GetProperty#isRaw <em>Raw</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Raw</em>' attribute. |
| * @see #isRaw() |
| * @generated |
| */ |
| void setRaw(boolean value); |
| |
| } // GetProperty |