Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Cant Generate diagram Tools
Cant Generate diagram Tools [message #1105429] Mon, 09 September 2013 17:28 Go to next message
serhat gezgin is currently offline serhat gezgin
Messages: 237
Registered: January 2013
Location: Izmir
Senior Member
Hi,

When i get update today (Epsilon), my generate GMF tool, graph and map models on .ecore file action don't work

i always get this errors;

1 - "No label defined for class ViewField". But i already defined one as;

@gmf.node(label="name", border.color="0,0,0")
class ViewField {
ref Field field;
attr String[1] name = "default";
}

and

2 - "No reference named self exists in link class LookupField". But i already defined as;

@gmf.link(label="displayName", source="sourceContentType", target="contentType", target.decoration="arrow", style="solid", width="1", color="0,0,0")
class LookupField extends Field {
attr boolean multiplicity;
attr Releationship[1] releationship;
ref ContentType[1] targetContentType;
ref Field[1] showField;
ref ContentType[1] sourceContentType;
}

on Error View i get this errors;

1- Exception encountered whilst trying to retrieve EPackage for nsUri: virtualEmf
2- Resource '/com.mdd4cca.msf.content/model/Content.ecore#/LookupField' does not exist.
3- Resource '/com.mdd4cca.msf.content/model/Content.ecore#/ViewField' does not exist.

4- Cannot generate link for class ForeignKey because it cannot be contained in any containment reference of diagram root ContentModel

but i already do this as;

@gmf.node(label="name", border.color="0,0,0")
class Table extends NamedElement {
val ForeignKey[*]#sourceTable ownedForeignkeys; //Here

@gmf.compartment(layout="list", collapsible="false")
val Column[*]#table columns;
!ordered ref DataBase[1]#tables database;

@gmf.link(target.decoration="arrow", style="dash", width="1", color="0,0,0", tool.small.bundle="com.mdd4cca.msf.content.figures", tool.small.path="images/PlugColored.png")
ref ContentType releatedContentType;
}

But they are already exist in ecore. I think virtualEmf broken this.

why dont understand.

[Updated on: Tue, 10 September 2013 02:05]

Report message to a moderator

Re: Cant Generate diagram Tools [message #1105728 is a reply to message #1105429] Tue, 10 September 2013 03:59 Go to previous messageGo to next message
Antonio Garcia-Dominguez is currently offline Antonio Garcia-Dominguez
Messages: 304
Registered: January 2010
Senior Member
Hi serhat,

Can you send us the problematic .ecore file so we can have a look at this? If the .ecore file has sensitive information, you can always mail it to us at epsilon dot devs at gmail dot com.

Best regards,
Antonio
Re: Cant Generate diagram Tools [message #1105840 is a reply to message #1105728] Tue, 10 September 2013 06:48 Go to previous message
serhat gezgin is currently offline serhat gezgin
Messages: 237
Registered: January 2013
Location: Izmir
Senior Member
Hi,

I send the mail u received ?

Regards
Previous Topic:org.eclipse.epsilon.emc.emf.virtual problem
Next Topic:[EVL] Provide variable to EvlModule
Goto Forum:
  


Current Time: Sun Aug 31 04:28:33 EDT 2014

Powered by FUDForum. Page generated in 0.11143 seconds