Update files should be no changes.
When touching the files svn claims they are modified, but cmp shows no difference. Reverting them also doesn't work so commit the `updated' version. Looks like related to this issue [1], hopefully this commit solves it. [1] http://svn.haxx.se/users/archive-2009-04/0354.shtml
This commit is contained in:
parent
ecbabea838
commit
0f844b0e92
13 changed files with 2199 additions and 2199 deletions
|
@ -1,55 +1,55 @@
|
|||
/**
|
||||
* <copyright>
|
||||
* </copyright>
|
||||
*
|
||||
/**
|
||||
* <copyright>
|
||||
* </copyright>
|
||||
*
|
||||
|
||||
*/
|
||||
package org.wesnoth.wML;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>Macro Tokens</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* <ul>
|
||||
* <li>{@link org.wesnoth.wML.MacroTokens#getVal <em>Val</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.wesnoth.wML.WMLPackage#getMacroTokens()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface MacroTokens extends EObject
|
||||
{
|
||||
/**
|
||||
* Returns the value of the '<em><b>Val</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Val</em>' attribute isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Val</em>' attribute.
|
||||
* @see #setVal(String)
|
||||
* @see org.wesnoth.wML.WMLPackage#getMacroTokens_Val()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getVal();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.wesnoth.wML.MacroTokens#getVal <em>Val</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Val</em>' attribute.
|
||||
* @see #getVal()
|
||||
* @generated
|
||||
*/
|
||||
void setVal(String value);
|
||||
|
||||
} // MacroTokens
|
||||
*/
|
||||
package org.wesnoth.wML;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>Macro Tokens</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* <ul>
|
||||
* <li>{@link org.wesnoth.wML.MacroTokens#getVal <em>Val</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.wesnoth.wML.WMLPackage#getMacroTokens()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface MacroTokens extends EObject
|
||||
{
|
||||
/**
|
||||
* Returns the value of the '<em><b>Val</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Val</em>' attribute isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Val</em>' attribute.
|
||||
* @see #setVal(String)
|
||||
* @see org.wesnoth.wML.WMLPackage#getMacroTokens_Val()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getVal();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.wesnoth.wML.MacroTokens#getVal <em>Val</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Val</em>' attribute.
|
||||
* @see #getVal()
|
||||
* @generated
|
||||
*/
|
||||
void setVal(String value);
|
||||
|
||||
} // MacroTokens
|
||||
|
|
|
@ -1,45 +1,45 @@
|
|||
/**
|
||||
* <copyright>
|
||||
* </copyright>
|
||||
*
|
||||
/**
|
||||
* <copyright>
|
||||
* </copyright>
|
||||
*
|
||||
|
||||
*/
|
||||
package org.wesnoth.wML;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>Array Call</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* <ul>
|
||||
* <li>{@link org.wesnoth.wML.WMLArrayCall#getValue <em>Value</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLArrayCall()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface WMLArrayCall extends WMLKeyValue
|
||||
{
|
||||
/**
|
||||
* Returns the value of the '<em><b>Value</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLValue}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Value</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Value</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLArrayCall_Value()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLValue> getValue();
|
||||
|
||||
} // WMLArrayCall
|
||||
*/
|
||||
package org.wesnoth.wML;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>Array Call</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* <ul>
|
||||
* <li>{@link org.wesnoth.wML.WMLArrayCall#getValue <em>Value</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLArrayCall()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface WMLArrayCall extends WMLKeyValue
|
||||
{
|
||||
/**
|
||||
* Returns the value of the '<em><b>Value</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLValue}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Value</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Value</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLArrayCall_Value()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLValue> getValue();
|
||||
|
||||
} // WMLArrayCall
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
/**
|
||||
* <copyright>
|
||||
* </copyright>
|
||||
*
|
||||
/**
|
||||
* <copyright>
|
||||
* </copyright>
|
||||
*
|
||||
|
||||
*/
|
||||
package org.wesnoth.wML;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>Key Value</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
*
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLKeyValue()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface WMLKeyValue extends EObject
|
||||
{
|
||||
} // WMLKeyValue
|
||||
*/
|
||||
package org.wesnoth.wML;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>Key Value</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
*
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLKeyValue()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface WMLKeyValue extends EObject
|
||||
{
|
||||
} // WMLKeyValue
|
||||
|
|
|
@ -1,54 +1,54 @@
|
|||
/**
|
||||
* <copyright>
|
||||
* </copyright>
|
||||
*
|
||||
/**
|
||||
* <copyright>
|
||||
* </copyright>
|
||||
*
|
||||
|
||||
*/
|
||||
package org.wesnoth.wML;
|
||||
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>Lua Code</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* <ul>
|
||||
* <li>{@link org.wesnoth.wML.WMLLuaCode#getValue <em>Value</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLLuaCode()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface WMLLuaCode extends WMLKeyValue
|
||||
{
|
||||
/**
|
||||
* Returns the value of the '<em><b>Value</b></em>' attribute.
|
||||
* <!-- 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#getWMLLuaCode_Value()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getValue();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.wesnoth.wML.WMLLuaCode#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);
|
||||
|
||||
} // WMLLuaCode
|
||||
*/
|
||||
package org.wesnoth.wML;
|
||||
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>Lua Code</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* <ul>
|
||||
* <li>{@link org.wesnoth.wML.WMLLuaCode#getValue <em>Value</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLLuaCode()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface WMLLuaCode extends WMLKeyValue
|
||||
{
|
||||
/**
|
||||
* Returns the value of the '<em><b>Value</b></em>' attribute.
|
||||
* <!-- 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#getWMLLuaCode_Value()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getValue();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.wesnoth.wML.WMLLuaCode#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);
|
||||
|
||||
} // WMLLuaCode
|
||||
|
|
|
@ -1,203 +1,203 @@
|
|||
/**
|
||||
* <copyright>
|
||||
* </copyright>
|
||||
*
|
||||
/**
|
||||
* <copyright>
|
||||
* </copyright>
|
||||
*
|
||||
|
||||
*/
|
||||
package org.wesnoth.wML;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>Macro Define</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* <ul>
|
||||
* <li>{@link org.wesnoth.wML.WMLMacroDefine#getName <em>Name</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLMacroDefine#getTags <em>Tags</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLMacroDefine#getKeys <em>Keys</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLMacroDefine#getMacroCalls <em>Macro Calls</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLMacroDefine#getMacroDefines <em>Macro Defines</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLMacroDefine#getTextdomains <em>Textdomains</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLMacroDefine#getValues <em>Values</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLMacroDefine#getIfDefs <em>If Defs</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLMacroDefine#getEndName <em>End Name</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLMacroDefine()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface WMLMacroDefine extends EObject
|
||||
{
|
||||
/**
|
||||
* Returns the value of the '<em><b>Name</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Name</em>' attribute isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Name</em>' attribute.
|
||||
* @see #setName(String)
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLMacroDefine_Name()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getName();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.wesnoth.wML.WMLMacroDefine#getName <em>Name</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Name</em>' attribute.
|
||||
* @see #getName()
|
||||
* @generated
|
||||
*/
|
||||
void setName(String value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Tags</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLTag}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Tags</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Tags</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLMacroDefine_Tags()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLTag> getTags();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Keys</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLKey}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Keys</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Keys</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLMacroDefine_Keys()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLKey> getKeys();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Macro Calls</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLMacroCall}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Macro Calls</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Macro Calls</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLMacroDefine_MacroCalls()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLMacroCall> getMacroCalls();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Macro Defines</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLMacroDefine}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Macro Defines</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Macro Defines</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLMacroDefine_MacroDefines()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLMacroDefine> getMacroDefines();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Textdomains</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLTextdomain}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Textdomains</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Textdomains</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLMacroDefine_Textdomains()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLTextdomain> getTextdomains();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Values</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLValue}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Values</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Values</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLMacroDefine_Values()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLValue> getValues();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>If Defs</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLPreprocIF}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>If Defs</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>If Defs</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLMacroDefine_IfDefs()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLPreprocIF> getIfDefs();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>End Name</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>End Name</em>' attribute isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>End Name</em>' attribute.
|
||||
* @see #setEndName(String)
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLMacroDefine_EndName()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getEndName();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.wesnoth.wML.WMLMacroDefine#getEndName <em>End Name</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>End Name</em>' attribute.
|
||||
* @see #getEndName()
|
||||
* @generated
|
||||
*/
|
||||
void setEndName(String value);
|
||||
|
||||
} // WMLMacroDefine
|
||||
*/
|
||||
package org.wesnoth.wML;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>Macro Define</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* <ul>
|
||||
* <li>{@link org.wesnoth.wML.WMLMacroDefine#getName <em>Name</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLMacroDefine#getTags <em>Tags</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLMacroDefine#getKeys <em>Keys</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLMacroDefine#getMacroCalls <em>Macro Calls</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLMacroDefine#getMacroDefines <em>Macro Defines</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLMacroDefine#getTextdomains <em>Textdomains</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLMacroDefine#getValues <em>Values</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLMacroDefine#getIfDefs <em>If Defs</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLMacroDefine#getEndName <em>End Name</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLMacroDefine()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface WMLMacroDefine extends EObject
|
||||
{
|
||||
/**
|
||||
* Returns the value of the '<em><b>Name</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Name</em>' attribute isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Name</em>' attribute.
|
||||
* @see #setName(String)
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLMacroDefine_Name()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getName();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.wesnoth.wML.WMLMacroDefine#getName <em>Name</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Name</em>' attribute.
|
||||
* @see #getName()
|
||||
* @generated
|
||||
*/
|
||||
void setName(String value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Tags</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLTag}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Tags</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Tags</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLMacroDefine_Tags()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLTag> getTags();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Keys</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLKey}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Keys</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Keys</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLMacroDefine_Keys()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLKey> getKeys();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Macro Calls</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLMacroCall}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Macro Calls</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Macro Calls</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLMacroDefine_MacroCalls()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLMacroCall> getMacroCalls();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Macro Defines</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLMacroDefine}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Macro Defines</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Macro Defines</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLMacroDefine_MacroDefines()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLMacroDefine> getMacroDefines();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Textdomains</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLTextdomain}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Textdomains</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Textdomains</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLMacroDefine_Textdomains()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLTextdomain> getTextdomains();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Values</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLValue}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Values</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Values</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLMacroDefine_Values()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLValue> getValues();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>If Defs</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLPreprocIF}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>If Defs</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>If Defs</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLMacroDefine_IfDefs()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLPreprocIF> getIfDefs();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>End Name</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>End Name</em>' attribute isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>End Name</em>' attribute.
|
||||
* @see #setEndName(String)
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLMacroDefine_EndName()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getEndName();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.wesnoth.wML.WMLMacroDefine#getEndName <em>End Name</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>End Name</em>' attribute.
|
||||
* @see #getEndName()
|
||||
* @generated
|
||||
*/
|
||||
void setEndName(String value);
|
||||
|
||||
} // WMLMacroDefine
|
||||
|
|
|
@ -1,220 +1,220 @@
|
|||
/**
|
||||
* <copyright>
|
||||
* </copyright>
|
||||
*
|
||||
/**
|
||||
* <copyright>
|
||||
* </copyright>
|
||||
*
|
||||
|
||||
*/
|
||||
package org.wesnoth.wML;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>Preproc IF</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* <ul>
|
||||
* <li>{@link org.wesnoth.wML.WMLPreprocIF#getName <em>Name</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLPreprocIF#getTags <em>Tags</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLPreprocIF#getKeys <em>Keys</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLPreprocIF#getMacroCalls <em>Macro Calls</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLPreprocIF#getMacroDefines <em>Macro Defines</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLPreprocIF#getTextdomains <em>Textdomains</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLPreprocIF#getValues <em>Values</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLPreprocIF#getIfDefs <em>If Defs</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLPreprocIF#getElses <em>Elses</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLPreprocIF#getEndName <em>End Name</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLPreprocIF()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface WMLPreprocIF extends EObject
|
||||
{
|
||||
/**
|
||||
* Returns the value of the '<em><b>Name</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Name</em>' attribute isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Name</em>' attribute.
|
||||
* @see #setName(String)
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLPreprocIF_Name()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getName();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.wesnoth.wML.WMLPreprocIF#getName <em>Name</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Name</em>' attribute.
|
||||
* @see #getName()
|
||||
* @generated
|
||||
*/
|
||||
void setName(String value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Tags</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLTag}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Tags</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Tags</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLPreprocIF_Tags()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLTag> getTags();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Keys</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLKey}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Keys</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Keys</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLPreprocIF_Keys()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLKey> getKeys();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Macro Calls</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLMacroCall}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Macro Calls</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Macro Calls</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLPreprocIF_MacroCalls()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLMacroCall> getMacroCalls();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Macro Defines</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLMacroDefine}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Macro Defines</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Macro Defines</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLPreprocIF_MacroDefines()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLMacroDefine> getMacroDefines();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Textdomains</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLTextdomain}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Textdomains</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Textdomains</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLPreprocIF_Textdomains()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLTextdomain> getTextdomains();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Values</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLValue}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Values</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Values</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLPreprocIF_Values()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLValue> getValues();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>If Defs</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLPreprocIF}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>If Defs</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>If Defs</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLPreprocIF_IfDefs()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLPreprocIF> getIfDefs();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Elses</b></em>' attribute list.
|
||||
* The list contents are of type {@link java.lang.String}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Elses</em>' attribute list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Elses</em>' attribute list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLPreprocIF_Elses()
|
||||
* @model unique="false"
|
||||
* @generated
|
||||
*/
|
||||
EList<String> getElses();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>End Name</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>End Name</em>' attribute isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>End Name</em>' attribute.
|
||||
* @see #setEndName(String)
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLPreprocIF_EndName()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getEndName();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.wesnoth.wML.WMLPreprocIF#getEndName <em>End Name</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>End Name</em>' attribute.
|
||||
* @see #getEndName()
|
||||
* @generated
|
||||
*/
|
||||
void setEndName(String value);
|
||||
|
||||
} // WMLPreprocIF
|
||||
*/
|
||||
package org.wesnoth.wML;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>Preproc IF</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* <ul>
|
||||
* <li>{@link org.wesnoth.wML.WMLPreprocIF#getName <em>Name</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLPreprocIF#getTags <em>Tags</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLPreprocIF#getKeys <em>Keys</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLPreprocIF#getMacroCalls <em>Macro Calls</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLPreprocIF#getMacroDefines <em>Macro Defines</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLPreprocIF#getTextdomains <em>Textdomains</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLPreprocIF#getValues <em>Values</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLPreprocIF#getIfDefs <em>If Defs</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLPreprocIF#getElses <em>Elses</em>}</li>
|
||||
* <li>{@link org.wesnoth.wML.WMLPreprocIF#getEndName <em>End Name</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLPreprocIF()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface WMLPreprocIF extends EObject
|
||||
{
|
||||
/**
|
||||
* Returns the value of the '<em><b>Name</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Name</em>' attribute isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Name</em>' attribute.
|
||||
* @see #setName(String)
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLPreprocIF_Name()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getName();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.wesnoth.wML.WMLPreprocIF#getName <em>Name</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Name</em>' attribute.
|
||||
* @see #getName()
|
||||
* @generated
|
||||
*/
|
||||
void setName(String value);
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Tags</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLTag}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Tags</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Tags</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLPreprocIF_Tags()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLTag> getTags();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Keys</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLKey}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Keys</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Keys</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLPreprocIF_Keys()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLKey> getKeys();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Macro Calls</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLMacroCall}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Macro Calls</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Macro Calls</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLPreprocIF_MacroCalls()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLMacroCall> getMacroCalls();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Macro Defines</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLMacroDefine}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Macro Defines</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Macro Defines</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLPreprocIF_MacroDefines()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLMacroDefine> getMacroDefines();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Textdomains</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLTextdomain}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Textdomains</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Textdomains</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLPreprocIF_Textdomains()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLTextdomain> getTextdomains();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Values</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLValue}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Values</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Values</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLPreprocIF_Values()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLValue> getValues();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>If Defs</b></em>' containment reference list.
|
||||
* The list contents are of type {@link org.wesnoth.wML.WMLPreprocIF}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>If Defs</em>' containment reference list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>If Defs</em>' containment reference list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLPreprocIF_IfDefs()
|
||||
* @model containment="true"
|
||||
* @generated
|
||||
*/
|
||||
EList<WMLPreprocIF> getIfDefs();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>Elses</b></em>' attribute list.
|
||||
* The list contents are of type {@link java.lang.String}.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Elses</em>' attribute list isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Elses</em>' attribute list.
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLPreprocIF_Elses()
|
||||
* @model unique="false"
|
||||
* @generated
|
||||
*/
|
||||
EList<String> getElses();
|
||||
|
||||
/**
|
||||
* Returns the value of the '<em><b>End Name</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>End Name</em>' attribute isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>End Name</em>' attribute.
|
||||
* @see #setEndName(String)
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLPreprocIF_EndName()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getEndName();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.wesnoth.wML.WMLPreprocIF#getEndName <em>End Name</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>End Name</em>' attribute.
|
||||
* @see #getEndName()
|
||||
* @generated
|
||||
*/
|
||||
void setEndName(String value);
|
||||
|
||||
} // WMLPreprocIF
|
||||
|
|
|
@ -1,55 +1,55 @@
|
|||
/**
|
||||
* <copyright>
|
||||
* </copyright>
|
||||
*
|
||||
/**
|
||||
* <copyright>
|
||||
* </copyright>
|
||||
*
|
||||
|
||||
*/
|
||||
package org.wesnoth.wML;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>Textdomain</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* <ul>
|
||||
* <li>{@link org.wesnoth.wML.WMLTextdomain#getName <em>Name</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLTextdomain()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface WMLTextdomain extends EObject
|
||||
{
|
||||
/**
|
||||
* Returns the value of the '<em><b>Name</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Name</em>' attribute isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Name</em>' attribute.
|
||||
* @see #setName(String)
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLTextdomain_Name()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getName();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.wesnoth.wML.WMLTextdomain#getName <em>Name</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Name</em>' attribute.
|
||||
* @see #getName()
|
||||
* @generated
|
||||
*/
|
||||
void setName(String value);
|
||||
|
||||
} // WMLTextdomain
|
||||
*/
|
||||
package org.wesnoth.wML;
|
||||
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>Textdomain</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* <ul>
|
||||
* <li>{@link org.wesnoth.wML.WMLTextdomain#getName <em>Name</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLTextdomain()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface WMLTextdomain extends EObject
|
||||
{
|
||||
/**
|
||||
* Returns the value of the '<em><b>Name</b></em>' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <p>
|
||||
* If the meaning of the '<em>Name</em>' attribute isn't clear,
|
||||
* there really should be more of a description here...
|
||||
* </p>
|
||||
* <!-- end-user-doc -->
|
||||
* @return the value of the '<em>Name</em>' attribute.
|
||||
* @see #setName(String)
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLTextdomain_Name()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getName();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.wesnoth.wML.WMLTextdomain#getName <em>Name</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @param value the new value of the '<em>Name</em>' attribute.
|
||||
* @see #getName()
|
||||
* @generated
|
||||
*/
|
||||
void setName(String value);
|
||||
|
||||
} // WMLTextdomain
|
||||
|
|
|
@ -1,54 +1,54 @@
|
|||
/**
|
||||
* <copyright>
|
||||
* </copyright>
|
||||
*
|
||||
/**
|
||||
* <copyright>
|
||||
* </copyright>
|
||||
*
|
||||
|
||||
*/
|
||||
package org.wesnoth.wML;
|
||||
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>Value</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* <ul>
|
||||
* <li>{@link org.wesnoth.wML.WMLValue#getValue <em>Value</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLValue()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface WMLValue extends WMLKeyValue
|
||||
{
|
||||
/**
|
||||
* Returns the value of the '<em><b>Value</b></em>' attribute.
|
||||
* <!-- 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#getWMLValue_Value()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getValue();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.wesnoth.wML.WMLValue#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);
|
||||
|
||||
} // WMLValue
|
||||
*/
|
||||
package org.wesnoth.wML;
|
||||
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* A representation of the model object '<em><b>Value</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
*
|
||||
* <p>
|
||||
* The following features are supported:
|
||||
* <ul>
|
||||
* <li>{@link org.wesnoth.wML.WMLValue#getValue <em>Value</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @see org.wesnoth.wML.WMLPackage#getWMLValue()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
public interface WMLValue extends WMLKeyValue
|
||||
{
|
||||
/**
|
||||
* Returns the value of the '<em><b>Value</b></em>' attribute.
|
||||
* <!-- 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#getWMLValue_Value()
|
||||
* @model
|
||||
* @generated
|
||||
*/
|
||||
String getValue();
|
||||
|
||||
/**
|
||||
* Sets the value of the '{@link org.wesnoth.wML.WMLValue#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);
|
||||
|
||||
} // WMLValue
|
||||
|
|
|
@ -1,169 +1,169 @@
|
|||
/**
|
||||
* <copyright>
|
||||
* </copyright>
|
||||
*
|
||||
/**
|
||||
* <copyright>
|
||||
* </copyright>
|
||||
*
|
||||
|
||||
*/
|
||||
package org.wesnoth.wML.impl;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
import org.eclipse.emf.common.notify.NotificationChain;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
import org.eclipse.emf.ecore.InternalEObject;
|
||||
|
||||
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
|
||||
import org.eclipse.emf.ecore.util.InternalEList;
|
||||
|
||||
import org.wesnoth.wML.WMLArrayCall;
|
||||
import org.wesnoth.wML.WMLPackage;
|
||||
import org.wesnoth.wML.WMLValue;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Array Call</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
* <p>
|
||||
* The following features are implemented:
|
||||
* <ul>
|
||||
* <li>{@link org.wesnoth.wML.impl.WMLArrayCallImpl#getValue <em>Value</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
public class WMLArrayCallImpl extends WMLKeyValueImpl implements WMLArrayCall
|
||||
{
|
||||
/**
|
||||
* The cached value of the '{@link #getValue() <em>Value</em>}' containment reference list.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getValue()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EList<WMLValue> value;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected WMLArrayCallImpl()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected EClass eStaticClass()
|
||||
{
|
||||
return WMLPackage.Literals.WML_ARRAY_CALL;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public EList<WMLValue> getValue()
|
||||
{
|
||||
if (value == null)
|
||||
{
|
||||
value = new EObjectContainmentEList<WMLValue>(WMLValue.class, this, WMLPackage.WML_ARRAY_CALL__VALUE);
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
|
||||
{
|
||||
switch (featureID)
|
||||
{
|
||||
case WMLPackage.WML_ARRAY_CALL__VALUE:
|
||||
return ((InternalEList<?>)getValue()).basicRemove(otherEnd, msgs);
|
||||
}
|
||||
return super.eInverseRemove(otherEnd, featureID, msgs);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Object eGet(int featureID, boolean resolve, boolean coreType)
|
||||
{
|
||||
switch (featureID)
|
||||
{
|
||||
case WMLPackage.WML_ARRAY_CALL__VALUE:
|
||||
return getValue();
|
||||
}
|
||||
return super.eGet(featureID, resolve, coreType);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public void eSet(int featureID, Object newValue)
|
||||
{
|
||||
switch (featureID)
|
||||
{
|
||||
case WMLPackage.WML_ARRAY_CALL__VALUE:
|
||||
getValue().clear();
|
||||
getValue().addAll((Collection<? extends WMLValue>)newValue);
|
||||
return;
|
||||
}
|
||||
super.eSet(featureID, newValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eUnset(int featureID)
|
||||
{
|
||||
switch (featureID)
|
||||
{
|
||||
case WMLPackage.WML_ARRAY_CALL__VALUE:
|
||||
getValue().clear();
|
||||
return;
|
||||
}
|
||||
super.eUnset(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public boolean eIsSet(int featureID)
|
||||
{
|
||||
switch (featureID)
|
||||
{
|
||||
case WMLPackage.WML_ARRAY_CALL__VALUE:
|
||||
return value != null && !value.isEmpty();
|
||||
}
|
||||
return super.eIsSet(featureID);
|
||||
}
|
||||
|
||||
} //WMLArrayCallImpl
|
||||
*/
|
||||
package org.wesnoth.wML.impl;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
import org.eclipse.emf.common.notify.NotificationChain;
|
||||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
import org.eclipse.emf.ecore.InternalEObject;
|
||||
|
||||
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
|
||||
import org.eclipse.emf.ecore.util.InternalEList;
|
||||
|
||||
import org.wesnoth.wML.WMLArrayCall;
|
||||
import org.wesnoth.wML.WMLPackage;
|
||||
import org.wesnoth.wML.WMLValue;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Array Call</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
* <p>
|
||||
* The following features are implemented:
|
||||
* <ul>
|
||||
* <li>{@link org.wesnoth.wML.impl.WMLArrayCallImpl#getValue <em>Value</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
public class WMLArrayCallImpl extends WMLKeyValueImpl implements WMLArrayCall
|
||||
{
|
||||
/**
|
||||
* The cached value of the '{@link #getValue() <em>Value</em>}' containment reference list.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getValue()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected EList<WMLValue> value;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected WMLArrayCallImpl()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected EClass eStaticClass()
|
||||
{
|
||||
return WMLPackage.Literals.WML_ARRAY_CALL;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public EList<WMLValue> getValue()
|
||||
{
|
||||
if (value == null)
|
||||
{
|
||||
value = new EObjectContainmentEList<WMLValue>(WMLValue.class, this, WMLPackage.WML_ARRAY_CALL__VALUE);
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
|
||||
{
|
||||
switch (featureID)
|
||||
{
|
||||
case WMLPackage.WML_ARRAY_CALL__VALUE:
|
||||
return ((InternalEList<?>)getValue()).basicRemove(otherEnd, msgs);
|
||||
}
|
||||
return super.eInverseRemove(otherEnd, featureID, msgs);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Object eGet(int featureID, boolean resolve, boolean coreType)
|
||||
{
|
||||
switch (featureID)
|
||||
{
|
||||
case WMLPackage.WML_ARRAY_CALL__VALUE:
|
||||
return getValue();
|
||||
}
|
||||
return super.eGet(featureID, resolve, coreType);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public void eSet(int featureID, Object newValue)
|
||||
{
|
||||
switch (featureID)
|
||||
{
|
||||
case WMLPackage.WML_ARRAY_CALL__VALUE:
|
||||
getValue().clear();
|
||||
getValue().addAll((Collection<? extends WMLValue>)newValue);
|
||||
return;
|
||||
}
|
||||
super.eSet(featureID, newValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public void eUnset(int featureID)
|
||||
{
|
||||
switch (featureID)
|
||||
{
|
||||
case WMLPackage.WML_ARRAY_CALL__VALUE:
|
||||
getValue().clear();
|
||||
return;
|
||||
}
|
||||
super.eUnset(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public boolean eIsSet(int featureID)
|
||||
{
|
||||
switch (featureID)
|
||||
{
|
||||
case WMLPackage.WML_ARRAY_CALL__VALUE:
|
||||
return value != null && !value.isEmpty();
|
||||
}
|
||||
return super.eIsSet(featureID);
|
||||
}
|
||||
|
||||
} //WMLArrayCallImpl
|
||||
|
|
|
@ -1,48 +1,48 @@
|
|||
/**
|
||||
* <copyright>
|
||||
* </copyright>
|
||||
*
|
||||
/**
|
||||
* <copyright>
|
||||
* </copyright>
|
||||
*
|
||||
|
||||
*/
|
||||
package org.wesnoth.wML.impl;
|
||||
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
|
||||
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
||||
|
||||
import org.wesnoth.wML.WMLKeyValue;
|
||||
import org.wesnoth.wML.WMLPackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Key Value</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
* <p>
|
||||
* </p>
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
public class WMLKeyValueImpl extends MinimalEObjectImpl.Container implements WMLKeyValue
|
||||
{
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected WMLKeyValueImpl()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected EClass eStaticClass()
|
||||
{
|
||||
return WMLPackage.Literals.WML_KEY_VALUE;
|
||||
}
|
||||
|
||||
} //WMLKeyValueImpl
|
||||
*/
|
||||
package org.wesnoth.wML.impl;
|
||||
|
||||
import org.eclipse.emf.ecore.EClass;
|
||||
|
||||
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
||||
|
||||
import org.wesnoth.wML.WMLKeyValue;
|
||||
import org.wesnoth.wML.WMLPackage;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Key Value</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
* <p>
|
||||
* </p>
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
public class WMLKeyValueImpl extends MinimalEObjectImpl.Container implements WMLKeyValue
|
||||
{
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected WMLKeyValueImpl()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected EClass eStaticClass()
|
||||
{
|
||||
return WMLPackage.Literals.WML_KEY_VALUE;
|
||||
}
|
||||
|
||||
} //WMLKeyValueImpl
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1,181 +1,181 @@
|
|||
/**
|
||||
* <copyright>
|
||||
* </copyright>
|
||||
*
|
||||
/**
|
||||
* <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.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
||||
|
||||
import org.wesnoth.wML.WMLPackage;
|
||||
import org.wesnoth.wML.WMLTextdomain;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Textdomain</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
* <p>
|
||||
* The following features are implemented:
|
||||
* <ul>
|
||||
* <li>{@link org.wesnoth.wML.impl.WMLTextdomainImpl#getName <em>Name</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
public class WMLTextdomainImpl extends MinimalEObjectImpl.Container implements WMLTextdomain
|
||||
{
|
||||
/**
|
||||
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getName()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected static final String NAME_EDEFAULT = null;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getName()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected String name = NAME_EDEFAULT;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected WMLTextdomainImpl()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected EClass eStaticClass()
|
||||
{
|
||||
return WMLPackage.Literals.WML_TEXTDOMAIN;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public String getName()
|
||||
{
|
||||
return name;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public void setName(String newName)
|
||||
{
|
||||
String oldName = name;
|
||||
name = newName;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, WMLPackage.WML_TEXTDOMAIN__NAME, oldName, name));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Object eGet(int featureID, boolean resolve, boolean coreType)
|
||||
{
|
||||
switch (featureID)
|
||||
{
|
||||
case WMLPackage.WML_TEXTDOMAIN__NAME:
|
||||
return getName();
|
||||
}
|
||||
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_TEXTDOMAIN__NAME:
|
||||
setName((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_TEXTDOMAIN__NAME:
|
||||
setName(NAME_EDEFAULT);
|
||||
return;
|
||||
}
|
||||
super.eUnset(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public boolean eIsSet(int featureID)
|
||||
{
|
||||
switch (featureID)
|
||||
{
|
||||
case WMLPackage.WML_TEXTDOMAIN__NAME:
|
||||
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
|
||||
}
|
||||
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(" (name: ");
|
||||
result.append(name);
|
||||
result.append(')');
|
||||
return result.toString();
|
||||
}
|
||||
|
||||
} //WMLTextdomainImpl
|
||||
*/
|
||||
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.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
||||
|
||||
import org.wesnoth.wML.WMLPackage;
|
||||
import org.wesnoth.wML.WMLTextdomain;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* An implementation of the model object '<em><b>Textdomain</b></em>'.
|
||||
* <!-- end-user-doc -->
|
||||
* <p>
|
||||
* The following features are implemented:
|
||||
* <ul>
|
||||
* <li>{@link org.wesnoth.wML.impl.WMLTextdomainImpl#getName <em>Name</em>}</li>
|
||||
* </ul>
|
||||
* </p>
|
||||
*
|
||||
* @generated
|
||||
*/
|
||||
public class WMLTextdomainImpl extends MinimalEObjectImpl.Container implements WMLTextdomain
|
||||
{
|
||||
/**
|
||||
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getName()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected static final String NAME_EDEFAULT = null;
|
||||
|
||||
/**
|
||||
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @see #getName()
|
||||
* @generated
|
||||
* @ordered
|
||||
*/
|
||||
protected String name = NAME_EDEFAULT;
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
protected WMLTextdomainImpl()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
protected EClass eStaticClass()
|
||||
{
|
||||
return WMLPackage.Literals.WML_TEXTDOMAIN;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public String getName()
|
||||
{
|
||||
return name;
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
public void setName(String newName)
|
||||
{
|
||||
String oldName = name;
|
||||
name = newName;
|
||||
if (eNotificationRequired())
|
||||
eNotify(new ENotificationImpl(this, Notification.SET, WMLPackage.WML_TEXTDOMAIN__NAME, oldName, name));
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public Object eGet(int featureID, boolean resolve, boolean coreType)
|
||||
{
|
||||
switch (featureID)
|
||||
{
|
||||
case WMLPackage.WML_TEXTDOMAIN__NAME:
|
||||
return getName();
|
||||
}
|
||||
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_TEXTDOMAIN__NAME:
|
||||
setName((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_TEXTDOMAIN__NAME:
|
||||
setName(NAME_EDEFAULT);
|
||||
return;
|
||||
}
|
||||
super.eUnset(featureID);
|
||||
}
|
||||
|
||||
/**
|
||||
* <!-- begin-user-doc -->
|
||||
* <!-- end-user-doc -->
|
||||
* @generated
|
||||
*/
|
||||
@Override
|
||||
public boolean eIsSet(int featureID)
|
||||
{
|
||||
switch (featureID)
|
||||
{
|
||||
case WMLPackage.WML_TEXTDOMAIN__NAME:
|
||||
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
|
||||
}
|
||||
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(" (name: ");
|
||||
result.append(name);
|
||||
result.append(')');
|
||||
return result.toString();
|
||||
}
|
||||
|
||||
} //WMLTextdomainImpl
|
||||
|
|
Loading…
Add table
Reference in a new issue