Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » GMF editor doesn't draw nodes
GMF editor doesn't draw nodes [message #757365] Fri, 18 November 2011 01:42 Go to next message
Patricia Espada is currently offline Patricia EspadaFriend
Messages: 47
Registered: November 2011
Member
Hi

I create a ecore model and then annotated the .emf file, after that I generate the GMF Editor by right-clicking the .emf file. An error occured:

Quote:
Description Resource Path Location Type
This method must return a result of type boolean KAOSStandardViewProvider.java /Kaos.diagram/src/KAOSStandard/diagram/providers line 145 Java Problem


I change that line by returning true.

Then I ran a new Eclipse instance and the editor doesn't let me create any of the nodes. Just the links, but without the nodes I cannot test them.

Any idea to what this mite be?

I don't know if is relevante but I have many nodes with polygon figures, and the coordinates that I specified in the .emf file don't appear in the .gmfgraph file.

Can anyone help me? I get several warnings, but no errors.
Re: GMF editor doesn't draw nodes [message #757460 is a reply to message #757365] Fri, 18 November 2011 14:10 Go to previous messageGo to next message
Patricia Espada is currently offline Patricia EspadaFriend
Messages: 47
Registered: November 2011
Member
Acutally the problem was that I forgot to put the containment true in the root element of my model. But now I got this errors:

Description	Resource	Path	Location	Type
AgentMonitors2CreationTool_desc cannot be resolved or is not a field	KAOSStandardPaletteFactory.java	/Kaos.diagram/src/KAOSStandard/diagram/part	line 348	Java Problem
AgentMonitors2CreationTool_title cannot be resolved or is not a field	KAOSStandardPaletteFactory.java	/Kaos.diagram/src/KAOSStandard/diagram/part	line 347	Java Problem
AgentPerforms3CreationTool_desc cannot be resolved or is not a field	KAOSStandardPaletteFactory.java	/Kaos.diagram/src/KAOSStandard/diagram/part	line 364	Java Problem
AgentPerforms3CreationTool_title cannot be resolved or is not a field	KAOSStandardPaletteFactory.java	/Kaos.diagram/src/KAOSStandard/diagram/part	line 363	Java Problem
ConflictBtwnGoals4CreationTool_desc cannot be resolved or is not a field	KAOSStandardPaletteFactory.java	/Kaos.diagram/src/KAOSStandard/diagram/part	line 380	Java Problem
ConflictBtwnGoals4CreationTool_title cannot be resolved or is not a field	KAOSStandardPaletteFactory.java	/Kaos.diagram/src/KAOSStandard/diagram/part	line 379	Java Problem
GoalToOperatLink5CreationTool_desc cannot be resolved or is not a field	KAOSStandardPaletteFactory.java	/Kaos.diagram/src/KAOSStandard/diagram/part	line 396	Java Problem
GoalToOperatLink5CreationTool_title cannot be resolved or is not a field	KAOSStandardPaletteFactory.java	/Kaos.diagram/src/KAOSStandard/diagram/part	line 395	Java Problem
ObjectIsConcerned6CreationTool_desc cannot be resolved or is not a field	KAOSStandardPaletteFactory.java	/Kaos.diagram/src/KAOSStandard/diagram/part	line 412	Java Problem
ObjectIsConcerned6CreationTool_title cannot be resolved or is not a field	KAOSStandardPaletteFactory.java	/Kaos.diagram/src/KAOSStandard/diagram/part	line 411	Java Problem
RelationConnObject7CreationTool_desc cannot be resolved or is not a field	KAOSStandardPaletteFactory.java	/Kaos.diagram/src/KAOSStandard/diagram/part	line 428	Java Problem
RelationConnObject7CreationTool_title cannot be resolved or is not a field	KAOSStandardPaletteFactory.java	/Kaos.diagram/src/KAOSStandard/diagram/part	line 427	Java Problem
The required feature 'targetMetaFeature' of 'Type Link Model Facet' must be set	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 200'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 200'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 200'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 200'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 200'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 200'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 200'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 200'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 200'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 200'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 200'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 200'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 200'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 200'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 40'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 40'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 40'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 40'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 40'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 40'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 60'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 60'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 60'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 60'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 60'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 60'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 60'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 60'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Default Size Attributes 80'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Design Label Model Facet'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Design Label Model Facet'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Design Label Model Facet'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Design Label Model Facet'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Design Label Model Facet'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Design Label Model Facet'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Design Label Model Facet'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Design Label Model Facet'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Design Label Model Facet'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Design Label Model Facet'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Design Label Model Facet'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Design Label Model Facet'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Design Label Model Facet'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Design Label Model Facet'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'External Parser'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'External Parser'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Feature Label Model Facet'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Feature Label Model Facet'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem
Validation failed unexpectedly for 'Feature Label Model Facet'. See log for details.	KAOS.gmfgen	/Kaos/model	Unknown	EMF Problem


