Link style doesnt work [message #1755342] |
Thu, 02 March 2017 13:27 |
Lainis 20 Messages: 26 Registered: November 2016 |
Junior Member |
|
|
Hi,
I have a metamodel with different connectors, some of them should be acording to style annotation dot and dash, but all of them looks like they have solid style. (the other properties do work)
Here is an example of a dot link on my ecore
<eClassifiers xsi:type="ecore:EClass" name="Realization" eSuperTypes="#//Relation">
<eAnnotations source="gmf.link">
<details key="label" value="connectorName"/>
<details key="source" value="sourceC"/>
<details key="target" value="targetC"/>
<details key="style " value="dot"/>
<details key="width" value="1"/>
<details key="color" value="0,0,0"/>
<details key="source.decoration" value="none"/>
<details key="target.decoration" value="closedarrow"/>
<details key="tool.small.path" value="file:/C:/Users/project/images/icons/RealizationIcon.gif"/>
</eAnnotations>
</eClassifiers>
and the cinterface of my class do have the style too:
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Realization</b></em>'.
* <!-- end-user-doc -->
*
*
* @see archimateC3.ArchimateC3Package#getRealization()
* @model annotation="gmf.link label='connectorName' source='sourceC' target='targetC' style\040='dot' width='1' color='0,0,0' source.decoration='none' target.decoration='closedarrow' tool.small.path='file:/C:/project/images/icons/RealizationIcon.gif'"
* @generated
*/
public interface Realization extends ArchimateRelation {
} // Realization
I'm using Eclipse Version: Luna SR2 (4.4.2)
and GMF 3.2.1.201409171321
Thank you so much for your help!!
[Updated on: Thu, 02 March 2017 13:30] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03613 seconds