Skip to content

Package: VTValidationPackageImpl

VTValidationPackageImpl

nameinstructionbranchcomplexitylinemethod
VTValidationPackageImpl()
M: 0 C: 14
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 5
100%
M: 0 C: 1
100%
createPackageContents()
M: 1 C: 112
99%
M: 1 C: 1
50%
M: 1 C: 1
50%
M: 1 C: 24
96%
M: 0 C: 1
100%
getValidationFactory()
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
getValidationStyleProperty()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getValidationStyleProperty_CancelColorHEX()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getValidationStyleProperty_CancelForegroundColorHEX()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getValidationStyleProperty_CancelImageURL()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getValidationStyleProperty_CancelOverlayURL()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getValidationStyleProperty_ErrorColorHEX()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getValidationStyleProperty_ErrorForegroundColorHEX()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getValidationStyleProperty_ErrorImageURL()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getValidationStyleProperty_ErrorOverlayURL()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getValidationStyleProperty_InfoColorHEX()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getValidationStyleProperty_InfoForegroundColorHEX()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getValidationStyleProperty_InfoImageURL()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getValidationStyleProperty_InfoOverlayURL()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getValidationStyleProperty_OkColorHEX()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getValidationStyleProperty_OkForegroundColorHEX()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getValidationStyleProperty_OkImageURL()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getValidationStyleProperty_OkOverlayURL()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getValidationStyleProperty_WarningColorHEX()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getValidationStyleProperty_WarningForegroundColorHEX()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getValidationStyleProperty_WarningImageURL()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
getValidationStyleProperty_WarningOverlayURL()
M: 0 C: 7
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
init()
M: 9 C: 30
77%
M: 2 C: 2
50%
M: 2 C: 1
33%
M: 1 C: 11
92%
M: 0 C: 1
100%
initializePackageContents()
M: 1 C: 462
100%
M: 1 C: 1
50%
M: 1 C: 1
50%
M: 1 C: 72
99%
M: 0 C: 1
100%
static {...}
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%

Coverage

