Skip to content

Package: VTableControl

VTableControl

Coverage

1: /**
2: * Copyright (c) 2011-2013 EclipseSource Muenchen GmbH and others.
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License 2.0
6: * which accompanies this distribution, and is available at
7: * https://www.eclipse.org/legal/epl-2.0/
8: *
9: * SPDX-License-Identifier: EPL-2.0
10: *
11: * Contributors:
12: * Eugen Neufeld - initial API and implementation
13: */
14: package org.eclipse.emf.ecp.view.spi.table.model;
15:
16: import org.eclipse.emf.common.util.EList;
17: import org.eclipse.emf.ecp.view.spi.model.VControl;
18: import org.eclipse.emf.ecp.view.spi.model.VView;
19:
20: /**
21: * <!-- begin-user-doc -->
22: * A representation of the model object '<em><b>Control</b></em>'.
23: * <!-- end-user-doc -->
24: *
25: * <p>
26: * The following features are supported:
27: * </p>
28: * <ul>
29: * <li>{@link org.eclipse.emf.ecp.view.spi.table.model.VTableControl#isAddRemoveDisabled <em>Add Remove
30: * Disabled</em>}</li>
31: * <li>{@link org.eclipse.emf.ecp.view.spi.table.model.VTableControl#isMoveUpDownDisabled <em>Move Up Down
32: * Disabled</em>}</li>
33: * <li>{@link org.eclipse.emf.ecp.view.spi.table.model.VTableControl#getColumnConfigurations <em>Column
34: * Configurations</em>}</li>
35: * <li>{@link org.eclipse.emf.ecp.view.spi.table.model.VTableControl#getDetailEditing <em>Detail Editing</em>}</li>
36: * <li>{@link org.eclipse.emf.ecp.view.spi.table.model.VTableControl#getDetailView <em>Detail View</em>}</li>
37: * <li>{@link org.eclipse.emf.ecp.view.spi.table.model.VTableControl#isEnableDetailEditingDialog <em>Enable Detail
38: * Editing Dialog</em>}</li>
39: * <li>{@link org.eclipse.emf.ecp.view.spi.table.model.VTableControl#isDuplicateDisabled <em>Duplicate
40: * Disabled</em>}</li>
41: * </ul>
42: *
43: * @see org.eclipse.emf.ecp.view.spi.table.model.VTablePackage#getTableControl()
44: * @model annotation="http://www.eclipse.org/emf/2002/Ecore constraints='resolveable'"
45: * @generated
46: */
47: public interface VTableControl extends VControl {
48:         /**
49:          * Returns the value of the '<em><b>Add Remove Disabled</b></em>' attribute.
50:          * The default value is <code>"false"</code>.
51:          * <!-- begin-user-doc -->
52:          * <p>
53:          * If the meaning of the '<em>Add Remove Disabled</em>' attribute isn't clear, there really should be more of a
54:          * description here...
55:          * </p>
56:          * <!-- end-user-doc -->
57:          *
58:          * @return the value of the '<em>Add Remove Disabled</em>' attribute.
59:          * @see #setAddRemoveDisabled(boolean)
60:          * @see org.eclipse.emf.ecp.view.spi.table.model.VTablePackage#getTableControl_AddRemoveDisabled()
61:          * @model default="false" required="true"
62:          * @generated
63:          */
64:         boolean isAddRemoveDisabled();
65:
66:         /**
67:          * Sets the value of the '{@link org.eclipse.emf.ecp.view.spi.table.model.VTableControl#isAddRemoveDisabled <em>Add
68:          * Remove Disabled</em>}' attribute.
69:          * <!-- begin-user-doc -->
70:          * <!-- end-user-doc -->
71:          *
72:          * @param value the new value of the '<em>Add Remove Disabled</em>' attribute.
73:          * @see #isAddRemoveDisabled()
74:          * @generated
75:          */
76:         void setAddRemoveDisabled(boolean value);
77:
78:         /**
79:          * Returns the value of the '<em><b>Move Up Down Disabled</b></em>' attribute.
80:          * The default value is <code>"true"</code>.
81:          * <!-- begin-user-doc -->
82:          * <p>
83:          * If the meaning of the '<em>Move Up Down Disabled</em>' attribute isn't clear,
84:          * there really should be more of a description here...
85:          * </p>
86:          * <!-- end-user-doc -->
87:          *
88:          * @return the value of the '<em>Move Up Down Disabled</em>' attribute.
89:          * @see #setMoveUpDownDisabled(boolean)
90:          * @see org.eclipse.emf.ecp.view.spi.table.model.VTablePackage#getTableControl_MoveUpDownDisabled()
91:          * @model default="true" required="true"
92:          * @generated
93:          */
94:         boolean isMoveUpDownDisabled();
95:
96:         /**
97:          * Sets the value of the '{@link org.eclipse.emf.ecp.view.spi.table.model.VTableControl#isMoveUpDownDisabled
98:          * <em>Move Up Down Disabled</em>}' attribute.
99:          * <!-- begin-user-doc -->
100:          * <!-- end-user-doc -->
101:          *
102:          * @param value the new value of the '<em>Move Up Down Disabled</em>' attribute.
103:          * @see #isMoveUpDownDisabled()
104:          * @generated
105:          */
106:         void setMoveUpDownDisabled(boolean value);
107:
108:         /**
109:          * Returns the value of the '<em><b>Column Configurations</b></em>' containment reference list.
110:          * The list contents are of type {@link org.eclipse.emf.ecp.view.spi.table.model.VTableColumnConfiguration}.
111:          * <!-- begin-user-doc -->
112:          * <p>
113:          * If the meaning of the '<em>Column Configurations</em>' containment reference list isn't clear, there really
114:          * should be more of a description here...
115:          * </p>
116:          * <!-- end-user-doc -->
117:          *
118:          * @return the value of the '<em>Column Configurations</em>' containment reference list.
119:          * @see org.eclipse.emf.ecp.view.spi.table.model.VTablePackage#getTableControl_ColumnConfigurations()
120:          * @model containment="true"
121:          * @generated
122:          */
123:         EList<VTableColumnConfiguration> getColumnConfigurations();
124:
125:         /**
126:          * Returns the value of the '<em><b>Detail Editing</b></em>' attribute.
127:          * The default value is <code>"None"</code>.
128:          * The literals are from the enumeration {@link org.eclipse.emf.ecp.view.spi.table.model.DetailEditing}.
129:          * <!-- begin-user-doc -->
130:          * <p>
131:          * If the meaning of the '<em>Detail Editing</em>' attribute isn't clear, there really should be more of a
132:          * description here...
133:          * </p>
134:          * <!-- end-user-doc -->
135:          *
136:          * @return the value of the '<em>Detail Editing</em>' attribute.
137:          * @see org.eclipse.emf.ecp.view.spi.table.model.DetailEditing
138:          * @see #setDetailEditing(DetailEditing)
139:          * @see org.eclipse.emf.ecp.view.spi.table.model.VTablePackage#getTableControl_DetailEditing()
140:          * @model default="None" required="true"
141:          * @generated
142:          */
143:         DetailEditing getDetailEditing();
144:
145:         /**
146:          * Sets the value of the '{@link org.eclipse.emf.ecp.view.spi.table.model.VTableControl#getDetailEditing <em>Detail
147:          * Editing</em>}' attribute.
148:          * <!-- begin-user-doc -->
149:          * <!-- end-user-doc -->
150:          *
151:          * @param value the new value of the '<em>Detail Editing</em>' attribute.
152:          * @see org.eclipse.emf.ecp.view.spi.table.model.DetailEditing
153:          * @see #getDetailEditing()
154:          * @generated
155:          */
156:         void setDetailEditing(DetailEditing value);
157:
158:         /**
159:          * Returns the value of the '<em><b>Detail View</b></em>' containment reference.
160:          * <!-- begin-user-doc -->
161:          * <p>
162:          * If the meaning of the '<em>Detail View</em>' containment reference isn't clear, there really should be more of a
163:          * description here...
164:          * </p>
165:          * <!-- end-user-doc -->
166:          *
167:          * @return the value of the '<em>Detail View</em>' containment reference.
168:          * @see #setDetailView(VView)
169:          * @see org.eclipse.emf.ecp.view.spi.table.model.VTablePackage#getTableControl_DetailView()
170:          * @model containment="true"
171:          * @generated
172:          */
173:         VView getDetailView();
174:
175:         /**
176:          * Sets the value of the '{@link org.eclipse.emf.ecp.view.spi.table.model.VTableControl#getDetailView <em>Detail
177:          * View</em>}' containment reference.
178:          * <!-- begin-user-doc -->
179:          * <!-- end-user-doc -->
180:          *
181:          * @param value the new value of the '<em>Detail View</em>' containment reference.
182:          * @see #getDetailView()
183:          * @generated
184:          */
185:         void setDetailView(VView value);
186:
187:         /**
188:          * Returns the value of the '<em><b>Enable Detail Editing Dialog</b></em>' attribute.
189:          * The default value is <code>"false"</code>.
190:          * <!-- begin-user-doc -->
191:          * <p>
192:          * If the meaning of the '<em>Enable Detail Editing Dialog</em>' attribute isn't clear, there really should be more
193:          * of a description here...
194:          * </p>
195:          *
196:          * @deprecated
197:          *                         <!-- end-user-doc -->
198:          * @return the value of the '<em>Enable Detail Editing Dialog</em>' attribute.
199:          * @see #setEnableDetailEditingDialog(boolean)
200:          * @see org.eclipse.emf.ecp.view.spi.table.model.VTablePackage#getTableControl_EnableDetailEditingDialog()
201:          * @model default="false"
202:          * @generated
203:          */
204:         @Deprecated
205:         boolean isEnableDetailEditingDialog();
206:
207:         /**
208:          * Sets the value of the '{@link org.eclipse.emf.ecp.view.spi.table.model.VTableControl#isEnableDetailEditingDialog
209:          * <em>Enable Detail Editing Dialog</em>}' attribute.
210:          * <!-- begin-user-doc -->
211:          *
212:          * @deprecated
213:          *                         <!-- end-user-doc -->
214:          * @param value the new value of the '<em>Enable Detail Editing Dialog</em>' attribute.
215:          * @see #isEnableDetailEditingDialog()
216:          * @generated
217:          */
218:         @Deprecated
219:         void setEnableDetailEditingDialog(boolean value);
220:
221:         /**
222:          * Returns the value of the '<em><b>Duplicate Disabled</b></em>' attribute.
223:          * The default value is <code>"true"</code>.
224:          * <!-- begin-user-doc -->
225:          * <p>
226:          * If the meaning of the '<em>Duplicate Disabled</em>' attribute isn't clear,
227:          * there really should be more of a description here...
228:          * </p>
229:          *
230:          * @since 1.18
231:          * <!-- end-user-doc -->
232:          *
233:          * @return the value of the '<em>Duplicate Disabled</em>' attribute.
234:          * @see #setDuplicateDisabled(boolean)
235:          * @see org.eclipse.emf.ecp.view.spi.table.model.VTablePackage#getTableControl_DuplicateDisabled()
236:          * @model default="true"
237:          * @generated
238:          *
239:          */
240:         boolean isDuplicateDisabled();
241:
242:         /**
243:          * Sets the value of the '{@link org.eclipse.emf.ecp.view.spi.table.model.VTableControl#isDuplicateDisabled
244:          * <em>Duplicate Disabled</em>}' attribute.
245:          * <!-- begin-user-doc -->
246:          *
247:          * @since 1.18
248:          * <!-- end-user-doc -->
249:          *
250:          * @param value the new value of the '<em>Duplicate Disabled</em>' attribute.
251:          * @see #isDuplicateDisabled()
252:          * @generated
253:          *
254:          */
255:         void setDuplicateDisabled(boolean value);
256:
257: } // VTableControl