Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Re: DND from TreeViewer to GMF generated editor
Re: DND from TreeViewer to GMF generated editor [message #169457] Wed, 23 January 2008 06:50
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

This is a multi-part message in MIME format.
--------------000201010601060004050209
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Amit,

It sounds like you meant to use the GMF newsgroup, which I've added to
the "to" list of this reply.


amsurana@in.ibm.com wrote:
>
> Hi,
> I am writing an application using EMF & GMF.
> GMF in its generated code creates an editor that extends
> DiagramDocumentEditor. The palette has a tool "Person Details". This
> tool lets u create a Node with a Person Name.
> I have a tree viewer that displays Strings of Text with UserNames.
>
>
>
> My Doubt:
>
> When i drag a particular Tree item (User Name) from the TreeViewer on
> to the Editor, a diagram Node (person Details Node) must be created
> with the Username in the Name field of that node.
>
> Can anyone help me figure out
> 1. How to provide Drop support to the editor. Or should I provide Drop
> support to the Container.
> 2. What kind of transfer takes place ? TextTransfer, FileTransfer, etc...
> 2. When drop is performed what statements should be written that help
> in creating new Node. ( I mean what are classes to be called to create
> the node)
>
> I am using GMF v 2.0.1 on Eclipse Europa 3.3
>
> Regards
> Amit


--------------000201010601060004050209
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Amit,<br>
<br>
It sounds like you meant to use the GMF newsgroup, which I've added to
the "to" list of this reply.<br>
<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:amsurana@in.ibm.com">amsurana@in.ibm.com</a> wrote:
<blockquote cite="mid:fn78dj$vqp$1@build.eclipse.org" type="cite"><br>
<font face="sans-serif" size="2">Hi, </font>
<br>
<font face="sans-serif" size="2">I am writing an application using
EMF
&amp; GMF. </font>
<br>
<font face="sans-serif" size="2">GMF in its generated code creates an
editor that extends </font><font face="Courier New" size="2">DiagramDocumentEditor</font><font
face="sans-serif" size="2">.
&nbsp;The palette has a tool "Person Details". This tool lets
u create a Node with a Person Name.</font>
<br>
<font face="sans-serif" size="2">I have a tree viewer that displays
Strings
of Text with UserNames. </font>
<br>
<br>
<br>
<br>
<font face="sans-serif" size="2">My Doubt: </font>
<br>
<br>
<font face="sans-serif" size="2">When i drag a particular Tree item
(User
Name) from the TreeViewer on to the Editor, a diagram Node (person
Details
Node) &nbsp;must be created with the Username in the Name field of that
node.</font>
<br>
<br>
<font face="sans-serif" size="2">Can anyone help me figure out</font>
<br>
<font face="sans-serif" size="2">1. How to provide Drop support to
the
editor. Or should I provide Drop support to the Container. </font>
<br>
<font face="sans-serif" size="2">2. What kind of transfer takes place
? TextTransfer, FileTransfer, etc... </font>
<br>
<font face="sans-serif" size="2">2. When drop is performed what
statements
should be written that help in creating new Node. ( I mean what are
classes
to be called to create the node) </font>
<br>
<br>
<font face="sans-serif" size="2">I am using GMF v 2.0.1 on Eclipse
Europa
3.3</font>
<br>
<br>
<font face="sans-serif" size="2">Regards </font>
<br>
<font face="sans-serif" size="2">Amit </font>
</blockquote>
<br>
</body>
</html>

--------------000201010601060004050209--
Previous Topic:D&D example
Next Topic:Can GMF do this?
Goto Forum:
  


Current Time: Fri May 09 22:42:02 EDT 2025

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

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

Back to the top