| /******************************************************************************* |
| * 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.ui; |
| |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Button</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.rcptt.tesla.core.ui.Button#getCaption <em>Caption</em>}</li> |
| * <li>{@link org.eclipse.rcptt.tesla.core.ui.Button#getTooltip <em>Tooltip</em>}</li> |
| * <li>{@link org.eclipse.rcptt.tesla.core.ui.Button#isSelected <em>Selected</em>}</li> |
| * <li>{@link org.eclipse.rcptt.tesla.core.ui.Button#isGrayed <em>Grayed</em>}</li> |
| * <li>{@link org.eclipse.rcptt.tesla.core.ui.Button#getKind <em>Kind</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.rcptt.tesla.core.ui.UiPackage#getButton() |
| * @model |
| * @generated |
| */ |
| public interface Button extends Control, WithImage { |
| /** |
| * Returns the value of the '<em><b>Caption</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Caption</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Caption</em>' attribute. |
| * @see #setCaption(String) |
| * @see org.eclipse.rcptt.tesla.core.ui.UiPackage#getButton_Caption() |
| * @model |
| * @generated |
| */ |
| String getCaption(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.rcptt.tesla.core.ui.Button#getCaption <em>Caption</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Caption</em>' attribute. |
| * @see #getCaption() |
| * @generated |
| */ |
| void setCaption(String value); |
| |
| /** |
| * Returns the value of the '<em><b>Tooltip</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Tooltip</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Tooltip</em>' attribute. |
| * @see #setTooltip(String) |
| * @see org.eclipse.rcptt.tesla.core.ui.UiPackage#getButton_Tooltip() |
| * @model |
| * @generated |
| */ |
| String getTooltip(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.rcptt.tesla.core.ui.Button#getTooltip <em>Tooltip</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Tooltip</em>' attribute. |
| * @see #getTooltip() |
| * @generated |
| */ |
| void setTooltip(String value); |
| |
| /** |
| * Returns the value of the '<em><b>Selected</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Selected</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Selected</em>' attribute. |
| * @see #setSelected(boolean) |
| * @see org.eclipse.rcptt.tesla.core.ui.UiPackage#getButton_Selected() |
| * @model |
| * @generated |
| */ |
| boolean isSelected(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.rcptt.tesla.core.ui.Button#isSelected <em>Selected</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Selected</em>' attribute. |
| * @see #isSelected() |
| * @generated |
| */ |
| void setSelected(boolean value); |
| |
| /** |
| * Returns the value of the '<em><b>Grayed</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Grayed</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Grayed</em>' attribute. |
| * @see #setGrayed(boolean) |
| * @see org.eclipse.rcptt.tesla.core.ui.UiPackage#getButton_Grayed() |
| * @model |
| * @generated |
| */ |
| boolean isGrayed(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.rcptt.tesla.core.ui.Button#isGrayed <em>Grayed</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Grayed</em>' attribute. |
| * @see #isGrayed() |
| * @generated |
| */ |
| void setGrayed(boolean value); |
| |
| /** |
| * Returns the value of the '<em><b>Kind</b></em>' attribute. |
| * The literals are from the enumeration {@link org.eclipse.rcptt.tesla.core.ui.ButtonKind}. |
| * <!-- 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.ui.ButtonKind |
| * @see #setKind(ButtonKind) |
| * @see org.eclipse.rcptt.tesla.core.ui.UiPackage#getButton_Kind() |
| * @model |
| * @generated |
| */ |
| ButtonKind getKind(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.rcptt.tesla.core.ui.Button#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.ui.ButtonKind |
| * @see #getKind() |
| * @generated |
| */ |
| void setKind(ButtonKind value); |
| |
| } // Button |