Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » [Fwd: [TENEO & GMF] Copy/Paste not working with Semantic Model in Teneo]
[Fwd: [TENEO & GMF] Copy/Paste not working with Semantic Model in Teneo] [message #502243] Mon, 07 December 2009 12:11
Christophe Bouhier is currently offline Christophe BouhierFriend
Messages: 937
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------000501080909040703000101
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit


--------------000501080909040703000101
Content-Type: message/rfc822;
name="[TENEO & GMF] Copy/Paste not working with Semantic Model in Teneo.eml"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename*0="[TENEO & GMF] Copy/Paste not working with Semantic Model in ";
filename*1="Teneo.eml"

Path: build.eclipse.org!not-for-mail
From: Christophe Bouhier <dzonekl@gmail.com>
Newsgroups: eclipse.tools.emf,eclipse.tools.gmf
Subject: [TENEO & GMF] Copy/Paste not working with Semantic Model in Teneo
Date: Mon, 07 Dec 2009 13:03:49 +0100
Organization: EclipseCorner
Message-ID: <hfiqv6$unu$1@build.eclipse.org>
NNTP-Posting-Host: 195-241-34-179.ip.telfort.nl
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: build.eclipse.org 1260187431 31486 195.241.34.179 (7 Dec 2009 12:03:51 GMT)
X-Complaints-To: news@build.eclipse.org
NNTP-Posting-Date: Mon, 7 Dec 2009 12:03:51 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
Xref: build.eclipse.org eclipse.tools.emf:45652

Hi,

I wrote earlier about my attempts to have the semantic model of a GMF
Diagram in Teneo and the Diagram model itself in a workspace file:

To implement this, I use a standard GMF generated code and adapt the
following:

- Change the Creation Wizard, to use a Teneo URI like this:
"hibernate://?dsname=netxstudio&query1=from Library"

- Change the CreateDiagram method in xxxDiagramEditorUtil to use the
existing model element from Teneo.

So when following the wizard the following notational model gets
created: (Notice the reference to a hibernate object for the


<?xml version="1.0" encoding="UTF-8"?>
<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
xmlns:netxstudio="http://www.netxforge.com/netxstudio"
xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation"
xmi:id="_GpYsoOMoEd6Uqb70TsQlJA" type="template"
name="default4.template_diagram" measurementUnit="Pixel">
<styles xmi:type="notation:DiagramStyle"
xmi:id="_GpYsoeMoEd6Uqb70TsQlJA"/>
<element xmi:type="netxstudio:Library"
href="hibernate://?dsname=netxstudio&amp;query1=from Library#Library|id=1"/>
</notation:Diagram>

Now, I can edit the diagram, except copy/paste doesn't work. (I don't
see any error messages). If I close the diagram file and re-open it,
copy/paste works again.


What would be the explanation for this?

Thanks Christophe

--------------000501080909040703000101--
Previous Topic:Duplicate problem
Next Topic:SWT Widget as custim figure for Diagramm
Goto Forum:
  


Current Time: Thu May 13 07:26:33 GMT 2021

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

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

Back to the top