Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » "Invalid view - remove from diagram" on diagrams created with older GMF opened in latest G
"Invalid view - remove from diagram" on diagrams created with older GMF opened in latest G [message #235132] Thu, 02 July 2009 15:41
Brian Jakubik is currently offline Brian JakubikFriend
Messages: 140
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------030607080304010107090009
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

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

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.

The old I am getting invalid view on the connections... the new appears
to be fine, it appears to be the notation:Edge which in the new one is
notation:Connector

I there anything we can do to avoid recreating all of the diagrams?
Should a bugzilla be opened if indeed a problem?

Any help would be greatly appreciated.

Thanks
Brian Jakubik

--------------030607080304010107090009
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>

--------------030607080304010107090009
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>

--------------030607080304010107090009--
Previous Topic:Generating an XML file based on the model
Next Topic:Getting zoom information from inside a ConnectionAnchor
Goto Forum:
  


Current Time: Sun Apr 05 23:52:19 GMT 2020

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

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

Back to the top