Skip to main content


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 21:28 Go to next message
serhat gezgin is currently offline serhat gezginFriend
Messages: 243
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 06:05]

Report message to a moderator

Re: Cant Generate diagram Tools [message #1105728 is a reply to message #1105429] Tue, 10 September 2013 07:59 Go to previous messageGo to next message
Antonio Garcia-Dominguez is currently offline Antonio Garcia-DominguezFriend
Messages: 594
Registered: January 2010
Location: Birmingham, UK
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 10:48 Go to previous message
serhat gezgin is currently offline serhat gezginFriend
Messages: 243
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: Fri Mar 29 06:50:23 GMT 2024

Powered by FUDForum. Page generated in 0.02972 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top