FIX: Generated NOT on getText
This commit is contained in:
parent
911c38234f
commit
3f8dd75427
|
|
@ -125,7 +125,7 @@ public class ComplexItemProvider extends NamedObjectItemProvider {
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String getText(Object object) {
|
public String getText(Object object) {
|
||||||
Complex complex = (Complex)object;
|
Complex complex = (Complex) object;
|
||||||
String label = complex.getName();
|
String label = complex.getName();
|
||||||
String typeName = complex.getClassName();
|
String typeName = complex.getClassName();
|
||||||
if (label == null) {
|
if (label == null) {
|
||||||
|
|
|
||||||
|
|
@ -88,13 +88,13 @@ public class LinkItemProvider extends PrimitiveItemProvider {
|
||||||
* This returns the label text for the adapted class.
|
* This returns the label text for the adapted class.
|
||||||
* <!-- begin-user-doc -->
|
* <!-- begin-user-doc -->
|
||||||
* <!-- end-user-doc -->
|
* <!-- end-user-doc -->
|
||||||
* @generated
|
* @generated NOT
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String getText(Object object) {
|
public String getText(Object object) {
|
||||||
Link link = (Link) object;
|
Link link = (Link) object;
|
||||||
String label = link.getName();
|
String label = link.getName();
|
||||||
Complex complex = (Complex)link.getReferenceTo();
|
Complex complex = (Complex) link.getReferenceTo();
|
||||||
String ref = null;
|
String ref = null;
|
||||||
if (complex != null) {
|
if (complex != null) {
|
||||||
ref = complex.getName();
|
ref = complex.getName();
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ import org.eclipse.emf.edit.provider.ViewerNotification;
|
||||||
* This is the item provider adapter for a {@link fr.tpt.mem4csd.loss.NamedObject} object.
|
* This is the item provider adapter for a {@link fr.tpt.mem4csd.loss.NamedObject} object.
|
||||||
* <!-- begin-user-doc -->
|
* <!-- begin-user-doc -->
|
||||||
* <!-- end-user-doc -->
|
* <!-- end-user-doc -->
|
||||||
* @generated
|
* @generated NOT
|
||||||
*/
|
*/
|
||||||
public class NamedObjectItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider,
|
public class NamedObjectItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider,
|
||||||
IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
|
IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
|
||||||
|
|
@ -105,7 +105,7 @@ public class NamedObjectItemProvider extends ItemProviderAdapter implements IEdi
|
||||||
* This returns the label text for the adapted class.
|
* This returns the label text for the adapted class.
|
||||||
* <!-- begin-user-doc -->
|
* <!-- begin-user-doc -->
|
||||||
* <!-- end-user-doc -->
|
* <!-- end-user-doc -->
|
||||||
* @generated
|
* @generated NOT
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String getText(Object object) {
|
public String getText(Object object) {
|
||||||
|
|
|
||||||
|
|
@ -104,7 +104,7 @@ public class PrimitiveItemProvider extends NamedObjectItemProvider {
|
||||||
* This returns the label text for the adapted class.
|
* This returns the label text for the adapted class.
|
||||||
* <!-- begin-user-doc -->
|
* <!-- begin-user-doc -->
|
||||||
* <!-- end-user-doc -->
|
* <!-- end-user-doc -->
|
||||||
* @generated
|
* @generated NOT
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String getText(Object object) {
|
public String getText(Object object) {
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ import org.eclipse.emf.ecore.EAttribute;
|
||||||
import org.eclipse.emf.ecore.EClass;
|
import org.eclipse.emf.ecore.EClass;
|
||||||
import org.eclipse.emf.ecore.EPackage;
|
import org.eclipse.emf.ecore.EPackage;
|
||||||
import org.eclipse.emf.ecore.EReference;
|
import org.eclipse.emf.ecore.EReference;
|
||||||
|
import org.eclipse.emf.ecore.EcorePackage;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <!-- begin-user-doc -->
|
* <!-- begin-user-doc -->
|
||||||
|
|
@ -73,7 +74,7 @@ public interface LossPackage extends EPackage {
|
||||||
* @generated
|
* @generated
|
||||||
* @ordered
|
* @ordered
|
||||||
*/
|
*/
|
||||||
int NAMED_OBJECT__NAME = 0;
|
int NAMED_OBJECT__NAME = EcorePackage.EOBJECT_FEATURE_COUNT + 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The feature id for the '<em><b>Class Name</b></em>' attribute.
|
* The feature id for the '<em><b>Class Name</b></em>' attribute.
|
||||||
|
|
@ -82,7 +83,7 @@ public interface LossPackage extends EPackage {
|
||||||
* @generated
|
* @generated
|
||||||
* @ordered
|
* @ordered
|
||||||
*/
|
*/
|
||||||
int NAMED_OBJECT__CLASS_NAME = 1;
|
int NAMED_OBJECT__CLASS_NAME = EcorePackage.EOBJECT_FEATURE_COUNT + 1;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The number of structural features of the '<em>Named Object</em>' class.
|
* The number of structural features of the '<em>Named Object</em>' class.
|
||||||
|
|
@ -91,7 +92,142 @@ public interface LossPackage extends EPackage {
|
||||||
* @generated
|
* @generated
|
||||||
* @ordered
|
* @ordered
|
||||||
*/
|
*/
|
||||||
int NAMED_OBJECT_FEATURE_COUNT = 2;
|
int NAMED_OBJECT_FEATURE_COUNT = EcorePackage.EOBJECT_FEATURE_COUNT + 2;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EClass</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int NAMED_OBJECT___ECLASS = EcorePackage.EOBJECT___ECLASS;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EIs Proxy</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int NAMED_OBJECT___EIS_PROXY = EcorePackage.EOBJECT___EIS_PROXY;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EResource</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int NAMED_OBJECT___ERESOURCE = EcorePackage.EOBJECT___ERESOURCE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EContainer</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int NAMED_OBJECT___ECONTAINER = EcorePackage.EOBJECT___ECONTAINER;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EContaining Feature</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int NAMED_OBJECT___ECONTAINING_FEATURE = EcorePackage.EOBJECT___ECONTAINING_FEATURE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EContainment Feature</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int NAMED_OBJECT___ECONTAINMENT_FEATURE = EcorePackage.EOBJECT___ECONTAINMENT_FEATURE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EContents</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int NAMED_OBJECT___ECONTENTS = EcorePackage.EOBJECT___ECONTENTS;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EAll Contents</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int NAMED_OBJECT___EALL_CONTENTS = EcorePackage.EOBJECT___EALL_CONTENTS;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>ECross References</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int NAMED_OBJECT___ECROSS_REFERENCES = EcorePackage.EOBJECT___ECROSS_REFERENCES;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EGet</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int NAMED_OBJECT___EGET__ESTRUCTURALFEATURE = EcorePackage.EOBJECT___EGET__ESTRUCTURALFEATURE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EGet</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int NAMED_OBJECT___EGET__ESTRUCTURALFEATURE_BOOLEAN = EcorePackage.EOBJECT___EGET__ESTRUCTURALFEATURE_BOOLEAN;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>ESet</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int NAMED_OBJECT___ESET__ESTRUCTURALFEATURE_OBJECT = EcorePackage.EOBJECT___ESET__ESTRUCTURALFEATURE_OBJECT;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EIs Set</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int NAMED_OBJECT___EIS_SET__ESTRUCTURALFEATURE = EcorePackage.EOBJECT___EIS_SET__ESTRUCTURALFEATURE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EUnset</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int NAMED_OBJECT___EUNSET__ESTRUCTURALFEATURE = EcorePackage.EOBJECT___EUNSET__ESTRUCTURALFEATURE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EInvoke</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int NAMED_OBJECT___EINVOKE__EOPERATION_ELIST = EcorePackage.EOBJECT___EINVOKE__EOPERATION_ELIST;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The number of operations of the '<em>Named Object</em>' class.
|
* The number of operations of the '<em>Named Object</em>' class.
|
||||||
|
|
@ -100,7 +236,7 @@ public interface LossPackage extends EPackage {
|
||||||
* @generated
|
* @generated
|
||||||
* @ordered
|
* @ordered
|
||||||
*/
|
*/
|
||||||
int NAMED_OBJECT_OPERATION_COUNT = 0;
|
int NAMED_OBJECT_OPERATION_COUNT = EcorePackage.EOBJECT_OPERATION_COUNT + 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The meta object id for the '{@link fr.tpt.mem4csd.loss.impl.PrimitiveImpl <em>Primitive</em>}' class.
|
* The meta object id for the '{@link fr.tpt.mem4csd.loss.impl.PrimitiveImpl <em>Primitive</em>}' class.
|
||||||
|
|
@ -148,6 +284,141 @@ public interface LossPackage extends EPackage {
|
||||||
*/
|
*/
|
||||||
int PRIMITIVE_FEATURE_COUNT = NAMED_OBJECT_FEATURE_COUNT + 1;
|
int PRIMITIVE_FEATURE_COUNT = NAMED_OBJECT_FEATURE_COUNT + 1;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EClass</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int PRIMITIVE___ECLASS = NAMED_OBJECT___ECLASS;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EIs Proxy</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int PRIMITIVE___EIS_PROXY = NAMED_OBJECT___EIS_PROXY;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EResource</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int PRIMITIVE___ERESOURCE = NAMED_OBJECT___ERESOURCE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EContainer</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int PRIMITIVE___ECONTAINER = NAMED_OBJECT___ECONTAINER;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EContaining Feature</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int PRIMITIVE___ECONTAINING_FEATURE = NAMED_OBJECT___ECONTAINING_FEATURE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EContainment Feature</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int PRIMITIVE___ECONTAINMENT_FEATURE = NAMED_OBJECT___ECONTAINMENT_FEATURE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EContents</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int PRIMITIVE___ECONTENTS = NAMED_OBJECT___ECONTENTS;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EAll Contents</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int PRIMITIVE___EALL_CONTENTS = NAMED_OBJECT___EALL_CONTENTS;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>ECross References</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int PRIMITIVE___ECROSS_REFERENCES = NAMED_OBJECT___ECROSS_REFERENCES;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EGet</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int PRIMITIVE___EGET__ESTRUCTURALFEATURE = NAMED_OBJECT___EGET__ESTRUCTURALFEATURE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EGet</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int PRIMITIVE___EGET__ESTRUCTURALFEATURE_BOOLEAN = NAMED_OBJECT___EGET__ESTRUCTURALFEATURE_BOOLEAN;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>ESet</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int PRIMITIVE___ESET__ESTRUCTURALFEATURE_OBJECT = NAMED_OBJECT___ESET__ESTRUCTURALFEATURE_OBJECT;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EIs Set</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int PRIMITIVE___EIS_SET__ESTRUCTURALFEATURE = NAMED_OBJECT___EIS_SET__ESTRUCTURALFEATURE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EUnset</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int PRIMITIVE___EUNSET__ESTRUCTURALFEATURE = NAMED_OBJECT___EUNSET__ESTRUCTURALFEATURE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EInvoke</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int PRIMITIVE___EINVOKE__EOPERATION_ELIST = NAMED_OBJECT___EINVOKE__EOPERATION_ELIST;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The number of operations of the '<em>Primitive</em>' class.
|
* The number of operations of the '<em>Primitive</em>' class.
|
||||||
* <!-- begin-user-doc -->
|
* <!-- begin-user-doc -->
|
||||||
|
|
@ -212,6 +483,141 @@ public interface LossPackage extends EPackage {
|
||||||
*/
|
*/
|
||||||
int LINK_FEATURE_COUNT = PRIMITIVE_FEATURE_COUNT + 1;
|
int LINK_FEATURE_COUNT = PRIMITIVE_FEATURE_COUNT + 1;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EClass</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int LINK___ECLASS = PRIMITIVE___ECLASS;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EIs Proxy</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int LINK___EIS_PROXY = PRIMITIVE___EIS_PROXY;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EResource</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int LINK___ERESOURCE = PRIMITIVE___ERESOURCE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EContainer</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int LINK___ECONTAINER = PRIMITIVE___ECONTAINER;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EContaining Feature</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int LINK___ECONTAINING_FEATURE = PRIMITIVE___ECONTAINING_FEATURE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EContainment Feature</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int LINK___ECONTAINMENT_FEATURE = PRIMITIVE___ECONTAINMENT_FEATURE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EContents</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int LINK___ECONTENTS = PRIMITIVE___ECONTENTS;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EAll Contents</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int LINK___EALL_CONTENTS = PRIMITIVE___EALL_CONTENTS;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>ECross References</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int LINK___ECROSS_REFERENCES = PRIMITIVE___ECROSS_REFERENCES;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EGet</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int LINK___EGET__ESTRUCTURALFEATURE = PRIMITIVE___EGET__ESTRUCTURALFEATURE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EGet</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int LINK___EGET__ESTRUCTURALFEATURE_BOOLEAN = PRIMITIVE___EGET__ESTRUCTURALFEATURE_BOOLEAN;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>ESet</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int LINK___ESET__ESTRUCTURALFEATURE_OBJECT = PRIMITIVE___ESET__ESTRUCTURALFEATURE_OBJECT;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EIs Set</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int LINK___EIS_SET__ESTRUCTURALFEATURE = PRIMITIVE___EIS_SET__ESTRUCTURALFEATURE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EUnset</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int LINK___EUNSET__ESTRUCTURALFEATURE = PRIMITIVE___EUNSET__ESTRUCTURALFEATURE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EInvoke</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int LINK___EINVOKE__EOPERATION_ELIST = PRIMITIVE___EINVOKE__EOPERATION_ELIST;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The number of operations of the '<em>Link</em>' class.
|
* The number of operations of the '<em>Link</em>' class.
|
||||||
* <!-- begin-user-doc -->
|
* <!-- begin-user-doc -->
|
||||||
|
|
@ -276,6 +682,141 @@ public interface LossPackage extends EPackage {
|
||||||
*/
|
*/
|
||||||
int COMPLEX_FEATURE_COUNT = NAMED_OBJECT_FEATURE_COUNT + 2;
|
int COMPLEX_FEATURE_COUNT = NAMED_OBJECT_FEATURE_COUNT + 2;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EClass</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int COMPLEX___ECLASS = NAMED_OBJECT___ECLASS;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EIs Proxy</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int COMPLEX___EIS_PROXY = NAMED_OBJECT___EIS_PROXY;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EResource</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int COMPLEX___ERESOURCE = NAMED_OBJECT___ERESOURCE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EContainer</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int COMPLEX___ECONTAINER = NAMED_OBJECT___ECONTAINER;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EContaining Feature</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int COMPLEX___ECONTAINING_FEATURE = NAMED_OBJECT___ECONTAINING_FEATURE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EContainment Feature</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int COMPLEX___ECONTAINMENT_FEATURE = NAMED_OBJECT___ECONTAINMENT_FEATURE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EContents</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int COMPLEX___ECONTENTS = NAMED_OBJECT___ECONTENTS;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EAll Contents</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int COMPLEX___EALL_CONTENTS = NAMED_OBJECT___EALL_CONTENTS;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>ECross References</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int COMPLEX___ECROSS_REFERENCES = NAMED_OBJECT___ECROSS_REFERENCES;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EGet</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int COMPLEX___EGET__ESTRUCTURALFEATURE = NAMED_OBJECT___EGET__ESTRUCTURALFEATURE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EGet</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int COMPLEX___EGET__ESTRUCTURALFEATURE_BOOLEAN = NAMED_OBJECT___EGET__ESTRUCTURALFEATURE_BOOLEAN;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>ESet</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int COMPLEX___ESET__ESTRUCTURALFEATURE_OBJECT = NAMED_OBJECT___ESET__ESTRUCTURALFEATURE_OBJECT;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EIs Set</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int COMPLEX___EIS_SET__ESTRUCTURALFEATURE = NAMED_OBJECT___EIS_SET__ESTRUCTURALFEATURE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EUnset</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int COMPLEX___EUNSET__ESTRUCTURALFEATURE = NAMED_OBJECT___EUNSET__ESTRUCTURALFEATURE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The operation id for the '<em>EInvoke</em>' operation.
|
||||||
|
* <!-- begin-user-doc -->
|
||||||
|
* <!-- end-user-doc -->
|
||||||
|
* @generated
|
||||||
|
* @ordered
|
||||||
|
*/
|
||||||
|
int COMPLEX___EINVOKE__EOPERATION_ELIST = NAMED_OBJECT___EINVOKE__EOPERATION_ELIST;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The number of operations of the '<em>Complex</em>' class.
|
* The number of operations of the '<em>Complex</em>' class.
|
||||||
* <!-- begin-user-doc -->
|
* <!-- begin-user-doc -->
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@ import fr.tpt.mem4csd.loss.LossFactory;
|
||||||
import fr.tpt.mem4csd.loss.LossPackage;
|
import fr.tpt.mem4csd.loss.LossPackage;
|
||||||
import fr.tpt.mem4csd.loss.NamedObject;
|
import fr.tpt.mem4csd.loss.NamedObject;
|
||||||
import fr.tpt.mem4csd.loss.Primitive;
|
import fr.tpt.mem4csd.loss.Primitive;
|
||||||
|
|
||||||
import org.eclipse.emf.ecore.EAttribute;
|
import org.eclipse.emf.ecore.EAttribute;
|
||||||
import org.eclipse.emf.ecore.EClass;
|
import org.eclipse.emf.ecore.EClass;
|
||||||
import org.eclipse.emf.ecore.EPackage;
|
import org.eclipse.emf.ecore.EPackage;
|
||||||
|
|
@ -289,6 +288,7 @@ public class LossPackageImpl extends EPackageImpl implements LossPackage {
|
||||||
// Set bounds for type parameters
|
// Set bounds for type parameters
|
||||||
|
|
||||||
// Add supertypes to classes
|
// Add supertypes to classes
|
||||||
|
namedObjectEClass.getESuperTypes().add(ecorePackage.getEObject());
|
||||||
primitiveEClass.getESuperTypes().add(this.getNamedObject());
|
primitiveEClass.getESuperTypes().add(this.getNamedObject());
|
||||||
linkEClass.getESuperTypes().add(this.getPrimitive());
|
linkEClass.getESuperTypes().add(this.getPrimitive());
|
||||||
complexEClass.getESuperTypes().add(this.getNamedObject());
|
complexEClass.getESuperTypes().add(this.getNamedObject());
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ import org.eclipse.emf.common.notify.Notification;
|
||||||
|
|
||||||
import org.eclipse.emf.ecore.EClass;
|
import org.eclipse.emf.ecore.EClass;
|
||||||
import org.eclipse.emf.ecore.impl.ENotificationImpl;
|
import org.eclipse.emf.ecore.impl.ENotificationImpl;
|
||||||
import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
import org.eclipse.emf.ecore.impl.EObjectImpl;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <!-- begin-user-doc -->
|
* <!-- begin-user-doc -->
|
||||||
|
|
@ -25,7 +25,7 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
|
||||||
*
|
*
|
||||||
* @generated
|
* @generated
|
||||||
*/
|
*/
|
||||||
public abstract class NamedObjectImpl extends MinimalEObjectImpl.Container implements NamedObject {
|
public abstract class NamedObjectImpl extends EObjectImpl implements NamedObject {
|
||||||
/**
|
/**
|
||||||
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
|
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
|
||||||
* <!-- begin-user-doc -->
|
* <!-- begin-user-doc -->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue