blob: 0baf8427b474a4d6dce6c29cad625560ed0ea503 (
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
|
/**
* 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 Button Description</b></em>'. <!--
* end-user-doc -->
*
* <!-- begin-model-doc --> Represents a button in the user interface. <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.eef.EEFButtonDescription#getButtonLabelExpression <em>Button Label Expression</em>}</li>
* <li>{@link org.eclipse.eef.EEFButtonDescription#getImageExpression <em>Image Expression</em>}</li>
* <li>{@link org.eclipse.eef.EEFButtonDescription#getPushExpression <em>Push Expression</em>}</li>
* <li>{@link org.eclipse.eef.EEFButtonDescription#getStyle <em>Style</em>}</li>
* <li>{@link org.eclipse.eef.EEFButtonDescription#getConditionalStyles <em>Conditional Styles</em>}</li>
* </ul>
*
* @see org.eclipse.eef.EefPackage#getEEFButtonDescription()
* @model
* @generated
*/
public interface EEFButtonDescription extends EEFWidgetDescription {
/**
* Returns the value of the '<em><b>Button Label Expression</b></em>' attribute. <!-- begin-user-doc --> <!--
* end-user-doc --> <!-- begin-model-doc --> Label of the button visible in the user interface. <!-- end-model-doc
* -->
*
* @return the value of the '<em>Button Label Expression</em>' attribute.
* @see #setButtonLabelExpression(String)
* @see org.eclipse.eef.EefPackage#getEEFButtonDescription_ButtonLabelExpression()
* @model
* @generated
*/
String getButtonLabelExpression();
/**
* Sets the value of the '{@link org.eclipse.eef.EEFButtonDescription#getButtonLabelExpression
* <em>Button Label Expression</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Button Label Expression</em>' attribute.
* @see #getButtonLabelExpression()
* @generated
*/
void setButtonLabelExpression(String value);
/**
* Returns the value of the '<em><b>Image Expression</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
* --> <!-- begin-model-doc --> Image of the button visible in the user interface. <!-- end-model-doc -->
*
* @return the value of the '<em>Image Expression</em>' attribute.
* @see #setImageExpression(String)
* @see org.eclipse.eef.EefPackage#getEEFButtonDescription_ImageExpression()
* @model
* @generated
*/
String getImageExpression();
/**
* Sets the value of the '{@link org.eclipse.eef.EEFButtonDescription#getImageExpression <em>Image Expression</em>}'
* attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Image Expression</em>' attribute.
* @see #getImageExpression()
* @generated
*/
void setImageExpression(String value);
/**
* Returns the value of the '<em><b>Push Expression</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
* --> <!-- begin-model-doc --> Defines the behavior executed when the end-user pushed the button. <!--
* end-model-doc -->
*
* @return the value of the '<em>Push Expression</em>' attribute.
* @see #setPushExpression(String)
* @see org.eclipse.eef.EefPackage#getEEFButtonDescription_PushExpression()
* @model
* @generated
*/
String getPushExpression();
/**
* Sets the value of the '{@link org.eclipse.eef.EEFButtonDescription#getPushExpression <em>Push Expression</em>}'
* attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Push Expression</em>' attribute.
* @see #getPushExpression()
* @generated
*/
void setPushExpression(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 button style <!-- end-model-doc -->
*
* @return the value of the '<em>Style</em>' containment reference.
* @see #setStyle(EEFButtonStyle)
* @see org.eclipse.eef.EefPackage#getEEFButtonDescription_Style()
* @model containment="true" resolveProxies="true"
* @generated
*/
EEFButtonStyle getStyle();
/**
* Sets the value of the '{@link org.eclipse.eef.EEFButtonDescription#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(EEFButtonStyle 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.EEFButtonConditionalStyle}. <!-- begin-user-doc --> <!-- end-user-doc --> <!--
* begin-model-doc --> Defines the button 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#getEEFButtonDescription_ConditionalStyles()
* @model containment="true" resolveProxies="true"
* @generated
*/
EList<EEFButtonConditionalStyle> getConditionalStyles();
} // EEFButtonDescription
|