1: /**
2: * Copyright (c) 2011-2014 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: * EclipseSource Munich - initial API and implementation
13: */
14: package org.eclipse.emf.ecp.view.template.style.validation.model.impl;
15:
16: import org.eclipse.emf.ecore.EAttribute;
17: import org.eclipse.emf.ecore.EClass;
18: import org.eclipse.emf.ecore.EPackage;
19: import org.eclipse.emf.ecore.impl.EPackageImpl;
20: import org.eclipse.emf.ecp.view.template.model.VTTemplatePackage;
21: import org.eclipse.emf.ecp.view.template.style.validation.model.VTValidationFactory;
22: import org.eclipse.emf.ecp.view.template.style.validation.model.VTValidationPackage;
23: import org.eclipse.emf.ecp.view.template.style.validation.model.VTValidationStyleProperty;
24:
25: /**
26: * <!-- begin-user-doc -->
27: * An implementation of the model <b>Package</b>.
28: * <!-- end-user-doc -->
29: *
30: * @generated
31: */
32: public class VTValidationPackageImpl extends EPackageImpl implements VTValidationPackage {
33:         /**
34:          * <!-- begin-user-doc -->
35:          * <!-- end-user-doc -->
36:          *
37:          * @generated
38:          */
39:         private EClass validationStylePropertyEClass = null;
40:
41:         /**
42:          * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry
43:          * EPackage.Registry} by the package
44:          * package URI value.
45:          * <p>
46:          * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also
47:          * performs initialization of the package, or returns the registered package, if one already exists. <!--
48:          * begin-user-doc --> <!-- end-user-doc -->
49:          *
50:          * @see org.eclipse.emf.ecore.EPackage.Registry
51:          * @see org.eclipse.emf.ecp.view.template.style.validation.model.VTValidationPackage#eNS_URI
52:          * @see #init()
53:          * @generated
54:          */
55:         private VTValidationPackageImpl() {
56:                 super(eNS_URI, VTValidationFactory.eINSTANCE);
57:         }
58:
59:         /**
60:          * <!-- begin-user-doc -->
61:          * <!-- end-user-doc -->
62:          *
63:          * @generated
64:          */
65:         private static boolean isInited = false;
66:
67:         /**
68:          * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
69:          *
70:          * <p>
71:          * This method is used to initialize {@link VTValidationPackage#eINSTANCE} when that field is accessed. Clients
72:          * should not invoke it directly. Instead, they should simply access that field to obtain the package. <!--
73:          * begin-user-doc --> <!-- end-user-doc -->
74:          *
75:          * @see #eNS_URI
76:          * @see #createPackageContents()
77:          * @see #initializePackageContents()
78:          * @generated
79:          */
80:         public static VTValidationPackage init() {
81:•                if (isInited) {
82:                         return (VTValidationPackage) EPackage.Registry.INSTANCE.getEPackage(VTValidationPackage.eNS_URI);
83:                 }
84:
85:                 // Obtain or create and register package
86:                 final VTValidationPackageImpl theValidationPackage = (VTValidationPackageImpl) (EPackage.Registry.INSTANCE
87:•                        .get(eNS_URI) instanceof VTValidationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI)
88:                                 : new VTValidationPackageImpl());
89:
90:                 isInited = true;
91:
92:                 // Initialize simple dependencies
93:                 VTTemplatePackage.eINSTANCE.eClass();
94:
95:                 // Create package meta-data objects
96:                 theValidationPackage.createPackageContents();
97:
98:                 // Initialize created meta-data
99:                 theValidationPackage.initializePackageContents();
100:
101:                 // Mark meta-data to indicate it can't be changed
102:                 theValidationPackage.freeze();
103:
104:                 // Update the registry and return the package
105:                 EPackage.Registry.INSTANCE.put(VTValidationPackage.eNS_URI, theValidationPackage);
106:                 return theValidationPackage;
107:         }
108:
109:         /**
110:          * <!-- begin-user-doc -->
111:          * <!-- end-user-doc -->
112:          *
113:          * @generated
114:          */
115:         @Override
116:         public EClass getValidationStyleProperty() {
117:                 return validationStylePropertyEClass;
118:         }
119:
120:         /**
121:          * <!-- begin-user-doc -->
122:          * <!-- end-user-doc -->
123:          *
124:          * @generated
125:          */
126:         @Override
127:         public EAttribute getValidationStyleProperty_OkColorHEX() {
128:                 return (EAttribute) validationStylePropertyEClass.getEStructuralFeatures().get(0);
129:         }
130:
131:         /**
132:          * <!-- begin-user-doc -->
133:          * <!-- end-user-doc -->
134:          *
135:          * @generated
136:          */
137:         @Override
138:         public EAttribute getValidationStyleProperty_OkForegroundColorHEX() {
139:                 return (EAttribute) validationStylePropertyEClass.getEStructuralFeatures().get(1);
140:         }
141:
142:         /**
143:          * <!-- begin-user-doc -->
144:          * <!-- end-user-doc -->
145:          *
146:          * @generated
147:          */
148:         @Override
149:         public EAttribute getValidationStyleProperty_OkImageURL() {
150:                 return (EAttribute) validationStylePropertyEClass.getEStructuralFeatures().get(2);
151:         }
152:
153:         /**
154:          * <!-- begin-user-doc -->
155:          * <!-- end-user-doc -->
156:          *
157:          * @generated
158:          */
159:         @Override
160:         public EAttribute getValidationStyleProperty_OkOverlayURL() {
161:                 return (EAttribute) validationStylePropertyEClass.getEStructuralFeatures().get(3);
162:         }
163:
164:         /**
165:          * <!-- begin-user-doc -->
166:          * <!-- end-user-doc -->
167:          *
168:          * @generated
169:          */
170:         @Override
171:         public EAttribute getValidationStyleProperty_InfoColorHEX() {
172:                 return (EAttribute) validationStylePropertyEClass.getEStructuralFeatures().get(4);
173:         }
174:
175:         /**
176:          * <!-- begin-user-doc -->
177:          * <!-- end-user-doc -->
178:          *
179:          * @generated
180:          */
181:         @Override
182:         public EAttribute getValidationStyleProperty_InfoForegroundColorHEX() {
183:                 return (EAttribute) validationStylePropertyEClass.getEStructuralFeatures().get(5);
184:         }
185:
186:         /**
187:          * <!-- begin-user-doc -->
188:          * <!-- end-user-doc -->
189:          *
190:          * @generated
191:          */
192:         @Override
193:         public EAttribute getValidationStyleProperty_InfoImageURL() {
194:                 return (EAttribute) validationStylePropertyEClass.getEStructuralFeatures().get(6);
195:         }
196:
197:         /**
198:          * <!-- begin-user-doc -->
199:          * <!-- end-user-doc -->
200:          *
201:          * @generated
202:          */
203:         @Override
204:         public EAttribute getValidationStyleProperty_InfoOverlayURL() {
205:                 return (EAttribute) validationStylePropertyEClass.getEStructuralFeatures().get(7);
206:         }
207:
208:         /**
209:          * <!-- begin-user-doc -->
210:          * <!-- end-user-doc -->
211:          *
212:          * @generated
213:          */
214:         @Override
215:         public EAttribute getValidationStyleProperty_WarningColorHEX() {
216:                 return (EAttribute) validationStylePropertyEClass.getEStructuralFeatures().get(8);
217:         }
218:
219:         /**
220:          * <!-- begin-user-doc -->
221:          * <!-- end-user-doc -->
222:          *
223:          * @generated
224:          */
225:         @Override
226:         public EAttribute getValidationStyleProperty_WarningForegroundColorHEX() {
227:                 return (EAttribute) validationStylePropertyEClass.getEStructuralFeatures().get(9);
228:         }
229:
230:         /**
231:          * <!-- begin-user-doc -->
232:          * <!-- end-user-doc -->
233:          *
234:          * @generated
235:          */
236:         @Override
237:         public EAttribute getValidationStyleProperty_WarningImageURL() {
238:                 return (EAttribute) validationStylePropertyEClass.getEStructuralFeatures().get(10);
239:         }
240:
241:         /**
242:          * <!-- begin-user-doc -->
243:          * <!-- end-user-doc -->
244:          *
245:          * @generated
246:          */
247:         @Override
248:         public EAttribute getValidationStyleProperty_WarningOverlayURL() {
249:                 return (EAttribute) validationStylePropertyEClass.getEStructuralFeatures().get(11);
250:         }
251:
252:         /**
253:          * <!-- begin-user-doc -->
254:          * <!-- end-user-doc -->
255:          *
256:          * @generated
257:          */
258:         @Override
259:         public EAttribute getValidationStyleProperty_ErrorColorHEX() {
260:                 return (EAttribute) validationStylePropertyEClass.getEStructuralFeatures().get(12);
261:         }
262:
263:         /**
264:          * <!-- begin-user-doc -->
265:          * <!-- end-user-doc -->
266:          *
267:          * @generated
268:          */
269:         @Override
270:         public EAttribute getValidationStyleProperty_ErrorForegroundColorHEX() {
271:                 return (EAttribute) validationStylePropertyEClass.getEStructuralFeatures().get(13);
272:         }
273:
274:         /**
275:          * <!-- begin-user-doc -->
276:          * <!-- end-user-doc -->
277:          *
278:          * @generated
279:          */
280:         @Override
281:         public EAttribute getValidationStyleProperty_ErrorImageURL() {
282:                 return (EAttribute) validationStylePropertyEClass.getEStructuralFeatures().get(14);
283:         }
284:
285:         /**
286:          * <!-- begin-user-doc -->
287:          * <!-- end-user-doc -->
288:          *
289:          * @generated
290:          */
291:         @Override
292:         public EAttribute getValidationStyleProperty_ErrorOverlayURL() {
293:                 return (EAttribute) validationStylePropertyEClass.getEStructuralFeatures().get(15);
294:         }
295:
296:         /**
297:          * <!-- begin-user-doc -->
298:          * <!-- end-user-doc -->
299:          *
300:          * @generated
301:          */
302:         @Override
303:         public EAttribute getValidationStyleProperty_CancelColorHEX() {
304:                 return (EAttribute) validationStylePropertyEClass.getEStructuralFeatures().get(16);
305:         }
306:
307:         /**
308:          * <!-- begin-user-doc -->
309:          * <!-- end-user-doc -->
310:          *
311:          * @generated
312:          */
313:         @Override
314:         public EAttribute getValidationStyleProperty_CancelForegroundColorHEX() {
315:                 return (EAttribute) validationStylePropertyEClass.getEStructuralFeatures().get(17);
316:         }
317:
318:         /**
319:          * <!-- begin-user-doc -->
320:          * <!-- end-user-doc -->
321:          *
322:          * @generated
323:          */
324:         @Override
325:         public EAttribute getValidationStyleProperty_CancelImageURL() {
326:                 return (EAttribute) validationStylePropertyEClass.getEStructuralFeatures().get(18);
327:         }
328:
329:         /**
330:          * <!-- begin-user-doc -->
331:          * <!-- end-user-doc -->
332:          *
333:          * @generated
334:          */
335:         @Override
336:         public EAttribute getValidationStyleProperty_CancelOverlayURL() {
337:                 return (EAttribute) validationStylePropertyEClass.getEStructuralFeatures().get(19);
338:         }
339:
340:         /**
341:          * <!-- begin-user-doc -->
342:          * <!-- end-user-doc -->
343:          *
344:          * @generated
345:          */
346:         @Override
347:         public VTValidationFactory getValidationFactory() {
348:                 return (VTValidationFactory) getEFactoryInstance();
349:         }
350:
351:         /**
352:          * <!-- begin-user-doc -->
353:          * <!-- end-user-doc -->
354:          *
355:          * @generated
356:          */
357:         private boolean isCreated = false;
358:
359:         /**
360:          * Creates the meta-model objects for the package. This method is
361:          * guarded to have no affect on any invocation but its first.
362:          * <!-- begin-user-doc -->
363:          * <!-- end-user-doc -->
364:          *
365:          * @generated
366:          */
367:         public void createPackageContents() {
368:•                if (isCreated) {
369:                         return;
370:                 }
371:                 isCreated = true;
372:
373:                 // Create classes and their features
374:                 validationStylePropertyEClass = createEClass(VALIDATION_STYLE_PROPERTY);
375:                 createEAttribute(validationStylePropertyEClass, VALIDATION_STYLE_PROPERTY__OK_COLOR_HEX);
376:                 createEAttribute(validationStylePropertyEClass, VALIDATION_STYLE_PROPERTY__OK_FOREGROUND_COLOR_HEX);
377:                 createEAttribute(validationStylePropertyEClass, VALIDATION_STYLE_PROPERTY__OK_IMAGE_URL);
378:                 createEAttribute(validationStylePropertyEClass, VALIDATION_STYLE_PROPERTY__OK_OVERLAY_URL);
379:                 createEAttribute(validationStylePropertyEClass, VALIDATION_STYLE_PROPERTY__INFO_COLOR_HEX);
380:                 createEAttribute(validationStylePropertyEClass, VALIDATION_STYLE_PROPERTY__INFO_FOREGROUND_COLOR_HEX);
381:                 createEAttribute(validationStylePropertyEClass, VALIDATION_STYLE_PROPERTY__INFO_IMAGE_URL);
382:                 createEAttribute(validationStylePropertyEClass, VALIDATION_STYLE_PROPERTY__INFO_OVERLAY_URL);
383:                 createEAttribute(validationStylePropertyEClass, VALIDATION_STYLE_PROPERTY__WARNING_COLOR_HEX);
384:                 createEAttribute(validationStylePropertyEClass, VALIDATION_STYLE_PROPERTY__WARNING_FOREGROUND_COLOR_HEX);
385:                 createEAttribute(validationStylePropertyEClass, VALIDATION_STYLE_PROPERTY__WARNING_IMAGE_URL);
386:                 createEAttribute(validationStylePropertyEClass, VALIDATION_STYLE_PROPERTY__WARNING_OVERLAY_URL);
387:                 createEAttribute(validationStylePropertyEClass, VALIDATION_STYLE_PROPERTY__ERROR_COLOR_HEX);
388:                 createEAttribute(validationStylePropertyEClass, VALIDATION_STYLE_PROPERTY__ERROR_FOREGROUND_COLOR_HEX);
389:                 createEAttribute(validationStylePropertyEClass, VALIDATION_STYLE_PROPERTY__ERROR_IMAGE_URL);
390:                 createEAttribute(validationStylePropertyEClass, VALIDATION_STYLE_PROPERTY__ERROR_OVERLAY_URL);
391:                 createEAttribute(validationStylePropertyEClass, VALIDATION_STYLE_PROPERTY__CANCEL_COLOR_HEX);
392:                 createEAttribute(validationStylePropertyEClass, VALIDATION_STYLE_PROPERTY__CANCEL_FOREGROUND_COLOR_HEX);
393:                 createEAttribute(validationStylePropertyEClass, VALIDATION_STYLE_PROPERTY__CANCEL_IMAGE_URL);
394:                 createEAttribute(validationStylePropertyEClass, VALIDATION_STYLE_PROPERTY__CANCEL_OVERLAY_URL);
395:         }
396:
397:         /**
398:          * <!-- begin-user-doc -->
399:          * <!-- end-user-doc -->
400:          *
401:          * @generated
402:          */
403:         private boolean isInitialized = false;
404:
405:         /**
406:          * Complete the initialization of the package and its meta-model. This
407:          * method is guarded to have no affect on any invocation but its first.
408:          * <!-- begin-user-doc -->
409:          * <!-- end-user-doc -->
410:          *
411:          * @generated
412:          */
413:         public void initializePackageContents() {
414:•                if (isInitialized) {
415:                         return;
416:                 }
417:                 isInitialized = true;
418:
419:                 // Initialize package
420:                 setName(eNAME);
421:                 setNsPrefix(eNS_PREFIX);
422:                 setNsURI(eNS_URI);
423:
424:                 // Obtain other dependent packages
425:                 final VTTemplatePackage theTemplatePackage = (VTTemplatePackage) EPackage.Registry.INSTANCE
426:                         .getEPackage(VTTemplatePackage.eNS_URI);
427:
428:                 // Create type parameters
429:
430:                 // Set bounds for type parameters
431:
432:                 // Add supertypes to classes
433:                 validationStylePropertyEClass.getESuperTypes().add(theTemplatePackage.getStyleProperty());
434:
435:                 // Initialize classes, features, and operations; add parameters
436:                 initEClass(validationStylePropertyEClass, VTValidationStyleProperty.class, "ValidationStyleProperty", //$NON-NLS-1$
437:                         !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
438:                 initEAttribute(getValidationStyleProperty_OkColorHEX(), ecorePackage.getEString(), "okColorHEX", null, 0, 1, //$NON-NLS-1$
439:                         VTValidationStyleProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
440:                         IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
441:                 initEAttribute(getValidationStyleProperty_OkForegroundColorHEX(), ecorePackage.getEString(),
442:                         "okForegroundColorHEX", null, 0, 1, VTValidationStyleProperty.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$
443:                         IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
444:                 initEAttribute(getValidationStyleProperty_OkImageURL(), ecorePackage.getEString(), "okImageURL", null, 0, 1, //$NON-NLS-1$
445:                         VTValidationStyleProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
446:                         IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
447:                 initEAttribute(getValidationStyleProperty_OkOverlayURL(), ecorePackage.getEString(), "okOverlayURL", null, 0, 1, //$NON-NLS-1$
448:                         VTValidationStyleProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
449:                         IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
450:                 initEAttribute(getValidationStyleProperty_InfoColorHEX(), ecorePackage.getEString(), "infoColorHEX", null, 0, 1, //$NON-NLS-1$
451:                         VTValidationStyleProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
452:                         IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
453:                 initEAttribute(getValidationStyleProperty_InfoForegroundColorHEX(), ecorePackage.getEString(),
454:                         "infoForegroundColorHEX", null, 0, 1, VTValidationStyleProperty.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$
455:                         IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
456:                 initEAttribute(getValidationStyleProperty_InfoImageURL(), ecorePackage.getEString(), "infoImageURL", null, 0, 1, //$NON-NLS-1$
457:                         VTValidationStyleProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
458:                         IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
459:                 initEAttribute(getValidationStyleProperty_InfoOverlayURL(), ecorePackage.getEString(), "infoOverlayURL", null, //$NON-NLS-1$
460:                         0, 1, VTValidationStyleProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
461:                         IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
462:                 initEAttribute(getValidationStyleProperty_WarningColorHEX(), ecorePackage.getEString(), "warningColorHEX", null, //$NON-NLS-1$
463:                         0, 1, VTValidationStyleProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
464:                         IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
465:                 initEAttribute(getValidationStyleProperty_WarningForegroundColorHEX(), ecorePackage.getEString(),
466:                         "warningForegroundColorHEX", null, 0, 1, VTValidationStyleProperty.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$
467:                         IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
468:                 initEAttribute(getValidationStyleProperty_WarningImageURL(), ecorePackage.getEString(), "warningImageURL", null, //$NON-NLS-1$
469:                         0, 1, VTValidationStyleProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
470:                         IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
471:                 initEAttribute(getValidationStyleProperty_WarningOverlayURL(), ecorePackage.getEString(), "warningOverlayURL", //$NON-NLS-1$
472:                         null, 0, 1, VTValidationStyleProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
473:                         !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
474:                 initEAttribute(getValidationStyleProperty_ErrorColorHEX(), ecorePackage.getEString(), "errorColorHEX", null, 0, //$NON-NLS-1$
475:                         1, VTValidationStyleProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
476:                         IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
477:                 initEAttribute(getValidationStyleProperty_ErrorForegroundColorHEX(), ecorePackage.getEString(),
478:                         "errorForegroundColorHEX", null, 0, 1, VTValidationStyleProperty.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$
479:                         IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
480:                 initEAttribute(getValidationStyleProperty_ErrorImageURL(), ecorePackage.getEString(), "errorImageURL", null, 0, //$NON-NLS-1$
481:                         1, VTValidationStyleProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
482:                         IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
483:                 initEAttribute(getValidationStyleProperty_ErrorOverlayURL(), ecorePackage.getEString(), "errorOverlayURL", null, //$NON-NLS-1$
484:                         0, 1, VTValidationStyleProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
485:                         IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
486:                 initEAttribute(getValidationStyleProperty_CancelColorHEX(), ecorePackage.getEString(), "cancelColorHEX", null, //$NON-NLS-1$
487:                         0, 1, VTValidationStyleProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
488:                         IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
489:                 initEAttribute(getValidationStyleProperty_CancelForegroundColorHEX(), ecorePackage.getEString(),
490:                         "cancelForegroundColorHEX", null, 0, 1, VTValidationStyleProperty.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$
491:                         IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
492:                 initEAttribute(getValidationStyleProperty_CancelImageURL(), ecorePackage.getEString(), "cancelImageURL", null, //$NON-NLS-1$
493:                         0, 1, VTValidationStyleProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID,
494:                         IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
495:                 initEAttribute(getValidationStyleProperty_CancelOverlayURL(), ecorePackage.getEString(), "cancelOverlayURL", //$NON-NLS-1$
496:                         null, 0, 1, VTValidationStyleProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE,
497:                         !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
498:
499:                 // Create resource
500:                 createResource(eNS_URI);
501:         }
502:
503: } // VTValidationPackageImpl