"Invalid view - remove from diagram" on diagrams created with older GMF opened in latest G [message #232788] |
Fri, 05 June 2009 15:05  |
Eclipse User |
|
|
|
With diagrams created with older GMF (Eclipse 3.3), when we bring them
into 3.5, we get a Invalid view - remove from diagram, in the top left
corner. Recreating the diagram from the .*xml file creates it just fine.
Comparing the digram file (old and new) I see that a number of changes
in the xmi:types
notation:Edge changed to notation:Connector
some notation:Node changed to notation:Shape
some notation:Node change to notation:DecorationNode
Are these know changes or are we missing something... Any other option
that recreating the diagram, or writing a conversion from old to new...
Thanks
Brian Jakubik
|
|
|
|
|
Re: "Invalid view - remove from diagram" on diagrams created with olderGMF opened in lates [message #234322 is a reply to message #234316] |
Fri, 19 June 2009 18:55   |
Eclipse User |
|
|
|
This is a multi-part message in MIME format.
--------------070904030000080906060008
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Attached files this time
Alex, sorry it took so long to get back to you...
Attached are my 2 diagram files, the old was from our tool using the 3.3
GMF, the new is our diagram created from the same model file.
Most of the changes appear to be in line with what I originally posted,
however the old one still has a ConnectorStyle that the new does not.
The old I am getting invalid view on the connections... the new appears
to be fine.
any help would be appreciated.
Thanks
Alex Shatalin wrote:
> Hello Brian,
>
> All these changes are known and should be backward compatible. Are you
> sure there are no other differences in diagram files?
>
> -----------------
> Alex Shatalin
>
>
--------------070904030000080906060008
Content-Type: text/xml;
name="Voice-old.diagram"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="Voice-old.diagram"
<?xml version="1.0" encoding="UTF-8"?>
<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:icxml="http://www.intervoice.com/icxml" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmi:id="_fcVDMV0gEd6NTtdAqnR5mA" type="Icxml" name="Voice-6.0.1.diagram" measurementUnit="Pixel">
<children xmi:type="notation:Node" xmi:id="_fcVDMl0gEd6NTtdAqnR5mA" type="2044">
<children xmi:type="notation:Node" xmi:id="_fcVDM10gEd6NTtdAqnR5mA" type="5044">
<layoutConstraint xmi:type="notation:Location" xmi:id="_fcVDNF0gEd6NTtdAqnR5mA" y="5"/>
</children>
<styles xmi:type="notation:ShapeStyle" xmi:id="_fcVDNV0gEd6NTtdAqnR5mA"/>
<element xmi:type="icxml:VoiceBegin" href="Voice-6.0.1.icxml#_fbvNUF0gEd6NTtdAqnR5mA"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_fcVDNl0gEd6NTtdAqnR5mA" x="24" y="24" width="58" height="43"/>
</children>
<children xmi:type="notation:Node" xmi:id="_fcVDN10gEd6NTtdAqnR5mA" type="2045">
<children xmi:type="notation:Node" xmi:id="_fcVDOF0gEd6NTtdAqnR5mA" type="5045">
<layoutConstraint xmi:type="notation:Location" xmi:id="_fcVDOV0gEd6NTtdAqnR5mA" y="5"/>
</children>
<styles xmi:type="notation:ShapeStyle" xmi:id="_fcVDOl0gEd6NTtdAqnR5mA"/>
<element xmi:type="icxml:VoiceEnd" href="Voice-6.0.1.icxml#_fcCIQF0gEd6NTtdAqnR5mA"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_fcVDO10gEd6NTtdAqnR5mA" x="264" y="24" width="58" height="43"/>
</children>
<children xmi:type="notation:Node" xmi:id="_gAijgV0gEd6NTtdAqnR5mA" type="2003">
<children xmi:type="notation:Node" xmi:id="_gAijhF0gEd6NTtdAqnR5mA" type="5003">
<layoutConstraint xmi:type="notation:Location" xmi:id="_gAijhV0gEd6NTtdAqnR5mA" y="5"/>
</children>
<styles xmi:type="notation:ShapeStyle" xmi:id="_gAijgl0gEd6NTtdAqnR5mA"/>
<element xmi:type="icxml:Comment" href="Voice-6.0.1.icxml#_gAYygF0gEd6NTtdAqnR5mA"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_gAijg10gEd6NTtdAqnR5mA" x="144" y="24" width="58" height="43"/>
</children>
<styles xmi:type="notation:DiagramStyle" xmi:id="_fcVDPF0gEd6NTtdAqnR5mA"/>
<element xmi:type="icxml:RootType" href="Voice-6.0.1.icxml#_fbcSYV0gEd6NTtdAqnR5mA"/>
<edges xmi:type="notation:Edge" xmi:id="_ffUFwF0gEd6NTtdAqnR5mA" type="4001" source="_fcVDMl0gEd6NTtdAqnR5mA" target="_gAijgV0gEd6NTtdAqnR5mA">
<children xmi:type="notation:Node" xmi:id="_ffUFxF0gEd6NTtdAqnR5mA" type="6001">
<layoutConstraint xmi:type="notation:Location" xmi:id="_ffUFxV0gEd6NTtdAqnR5mA" y="7"/>
</children>
<styles xmi:type="notation:ConnectorStyle" xmi:id="_ffUFwV0gEd6NTtdAqnR5mA"/>
<styles xmi:type="notation:FontStyle" xmi:id="_ffUFwl0gEd6NTtdAqnR5mA"/>
<element xmi:type="icxml:DefaultConnection" href="Voice-6.0.1.icxml#_fcVDMF0gEd6NTtdAqnR5mA"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ffUFw10gEd6NTtdAqnR5mA" points="[29, 0, -89, 0]$[89, 0, -29, 0]"/>
</edges>
<edges xmi:type="notation:Edge" xmi:id="_hVdvEF0gEd6NTtdAqnR5mA" type="4001" source="_gAijgV0gEd6NTtdAqnR5mA" target="_fcVDN10gEd6NTtdAqnR5mA">
<children xmi:type="notation:Node" xmi:id="_hVdvFF0gEd6NTtdAqnR5mA" type="6001">
<layoutConstraint xmi:type="notation:Location" xmi:id="_hVdvFV0gEd6NTtdAqnR5mA" y="7"/>
</children>
<styles xmi:type="notation:ConnectorStyle" xmi:id="_hVdvEV0gEd6NTtdAqnR5mA"/>
<styles xmi:type="notation:FontStyle" xmi:id="_hVdvEl0gEd6NTtdAqnR5mA"/>
<element xmi:type="icxml:DefaultConnection" href="Voice-6.0.1.icxml#_hVT_EF0gEd6NTtdAqnR5mA"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_hVdvE10gEd6NTtdAqnR5mA" points="[29, 0, -89, 0]$[89, 0, -29, 0]"/>
</edges>
</notation:Diagram>
--------------070904030000080906060008
Content-Type: text/xml;
name="Voice-new.diagram"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="Voice-new.diagram"
<?xml version="1.0" encoding="UTF-8"?>
<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:icxml="http://www.intervoice.com/icxml" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmi:id="_H4Zz8F0iEd6Ku5MbvafxOA" type="Icxml" measurementUnit="Pixel">
<children xmi:type="notation:Shape" xmi:id="_IDlJMF0iEd6Ku5MbvafxOA" type="2044" fontName="Microsoft Sans Serif">
<children xmi:type="notation:DecorationNode" xmi:id="_IDlJMl0iEd6Ku5MbvafxOA" type="5044">
<layoutConstraint xmi:type="notation:Location" xmi:id="_IDlJM10iEd6Ku5MbvafxOA" y="5"/>
</children>
<element xmi:type="icxml:VoiceBegin" href="Voice-6.0.1.icxml#_fbvNUF0gEd6NTtdAqnR5mA"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_IDlJMV0iEd6Ku5MbvafxOA" x="24" y="24" width="58" height="43"/>
</children>
<children xmi:type="notation:Shape" xmi:id="_IDlJNF0iEd6Ku5MbvafxOA" type="2045" fontName="Microsoft Sans Serif">
<children xmi:type="notation:DecorationNode" xmi:id="_IDlJNl0iEd6Ku5MbvafxOA" type="5045">
<layoutConstraint xmi:type="notation:Location" xmi:id="_IDlJN10iEd6Ku5MbvafxOA" y="5"/>
</children>
<element xmi:type="icxml:VoiceEnd" href="Voice-6.0.1.icxml#_fcCIQF0gEd6NTtdAqnR5mA"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_IDlJNV0iEd6Ku5MbvafxOA" x="264" y="24" width="58" height="43"/>
</children>
<children xmi:type="notation:Shape" xmi:id="_IDlJOF0iEd6Ku5MbvafxOA" type="2003" fontName="Microsoft Sans Serif">
<children xmi:type="notation:DecorationNode" xmi:id="_IDu6MF0iEd6Ku5MbvafxOA" type="5003">
<layoutConstraint xmi:type="notation:Location" xmi:id="_IDu6MV0iEd6Ku5MbvafxOA" y="5"/>
</children>
<element xmi:type="icxml:Comment" href="Voice-6.0.1.icxml#_gAYygF0gEd6NTtdAqnR5mA"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_IDlJOV0iEd6Ku5MbvafxOA" x="144" y="24" width="58" height="43"/>
</children>
<styles xmi:type="notation:DiagramStyle" xmi:id="_H4Zz8V0iEd6Ku5MbvafxOA"/>
<element xmi:type="icxml:RootType" href="Voice-6.0.1.icxml#_fbcSYV0gEd6NTtdAqnR5mA"/>
<edges xmi:type="notation:Connector" xmi:id="_ID4EIF0iEd6Ku5MbvafxOA" type="4001" source="_IDlJMF0iEd6Ku5MbvafxOA" target="_IDlJOF0iEd6Ku5MbvafxOA">
<children xmi:type="notation:DecorationNode" xmi:id="_ID4EI10iEd6Ku5MbvafxOA" type="6001">
<layoutConstraint xmi:type="notation:Location" xmi:id="_ID4EJF0iEd6Ku5MbvafxOA" y="7"/>
</children>
<styles xmi:type="notation:FontStyle" xmi:id="_ID4EIV0iEd6Ku5MbvafxOA" fontName="Microsoft Sans Serif"/>
<element xmi:type="icxml:DefaultConnection" href="Voice-6.0.1.icxml#_fcVDMF0gEd6NTtdAqnR5mA"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ID4EIl0iEd6Ku5MbvafxOA" points="[29, 0, -89, 0]$[89, 0, -29, 0]"/>
</edges>
<edges xmi:type="notation:Connector" xmi:id="_IEUwEF0iEd6Ku5MbvafxOA" type="4001" source="_IDlJOF0iEd6Ku5MbvafxOA" target="_IDlJNF0iEd6Ku5MbvafxOA">
<children xmi:type="notation:DecorationNode" xmi:id="_IEUwE10iEd6Ku5MbvafxOA" type="6001">
<layoutConstraint xmi:type="notation:Location" xmi:id="_IEUwFF0iEd6Ku5MbvafxOA" y="7"/>
</children>
<styles xmi:type="notation:FontStyle" xmi:id="_IEUwEV0iEd6Ku5MbvafxOA" fontName="Microsoft Sans Serif"/>
<element xmi:type="icxml:DefaultConnection" href="Voice-6.0.1.icxml#_hVT_EF0gEd6NTtdAqnR5mA"/>
<bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_IEUwEl0iEd6Ku5MbvafxOA" points="[29, 0, -89, 0]$[89, 0, -29, 0]"/>
</edges>
</notation:Diagram>
--------------070904030000080906060008--
|
|
|
Re: "Invalid view - remove from diagram" on diagrams created with olderGMF opened in lates [message #234329 is a reply to message #234322] |
Fri, 19 June 2009 19:04  |
Eclipse User |
|
|
|
Upon further investigation it appears to be the notation:Edge which in
the new one is notation:Connector
Brian Jakubik wrote:
> Attached files this time
>
>
> Alex, sorry it took so long to get back to you...
>
> Attached are my 2 diagram files, the old was from our tool using the 3.3
> GMF, the new is our diagram created from the same model file.
>
> Most of the changes appear to be in line with what I originally posted,
> however the old one still has a ConnectorStyle that the new does not.
>
> The old I am getting invalid view on the connections... the new appears
> to be fine.
>
> any help would be appreciated.
>
> Thanks
>
> Alex Shatalin wrote:
>> Hello Brian,
>>
>> All these changes are known and should be backward compatible. Are you
>> sure there are no other differences in diagram files?
>>
>> -----------------
>> Alex Shatalin
>>
>>
>
|
|
|
Powered by
FUDForum. Page generated in 0.07474 seconds