Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/facet/org.eclipse.papyrus.emf.facet.custom.metamodel/src/org/eclipse/papyrus/emf/facet/custom/metamodel/v0_2_0/custompt/Shadow.java')
-rw-r--r--plugins/facet/org.eclipse.papyrus.emf.facet.custom.metamodel/src/org/eclipse/papyrus/emf/facet/custom/metamodel/v0_2_0/custompt/Shadow.java64
1 files changed, 42 insertions, 22 deletions
diff --git a/plugins/facet/org.eclipse.papyrus.emf.facet.custom.metamodel/src/org/eclipse/papyrus/emf/facet/custom/metamodel/v0_2_0/custompt/Shadow.java b/plugins/facet/org.eclipse.papyrus.emf.facet.custom.metamodel/src/org/eclipse/papyrus/emf/facet/custom/metamodel/v0_2_0/custompt/Shadow.java
index 999a67d4454..29775f6a66c 100644
--- a/plugins/facet/org.eclipse.papyrus.emf.facet.custom.metamodel/src/org/eclipse/papyrus/emf/facet/custom/metamodel/v0_2_0/custompt/Shadow.java
+++ b/plugins/facet/org.eclipse.papyrus.emf.facet.custom.metamodel/src/org/eclipse/papyrus/emf/facet/custom/metamodel/v0_2_0/custompt/Shadow.java
@@ -1,15 +1,15 @@
/**
* Copyright (c) 2012 Mia-Software.
- *
+ *
* 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.html
- *
+ *
* Contributors:
* Gregoire Dupe (Mia-Software) - Bug 361794 - [Restructuring] New customization meta-model
* Vincent Lorenzo (CEA-LIST) - Bug 372644 - Create Customizable tooltips for the TreeViewer using a CustomizableLabelProvider
- *
+ *
*/
package org.eclipse.papyrus.emf.facet.custom.metamodel.v0_2_0.custompt;
@@ -24,6 +24,7 @@ import org.eclipse.emf.common.util.Enumerator;
* A representation of the literals of the enumeration '<em><b>Shadow</b></em>',
* and utility methods for working with them.
* <!-- end-user-doc -->
+ *
* @see org.eclipse.papyrus.emf.facet.custom.metamodel.v0_2_0.custompt.CustomptPackage#getShadow()
* @model
* @generated
@@ -33,6 +34,7 @@ public enum Shadow implements Enumerator {
* The '<em><b>NONE</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #NONE_VALUE
* @generated
* @ordered
@@ -43,6 +45,7 @@ public enum Shadow implements Enumerator {
* The '<em><b>IN</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #IN_VALUE
* @generated
* @ordered
@@ -53,6 +56,7 @@ public enum Shadow implements Enumerator {
* The '<em><b>OUT</b></em>' literal object.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #OUT_VALUE
* @generated
* @ordered
@@ -63,10 +67,10 @@ public enum Shadow implements Enumerator {
* The '<em><b>NONE</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>NONE</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>NONE</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #NONE
* @model
* @generated
@@ -78,10 +82,10 @@ public enum Shadow implements Enumerator {
* The '<em><b>IN</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>IN</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>IN</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #IN
* @model
* @generated
@@ -93,10 +97,10 @@ public enum Shadow implements Enumerator {
* The '<em><b>OUT</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of '<em><b>OUT</b></em>' literal object isn't clear,
- * there really should be more of a description here...
+ * If the meaning of '<em><b>OUT</b></em>' literal object isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #OUT
* @model
* @generated
@@ -108,19 +112,21 @@ public enum Shadow implements Enumerator {
* An array of all the '<em><b>Shadow</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private static final Shadow[] VALUES_ARRAY =
- new Shadow[] {
- NONE,
- IN,
- OUT,
- };
+ new Shadow[] {
+ NONE,
+ IN,
+ OUT,
+ };
/**
* A public read-only list of all the '<em><b>Shadow</b></em>' enumerators.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static final List<Shadow> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
@@ -129,6 +135,7 @@ public enum Shadow implements Enumerator {
* Returns the '<em><b>Shadow</b></em>' literal with the specified literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static Shadow get(String literal) {
@@ -145,6 +152,7 @@ public enum Shadow implements Enumerator {
* Returns the '<em><b>Shadow</b></em>' literal with the specified name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static Shadow getByName(String name) {
@@ -161,13 +169,17 @@ public enum Shadow implements Enumerator {
* Returns the '<em><b>Shadow</b></em>' literal with the specified integer value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public static Shadow get(int value) {
switch (value) {
- case NONE_VALUE: return NONE;
- case IN_VALUE: return IN;
- case OUT_VALUE: return OUT;
+ case NONE_VALUE:
+ return NONE;
+ case IN_VALUE:
+ return IN;
+ case OUT_VALUE:
+ return OUT;
}
return null;
}
@@ -175,6 +187,7 @@ public enum Shadow implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final int value;
@@ -182,6 +195,7 @@ public enum Shadow implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final String name;
@@ -189,6 +203,7 @@ public enum Shadow implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private final String literal;
@@ -197,6 +212,7 @@ public enum Shadow implements Enumerator {
* Only this class can construct instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private Shadow(int value, String name, String literal) {
@@ -208,39 +224,43 @@ public enum Shadow implements Enumerator {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public int getValue() {
- return value;
+ return value;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getName() {
- return name;
+ return name;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public String getLiteral() {
- return literal;
+ return literal;
}
/**
* Returns the literal value of the enumerator, which is its string representation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
return literal;
}
-
-} //Shadow
+
+} // Shadow

Back to the top