| /** |
| * Copyright (c) 2015, 2018 Obeo. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v2.0 |
| * which accompanies this distribution, and is available at |
| * https://www.eclipse.org/legal/epl-2.0 |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: Obeo - initial API and implementation |
| */ |
| package org.eclipse.eef; |
| |
| import org.eclipse.emf.common.util.EList; |
| |
| /** |
| * <!-- begin-user-doc --> A representation of the model object '<em><b>EEF Checkbox Description</b></em>'. <!-- |
| * end-user-doc --> |
| * |
| * <!-- begin-model-doc --> Represents a checkbox used to edit a boolean property. <!-- end-model-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.eef.EEFCheckboxDescription#getValueExpression <em>Value Expression</em>}</li> |
| * <li>{@link org.eclipse.eef.EEFCheckboxDescription#getEditExpression <em>Edit Expression</em>}</li> |
| * <li>{@link org.eclipse.eef.EEFCheckboxDescription#getStyle <em>Style</em>}</li> |
| * <li>{@link org.eclipse.eef.EEFCheckboxDescription#getConditionalStyles <em>Conditional Styles</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.eef.EefPackage#getEEFCheckboxDescription() |
| * @model |
| * @generated |
| */ |
| public interface EEFCheckboxDescription extends EEFWidgetDescription { |
| /** |
| * Returns the value of the '<em><b>Value Expression</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc |
| * --> <!-- begin-model-doc --> Indicates how to display the input value. <!-- end-model-doc --> |
| * |
| * @return the value of the '<em>Value Expression</em>' attribute. |
| * @see #setValueExpression(String) |
| * @see org.eclipse.eef.EefPackage#getEEFCheckboxDescription_ValueExpression() |
| * @model |
| * @generated |
| */ |
| String getValueExpression(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.eef.EEFCheckboxDescription#getValueExpression <em>Value |
| * Expression</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> |
| * |
| * @param value |
| * the new value of the '<em>Value Expression</em>' attribute. |
| * @see #getValueExpression() |
| * @generated |
| */ |
| void setValueExpression(String value); |
| |
| /** |
| * Returns the value of the '<em><b>Edit Expression</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc |
| * --> <!-- begin-model-doc --> Defines the behavior executed when the end-user updates the value of the checkbox |
| * field. <!-- end-model-doc --> |
| * |
| * @return the value of the '<em>Edit Expression</em>' attribute. |
| * @see #setEditExpression(String) |
| * @see org.eclipse.eef.EefPackage#getEEFCheckboxDescription_EditExpression() |
| * @model |
| * @generated |
| */ |
| String getEditExpression(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.eef.EEFCheckboxDescription#getEditExpression <em>Edit Expression</em>}' |
| * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> |
| * |
| * @param value |
| * the new value of the '<em>Edit Expression</em>' attribute. |
| * @see #getEditExpression() |
| * @generated |
| */ |
| void setEditExpression(String value); |
| |
| /** |
| * Returns the value of the '<em><b>Style</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc |
| * --> <!-- begin-model-doc --> Defines the checkbox style <!-- end-model-doc --> |
| * |
| * @return the value of the '<em>Style</em>' containment reference. |
| * @see #setStyle(EEFCheckboxStyle) |
| * @see org.eclipse.eef.EefPackage#getEEFCheckboxDescription_Style() |
| * @model containment="true" resolveProxies="true" |
| * @generated |
| */ |
| EEFCheckboxStyle getStyle(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.eef.EEFCheckboxDescription#getStyle <em>Style</em>}' containment |
| * reference. <!-- begin-user-doc --> <!-- end-user-doc --> |
| * |
| * @param value |
| * the new value of the '<em>Style</em>' containment reference. |
| * @see #getStyle() |
| * @generated |
| */ |
| void setStyle(EEFCheckboxStyle value); |
| |
| /** |
| * Returns the value of the '<em><b>Conditional Styles</b></em>' containment reference list. The list contents are |
| * of type {@link org.eclipse.eef.EEFCheckboxConditionalStyle}. <!-- begin-user-doc --> <!-- end-user-doc --> <!-- |
| * begin-model-doc --> Defines the checkbox style associated to a precondition <!-- end-model-doc --> |
| * |
| * @return the value of the '<em>Conditional Styles</em>' containment reference list. |
| * @see org.eclipse.eef.EefPackage#getEEFCheckboxDescription_ConditionalStyles() |
| * @model containment="true" resolveProxies="true" |
| * @generated |
| */ |
| EList<EEFCheckboxConditionalStyle> getConditionalStyles(); |
| |
| } // EEFCheckboxDescription |