Does anyone know how to resolve them?
Re: GMF editor doesn't draw nodes [message #757473 is a reply to message #757460] Fri, 18 November 2011 15:12 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 919
Registered: July 2009
Senior Member
Hi Patricia,

I tried your metamodel with the latest version of Epsilon/GMF but I got similar validation errors in the .gmfgen - which I suspect are also responsible for the GMF code generator producing bad code. I've checked with the filesystem metamodel (http://eclipse.org/gmt/epsilon/doc/articles/eugenia-gmf-tutorial/) to make sure that recent changes in GMF haven't broken EuGENia and it seems to be working fine so I'm guessing the problem lies somewhere in your metamodel.

To pin down the real source of the error, I'd suggest trying slimming down your metamodel by commenting out everything else except for a few classes (including the root) and then trying to add more classes gradually until the errors start reappearing.

Cheers,
Dimitris
Re: GMF editor doesn't draw nodes [message #757483 is a reply to message #757473] Fri, 18 November 2011 15:28 Go to previous messageGo to next message
Patricia Espada is currently offline Patricia EspadaFriend
Messages: 47
Registered: November 2011
Member
Thank you Dimitris, I will try that.
Re: GMF editor doesn't draw nodes [message #757502 is a reply to message #757483] Fri, 18 November 2011 16:34 Go to previous messageGo to next message
Patricia Espada is currently offline Patricia EspadaFriend
Messages: 47
Registered: November 2011
Member
I have this simple .emf file, and I get an error regarding the polygon figure. It says that polygon cannot be resolved into a type.

@namespace(uri="kaos", prefix="kaos")
package KAOSStandard;

@gmf.diagram(foo="bar")
class KAOS {
  val CompartmentNode[*] hasCompartmentNode;
  val Nodes[*] hasNodes;
  val Links[*] hasLinks;
}

abstract class Links {
  attr String TransformationSource;
}

abstract class CompartmentNode {
  attr String name;
}

@gmf.node(label="name", label.placement="external")
abstract class Nodes {
  attr String name;
  attr String TransformationSource;
  attr String IstarActorContainer;
}

@gmf.node(color="0,191,255", border.color="0,191,255", size="80,50", figure="polygon", polygon.x="30,70,50,10", polygon.y="10,10,40,40")
class Goal extends Nodes {
  attr boolean isRoot = false;
  attr String formalDef;
  attr String informalDef;
}
Re: GMF editor doesn't draw nodes [message #757522 is a reply to message #757502] Fri, 18 November 2011 18:27 Go to previous messageGo to next message
Antonio Garcia-Dominguez is currently offline Antonio Garcia-DominguezFriend
Messages: 310
Registered: January 2010
Senior Member
Patr, the "polygon" figure type is only available in the latest interim version of Epsilon, and not on the stable 0.9.1 version. Do you have the latest interim version installed from here?
Re: GMF editor doesn't draw nodes [message #757573 is a reply to message #757522] Sat, 19 November 2011 16:50 Go to previous message
Patricia Espada is currently offline Patricia EspadaFriend
Messages: 47
Registered: November 2011
Member
Oh, my bad. I didn't instal that version. Thanks Antonio
Re: GMF editor doesn't draw nodes [message #757869 is a reply to message #757460] Fri, 18 November 2011 16:48 Go to previous message
Steffen Zschaler is currently offline Steffen ZschalerFriend
Messages: 228
Registered: July 2009
Senior Member
It may also be helpful to actually delete the gmfgen and generated
source code (assuming you have no hand-crafted stuff in any of it at
this time) before regenerating. EMF can sometimes get a little confused
when you make changes that are too substantial :-)

Steffen

