[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmf] Re: How to visualize a reference?
|
Hello Alex,
I tried that, but I can only select attributes of Edge.*
This is the Link mapping I have now:
<links>
<domainMetaElement
href="cif.ecore#//Edge"/>
<labelMappings
xsi:type="gmfmap:FeatureLabelMapping"
viewPattern=""
editorPattern=""
editPattern="">
<diagramLabel
href="cif.gmfgraph#EdgeUrgentLabel"/>
<features
href="cif.ecore#//Edge/urgent"/>
</labelMappings>
<containmentFeature
href="cif.ecore#//Automaton/edges"/>
<tool
xsi:type="gmftool:CreationTool"
href="cif.gmftool#//@palette/@tools.0/@tools.2"/>
<diagramLink
href="cif.gmfgraph#Edge"/>
<sourceMetaFeature
xsi:type="ecore:EReference"
href="cif.ecore#//Edge/sourceLocation"/>
<linkMetaFeature
xsi:type="ecore:EReference"
href="cif.ecore#//Edge/targetLocation"/>
</links>
Peter Thijs
Alex Shatalin wrote:
Hello Peter,
Use FeatureLabelMapping (child element of LinkMapping). See ecore
diagram example for the details.
-----------------
Alex Shatalin