blob: 5c1c01585eaa1743a52868fda3b6a971e82d5762 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
/**
* Copyright (c) 2015 Obeo.
* 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.htm
* 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 Widget Description</b></em>'. <!--
* end-user-doc -->
*
* <!-- begin-model-doc --> Graphical element. <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.eef.EEFWidgetDescription#getLabelExpression <em>Label Expression</em>}</li>
* <li>{@link org.eclipse.eef.EEFWidgetDescription#getHelpExpression <em>Help Expression</em>}</li>
* <li>{@link org.eclipse.eef.EEFWidgetDescription#getIsEnabledExpression <em>Is Enabled Expression</em>}</li>
* <li>{@link org.eclipse.eef.EEFWidgetDescription#getPropertyValidationRules <em>Property Validation Rules</em>}</li>
* </ul>
*
* @see org.eclipse.eef.EefPackage#getEEFWidgetDescription()
* @model abstract="true"
* @generated
*/
public interface EEFWidgetDescription extends EEFControlDescription {
/**
* Returns the value of the '<em><b>Label Expression</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
* --> <!-- begin-model-doc --> The label of the Widget visible by the end-users. <!-- end-model-doc -->
*
* @return the value of the '<em>Label Expression</em>' attribute.
* @see #setLabelExpression(String)
* @see org.eclipse.eef.EefPackage#getEEFWidgetDescription_LabelExpression()
* @model
* @generated
*/
String getLabelExpression();
/**
* Sets the value of the '{@link org.eclipse.eef.EEFWidgetDescription#getLabelExpression <em>Label Expression</em>}'
* attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Label Expression</em>' attribute.
* @see #getLabelExpression()
* @generated
*/
void setLabelExpression(String value);
/**
* Returns the value of the '<em><b>Help Expression</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
* --> <!-- begin-model-doc --> The tooltip of the help icon visible by the end-users <!-- end-model-doc -->
*
* @return the value of the '<em>Help Expression</em>' attribute.
* @see #setHelpExpression(String)
* @see org.eclipse.eef.EefPackage#getEEFWidgetDescription_HelpExpression()
* @model
* @generated
*/
String getHelpExpression();
/**
* Sets the value of the '{@link org.eclipse.eef.EEFWidgetDescription#getHelpExpression <em>Help Expression</em>}'
* attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Help Expression</em>' attribute.
* @see #getHelpExpression()
* @generated
*/
void setHelpExpression(String value);
/**
* Returns the value of the '<em><b>Is Enabled Expression</b></em>' attribute. <!-- begin-user-doc --> <!--
* end-user-doc --> <!-- begin-model-doc --> The enablement rules to use for the widget. <!-- end-model-doc -->
*
* @return the value of the '<em>Is Enabled Expression</em>' attribute.
* @see #setIsEnabledExpression(String)
* @see org.eclipse.eef.EefPackage#getEEFWidgetDescription_IsEnabledExpression()
* @model
* @generated
*/
String getIsEnabledExpression();
/**
* Sets the value of the '{@link org.eclipse.eef.EEFWidgetDescription#getIsEnabledExpression
* <em>Is Enabled Expression</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Is Enabled Expression</em>' attribute.
* @see #getIsEnabledExpression()
* @generated
*/
void setIsEnabledExpression(String value);
/**
* Returns the value of the '<em><b>Property Validation Rules</b></em>' reference list. The list contents are of
* type {@link org.eclipse.eef.EEFPropertyValidationRuleDescription}. It is bidirectional and its opposite is '
* {@link org.eclipse.eef.EEFPropertyValidationRuleDescription#getTargets <em>Targets</em>}'. <!-- begin-user-doc
* --> <!-- end-user-doc --> <!-- begin-model-doc --> The property validation rules to use for the widget. <!--
* end-model-doc -->
*
* @return the value of the '<em>Property Validation Rules</em>' reference list.
* @see org.eclipse.eef.EefPackage#getEEFWidgetDescription_PropertyValidationRules()
* @see org.eclipse.eef.EEFPropertyValidationRuleDescription#getTargets
* @model opposite="targets"
* @generated
*/
EList<EEFPropertyValidationRuleDescription> getPropertyValidationRules();
} // EEFWidgetDescription
|