Author: timotei
Date: Tue Jul 26 17:37:30 2011
New Revision: 50442
URL: http://svn.gna.org/viewcvs/wesnoth?rev=50442&view=rev
Log:
eclipse plugin: Oops. Forgot to commit some files
in the previous commit
Added:
trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/MacroTokens.java
trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/WMLMacroParameter.java
trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/WMLValue.java
trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/impl/MacroTokensImpl.java
trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/impl/WMLMacroParameterImpl.java
trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/impl/WMLValueImpl.java
Added: trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/MacroTokens.java
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/MacroTokens.java?rev=50442&view=auto
==============================================================================
--- trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/MacroTokens.java
(added)
+++ trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/MacroTokens.java
Tue Jul 26 17:37:30 2011
@@ -1,0 +1,22 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+
+ */
+package org.wesnoth.wml;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Macro Tokens</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.wesnoth.wml.WmlPackage#getMacroTokens()
+ * @model
+ * @generated
+ */
+public interface MacroTokens extends WMLMacroParameter
+{
+} // MacroTokens
Added:
trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/WMLMacroParameter.java
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/WMLMacroParameter.java?rev=50442&view=auto
==============================================================================
---
trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/WMLMacroParameter.java
(added)
+++
trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/WMLMacroParameter.java
Tue Jul 26 17:37:30 2011
@@ -1,0 +1,55 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+
+ */
+package org.wesnoth.wml;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>WML Macro Parameter</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.wesnoth.wml.WMLMacroParameter#getValue <em>Value</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.wesnoth.wml.WmlPackage#getWMLMacroParameter()
+ * @model
+ * @generated
+ */
+public interface WMLMacroParameter extends WMLMacroCallParameter
+{
+ /**
+ * Returns the value of the '<em><b>Value</b></em>' attribute.
+ * The default value is <code>""</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Value</em>' attribute.
+ * @see #setValue(String)
+ * @see org.wesnoth.wml.WmlPackage#getWMLMacroParameter_Value()
+ * @model default=""
+ * @generated
+ */
+ String getValue();
+
+ /**
+ * Sets the value of the '{@link org.wesnoth.wml.WMLMacroParameter#getValue
<em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value</em>' attribute.
+ * @see #getValue()
+ * @generated
+ */
+ void setValue(String value);
+
+} // WMLMacroParameter
Added: trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/WMLValue.java
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/WMLValue.java?rev=50442&view=auto
==============================================================================
--- trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/WMLValue.java
(added)
+++ trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/WMLValue.java Tue
Jul 26 17:37:30 2011
@@ -1,0 +1,22 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+
+ */
+package org.wesnoth.wml;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>WML Value</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.wesnoth.wml.WmlPackage#getWMLValue()
+ * @model
+ * @generated
+ */
+public interface WMLValue extends WMLKeyValue, WMLValuedExpression,
WMLMacroParameter
+{
+} // WMLValue
Added:
trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/impl/MacroTokensImpl.java
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/impl/MacroTokensImpl.java?rev=50442&view=auto
==============================================================================
---
trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/impl/MacroTokensImpl.java
(added)
+++
trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/impl/MacroTokensImpl.java
Tue Jul 26 17:37:30 2011
@@ -1,0 +1,46 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+
+ */
+package org.wesnoth.wml.impl;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.wesnoth.wml.MacroTokens;
+import org.wesnoth.wml.WmlPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Macro Tokens</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class MacroTokensImpl extends WMLMacroParameterImpl implements
MacroTokens
+{
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected MacroTokensImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return WmlPackage.Literals.MACRO_TOKENS;
+ }
+
+} //MacroTokensImpl
Added:
trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/impl/WMLMacroParameterImpl.java
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/impl/WMLMacroParameterImpl.java?rev=50442&view=auto
==============================================================================
---
trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/impl/WMLMacroParameterImpl.java
(added)
+++
trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/impl/WMLMacroParameterImpl.java
Tue Jul 26 17:37:30 2011
@@ -1,0 +1,180 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+
+ */
+package org.wesnoth.wml.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.wesnoth.wml.WMLMacroParameter;
+import org.wesnoth.wml.WmlPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>WML Macro Parameter</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.wesnoth.wml.impl.WMLMacroParameterImpl#getValue
<em>Value</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class WMLMacroParameterImpl extends WMLMacroCallParameterImpl
implements WMLMacroParameter
+{
+ /**
+ * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected static final String VALUE_EDEFAULT = "";
+
+ /**
+ * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected String value = VALUE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected WMLMacroParameterImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return WmlPackage.Literals.WML_MACRO_PARAMETER;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getValue()
+ {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setValue(String newValue)
+ {
+ String oldValue = value;
+ value = newValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
WmlPackage.WML_MACRO_PARAMETER__VALUE, oldValue, value));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case WmlPackage.WML_MACRO_PARAMETER__VALUE:
+ return getValue();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case WmlPackage.WML_MACRO_PARAMETER__VALUE:
+ setValue((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case WmlPackage.WML_MACRO_PARAMETER__VALUE:
+ setValue(VALUE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case WmlPackage.WML_MACRO_PARAMETER__VALUE:
+ return VALUE_EDEFAULT == null ? value != null :
!VALUE_EDEFAULT.equals(value);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (value: ");
+ result.append(value);
+ result.append(')');
+ return result.toString();
+ }
+
+} //WMLMacroParameterImpl
Added:
trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/impl/WMLValueImpl.java
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/impl/WMLValueImpl.java?rev=50442&view=auto
==============================================================================
---
trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/impl/WMLValueImpl.java
(added)
+++
trunk/utils/umc_dev/org.wesnoth/src-gen/org/wesnoth/wml/impl/WMLValueImpl.java
Tue Jul 26 17:37:30 2011
@@ -1,0 +1,249 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+
+ */
+package org.wesnoth.wml.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.wesnoth.wml.WMLMacroCallParameter;
+import org.wesnoth.wml.WMLMacroParameter;
+import org.wesnoth.wml.WMLValue;
+import org.wesnoth.wml.WMLValuedExpression;
+import org.wesnoth.wml.WmlPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>WML Value</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.wesnoth.wml.impl.WMLValueImpl#getValue <em>Value</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class WMLValueImpl extends WMLKeyValueImpl implements WMLValue
+{
+ /**
+ * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected static final String VALUE_EDEFAULT = "";
+
+ /**
+ * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected String value = VALUE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected WMLValueImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return WmlPackage.Literals.WML_VALUE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getValue()
+ {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setValue(String newValue)
+ {
+ String oldValue = value;
+ value = newValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET,
WmlPackage.WML_VALUE__VALUE, oldValue, value));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case WmlPackage.WML_VALUE__VALUE:
+ return getValue();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case WmlPackage.WML_VALUE__VALUE:
+ setValue((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case WmlPackage.WML_VALUE__VALUE:
+ setValue(VALUE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case WmlPackage.WML_VALUE__VALUE:
+ return VALUE_EDEFAULT == null ? value != null :
!VALUE_EDEFAULT.equals(value);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
+ {
+ if (baseClass == WMLValuedExpression.class)
+ {
+ switch (derivedFeatureID)
+ {
+ default: return -1;
+ }
+ }
+ if (baseClass == WMLMacroCallParameter.class)
+ {
+ switch (derivedFeatureID)
+ {
+ default: return -1;
+ }
+ }
+ if (baseClass == WMLMacroParameter.class)
+ {
+ switch (derivedFeatureID)
+ {
+ case WmlPackage.WML_VALUE__VALUE: return
WmlPackage.WML_MACRO_PARAMETER__VALUE;
+ default: return -1;
+ }
+ }
+ return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
+ {
+ if (baseClass == WMLValuedExpression.class)
+ {
+ switch (baseFeatureID)
+ {
+ default: return -1;
+ }
+ }
+ if (baseClass == WMLMacroCallParameter.class)
+ {
+ switch (baseFeatureID)
+ {
+ default: return -1;
+ }
+ }
+ if (baseClass == WMLMacroParameter.class)
+ {
+ switch (baseFeatureID)
+ {
+ case WmlPackage.WML_MACRO_PARAMETER__VALUE: return
WmlPackage.WML_VALUE__VALUE;
+ default: return -1;
+ }
+ }
+ return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (value: ");
+ result.append(value);
+ result.append(')');
+ return result.toString();
+ }
+
+} //WMLValueImpl
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits