Skip to content

Package: ValidationNature

ValidationNature

nameinstructionbranchcomplexitylinemethod
ValidationNature()
M: 0 C: 5
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%
static {...}
M: 0 C: 5
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) 2019 Christian W. Damus 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: * Christian W. Damus - initial API and implementation
13: ******************************************************************************/
14: package org.eclipse.emfforms.ide.internal.builder;
15:
16: /**
17: * Nature for extensible validation of the model files in the project.
18: */
19: public class ValidationNature extends ProjectNature {
20:
21:         /** Project nature identifier. */
22:         public static final String NATURE_ID = "org.eclipse.emfforms.ide.builder.validationNature"; //$NON-NLS-1$
23:
24:         /** A prototype for nature instances. */
25:         public static final ValidationNature PROTOTYPE = new ValidationNature();
26:
27:         /**
28:          * Initializes me.
29:          */
30:         public ValidationNature() {
31:                 super(NATURE_ID, ValidationBuilder.BUILDER_ID);
32:         }
33:
34: }