Skip to main content



      Home
Home » Eclipse Projects » GEF » JFace TreeView and GEF EditPart
JFace TreeView and GEF EditPart [message #69534] Wed, 12 March 2003 11:13 Go to next message
Eclipse UserFriend
Originally posted by: alexandre.claus.misys.com

Hi folks!

I am really new in GEF and Eclipse plugins.

I am starting my training using GEFHello1 and a Jface treeview samples.
My goal being to drag an item from this treeview, and drop it (creating a
figures) into a GEF Editor at the specific location.

One of my major problem, is that I don't know if it is possible to add
additionnal figures (rectangle) into the gef editor.

Using the hello example, I was only able to interract with the current
child figures (4 boxes created at the initialization) via
getDropTextCommand(NativeDropRequest requet), and the setLayoutConstraint
command.

Does anybody can help me to realize this.

Thanks!
Re: JFace TreeView and GEF EditPart [message #69595 is a reply to message #69534] Wed, 12 March 2003 11:37 Go to previous message
Eclipse UserFriend
grab the sample gef plugin that the gef team have put together ( get it from
the eclispe/project/gef web site ). Have a play with it, it demonstrates
many of the things that a gef based editor is capable of ( yes you can add
new 'blob' onto the free form surface ). Then go back to the hello
samples... I believe there are a number of samples that get progressively
more complex.... you can use these to haold you hand as you ply round.

guy

"Alexandre Claus" <alexandre.claus@misys.com> wrote in message
news:b4nmac$thv$1@rogue.oti.com...
> Hi folks!
>
> I am really new in GEF and Eclipse plugins.
>
> I am starting my training using GEFHello1 and a Jface treeview samples.
> My goal being to drag an item from this treeview, and drop it (creating a
> figures) into a GEF Editor at the specific location.
>
> One of my major problem, is that I don't know if it is possible to add
> additionnal figures (rectangle) into the gef editor.
>
> Using the hello example, I was only able to interract with the current
> child figures (4 boxes created at the initialization) via
> getDropTextCommand(NativeDropRequest requet), and the setLayoutConstraint
> command.
>
> Does anybody can help me to realize this.
>
> Thanks!
>
Previous Topic:getMinimumSize()/getPreferredSize() of Figure
Next Topic:Draw2D ToggleButton
Goto Forum:
  


Current Time: Sat May 31 05:27:09 EDT 2025

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

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

Back to the top