On 18/11/2011 14:10, Patr wrote:
> Acutally the problem was that I forgot to put the containment true in
> the root element of my model. But now I got this errors:
>
> Description Resource Path Location Type
> AgentMonitors2CreationTool_desc cannot be resolved or is not a
> field KAOSStandardPaletteFactory.java
> /Kaos.diagram/src/KAOSStandard/diagram/part line 348 Java Problem
> AgentMonitors2CreationTool_title cannot be resolved or is not a
> field KAOSStandardPaletteFactory.java
> /Kaos.diagram/src/KAOSStandard/diagram/part line 347 Java Problem
> AgentPerforms3CreationTool_desc cannot be resolved or is not a
> field KAOSStandardPaletteFactory.java
> /Kaos.diagram/src/KAOSStandard/diagram/part line 364 Java Problem
> AgentPerforms3CreationTool_title cannot be resolved or is not a
> field KAOSStandardPaletteFactory.java
> /Kaos.diagram/src/KAOSStandard/diagram/part line 363 Java Problem
> ConflictBtwnGoals4CreationTool_desc cannot be resolved or is not a
> field KAOSStandardPaletteFactory.java
> /Kaos.diagram/src/KAOSStandard/diagram/part line 380 Java Problem
> ConflictBtwnGoals4CreationTool_title cannot be resolved or is not a
> field KAOSStandardPaletteFactory.java
> /Kaos.diagram/src/KAOSStandard/diagram/part line 379 Java Problem
> GoalToOperatLink5CreationTool_desc cannot be resolved or is not a
> field KAOSStandardPaletteFactory.java
> /Kaos.diagram/src/KAOSStandard/diagram/part line 396 Java Problem
> GoalToOperatLink5CreationTool_title cannot be resolved or is not a
> field KAOSStandardPaletteFactory.java
> /Kaos.diagram/src/KAOSStandard/diagram/part line 395 Java Problem
> ObjectIsConcerned6CreationTool_desc cannot be resolved or is not a
> field KAOSStandardPaletteFactory.java
> /Kaos.diagram/src/KAOSStandard/diagram/part line 412 Java Problem
> ObjectIsConcerned6CreationTool_title cannot be resolved or is not a
> field KAOSStandardPaletteFactory.java
> /Kaos.diagram/src/KAOSStandard/diagram/part line 411 Java Problem
> RelationConnObject7CreationTool_desc cannot be resolved or is not a
> field KAOSStandardPaletteFactory.java
> /Kaos.diagram/src/KAOSStandard/diagram/part line 428 Java Problem
> RelationConnObject7CreationTool_title cannot be resolved or is not a
> field KAOSStandardPaletteFactory.java
> /Kaos.diagram/src/KAOSStandard/diagram/part line 427 Java Problem
> The required feature 'targetMetaFeature' of 'Type Link Model Facet'
> must be set KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 200'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 200'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 200'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 200'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 200'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 200'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 200'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 200'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 200'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 200'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 200'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 200'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 200'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 200'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 40'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 40'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 40'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 40'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 40'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 40'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 60'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 60'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 60'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 60'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 60'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 60'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 60'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 60'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Default Size Attributes 80'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Design Label Model Facet'. See log
> for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Design Label Model Facet'. See log
> for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Design Label Model Facet'. See log
> for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Design Label Model Facet'. See log
> for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Design Label Model Facet'. See log
> for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Design Label Model Facet'. See log
> for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Design Label Model Facet'. See log
> for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Design Label Model Facet'. See log
> for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Design Label Model Facet'. See log
> for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Design Label Model Facet'. See log
> for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Design Label Model Facet'. See log
> for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Design Label Model Facet'. See log
> for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Design Label Model Facet'. See log
> for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Design Label Model Facet'. See log
> for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'External Parser'. See log for
> details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'External Parser'. See log for
> details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Feature Label Model Facet'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Feature Label Model Facet'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
> Validation failed unexpectedly for 'Feature Label Model Facet'. See
> log for details. KAOS.gmfgen /Kaos/model Unknown EMF Problem
>
>
> Does anyone know how to resolve them?
Re: GMF editor doesn't draw nodes [message #757870 is a reply to message #757502] Fri, 18 November 2011 17:39 Go to previous message
Steffen Zschaler is currently offline Steffen ZschalerFriend
Messages: 228
Registered: July 2009
Senior Member
I think, it is trying to find a polygon Java class implementing the figure.

Best,

Steffen

On 18/11/2011 16:35, Patr wrote:
> I have this simple .emf file, and I get an error regarding the polygon
> figure. It says that polygon cannot be resolved into a type.
>
> @namespace(uri="kaos", prefix="kaos")
> package KAOSStandard;
>
> @gmf.diagram(foo="bar")
> class KAOS {
> val CompartmentNode[*] hasCompartmentNode;
> val Nodes[*] hasNodes;
> val Links[*] hasLinks;
> }
>
> abstract class Links {
> attr String TransformationSource;
> }
>
> abstract class CompartmentNode {
> attr String name;
> }
>
> @gmf.node(label="name", label.placement="external")
> abstract class Nodes {
> attr String name;
> attr String TransformationSource;
> attr String IstarActorContainer;
> }
>
> @gmf.node(color="0,191,255", border.color="0,191,255", size="80,50",
> figure="polygon", polygon.x="30,70,50,10", polygon.y="10,10,40,40")
> class Goal extends Nodes {
> attr boolean isRoot = false;
> attr String formalDef;
> attr String informalDef;
> }
Previous Topic:[Eugenia] Call operations from Formatting.eol
Next Topic:[EVL] Quick fixes are not found
Goto Forum:
  


Current Time: Sat Dec 20 02:25:56 GMT 2014

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

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