Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Link style doesnt work(My changes in link annotation style does not work)
Link style doesnt work [message #1755342] Thu, 02 March 2017 13:27
Lainis 20 is currently offline Lainis 20Friend
Messages: 26
Registered: November 2016
Junior Member

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="">
<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"/>

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=" 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

Thank you so much for your help!!

[Updated on: Thu, 02 March 2017 13:30]

Report message to a moderator

Previous Topic: Solution for exceeding the 65535 bytes limit error
Next Topic:create node using outgoing connection handle
Goto Forum:

Current Time: Fri Jun 14 07:02:28 GMT 2024

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

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

Back to the top