Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [gmf-dev] Diagnosis of org.eclipse.gmf.mappings.impl.MappingImpl@1998c51{platform:/resource/org.eclipse.gmf.examples.mindmap/models/mindmap.gmfmap#/}, The required feature 'diagramLabel' of 'org.eclipse.gmf.mappings.impl.LabelMappingImpl@1cb4df3{platf

Hi Kris,

I recommend you watch the viewlets that are linked from the tutorial on
the wiki site.  This should clarify most of the 'where is it?' type of
questions.

Best,
Rich 

-----Original Message-----
From: gmf-dev-bounces@xxxxxxxxxxx [mailto:gmf-dev-bounces@xxxxxxxxxxx]
On Behalf Of Kris McGlinn
Sent: Wednesday, May 31, 2006 10:26 AM
To: gmf-dev@xxxxxxxxxxx
Subject: [gmf-dev] Diagnosis of
org.eclipse.gmf.mappings.impl.MappingImpl@1998c51{platform:/resource/org
.eclipse.gmf.examples.mindmap/models/mindmap.gmfmap#/}, The required
feature 'diagramLabel' of
'org.eclipse.gmf.mappings.impl.LabelMappingImpl@1cb4df3{platform:

Hi Again Richard,

Thanks for the help, I was away myself and only got back today. I have
been looking over your advice and its true I was not working from the
cheat sheet originally. I am now working from the cheat sheet but I am
still encountering problems. I have the following problem with the cheat
sheets explaination for doing the following:

/2. Select the Mindmap package below the root of the genmodel and in the
Properties view, change the Base Package property to
org.eclipse.gmf.examples. /

Is the mindmap package the package we have created? If so, it doesnt
appear to be below the mindmap.genmodel. The mindmap.genmodel is
situated inside my models folder inside the
org.eclipse.gmf.examples.mindmap package.
In the properties view of the genmodel I cannot find a "Base Package",
there is a location and a path, are these the Base Package?

Other than that I have followed the instruction of the cheat sheet and
still appear to be getting the following error:

Diagnosis of
org.eclipse.gmf.mappings.impl.MappingImpl@1998c51{platform:/resource/org
.eclipse.gmf.examples.mindmap/models/mindmap.gmfmap#/},
The required feature 'diagramLabel' of
'org.eclipse.gmf.mappings.impl.LabelMappingImpl@1cb4df3{platform:/resour
ce/org.eclipse.gmf.examples.mindmap/models/mindmap.gmfmap#//@nodes.0/@ow
nedChild/@labelMappings.0}' 
must be set

I can change Diagram Label to Diagram Label TopicNameElement, so I amnt
sure what the problem currently is to be honest. Is there something I
have missed?

Thanks again,

Kris.




gmf-dev-request@xxxxxxxxxxx wrote:
> Send gmf-dev mailing list submissions to
> 	gmf-dev@xxxxxxxxxxx
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://dev.eclipse.org/mailman/listinfo/gmf-dev
> or, via email, send a message with subject or body 'help' to
> 	gmf-dev-request@xxxxxxxxxxx
>
> You can reach the person managing the list at
> 	gmf-dev-owner@xxxxxxxxxxx
>
> When replying, please edit your Subject line so it is more specific 
> than "Re: Contents of gmf-dev digest..."
>
>
> Today's Topics:
>
>    1. RE: mindmap models (Richard Gronback)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 26 May 2006 10:08:00 -0700
> From: "Richard Gronback" <Richard.Gronback@xxxxxxxxxxx>
> Subject: RE: [gmf-dev] mindmap models
> To: "GMF Project developer discussions." <gmf-dev@xxxxxxxxxxx>
> Message-ID:
>
<4BE03B3B62A5C349B798C652A6885F695F3E39@xxxxxxxxxxxxxxxxxxxxxxxxxx>
> Content-Type: text/plain;	charset="us-ascii"
>
> Hi Kris,
>
> Sorry for the delay, as I was traveling yesterday.
>
> First thing I noticed was the missing base package setting in the 
> mindmap.genmodel (it should be org.eclipse.gmf.examples, although it 
> should be optional).
>
> Also, the gmfgraph model looks to have been created with every domain 
> element checked in the wizard.  You only needed to have checked the 
> Topic as an element, its name attribute as a label, and its subtopics 
> reference as a link.
>
> The reason you were unable to find the right mapping for the label is 
> that the mindmap.gmfgraph was not loaded in the mapping model editor.
> Odd, as this should be done using the wizard if you use the
cheatsheet.
> It had the basic.gmfgraph loaded, which is a default for the wizard 
> not launched from the cheat sheet link.  Anyway, to load another 
> gmfgraph afterwards, you can just right-click in the gmfmap editor and

> select Load Resource...  Pick your mindmap.gmfgraph and you'll then 
> see the proper list of labels available.
>
> Hope this helps,
> Rich
>
> -----Original Message-----
> From: gmf-dev-bounces@xxxxxxxxxxx [mailto:gmf-dev-bounces@xxxxxxxxxxx]
> On Behalf Of Kris McGlinn
> Sent: Thursday, May 25, 2006 5:12 AM
> To: gmf-dev@xxxxxxxxxxx
> Subject: [gmf-dev] mindmap models
>
> Hey Rich,
>
> Cheers for that, here are a copy of the mindmap models,
>
> Thanks,
>
> Kris.
>
>
> ------------------------------
>
> _______________________________________________
> gmf-dev mailing list
> gmf-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/gmf-dev
>
>
> End of gmf-dev Digest, Vol 13, Issue 20
> ***************************************
>
>   


_______________________________________________
gmf-dev mailing list
gmf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/gmf-dev


Back to the top