Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Drag and Drop from Package Explorer to an Editor
Drag and Drop from Package Explorer to an Editor [message #199666] Tue, 18 October 2005 11:27 Go to next message
Eclipse UserFriend
Originally posted by: bguedes.voila.fr

Hi guys,

I'm trying to do a GUI Editor to do JavaBean mapping ...

Well the gui with UML classes like and connection between field/classes
work.

Now I'm trying to do a Drag & Drop from the package explorer to the GUI
Editor to
generate the UML classe design, but I have some little difficultes to do
that.

I was thinking to do that in an class extension of
AbstractTransferDropTargetListener :

IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
IResource resource = root .findMember(path);

but when I lunch the plugin by "Launch an Eclipse applicationin Debug
mode", i've this exception :

java.lang.IllegalStateException: Workspace is closed.

Did someone have elready done this kind of operation ??? Could someone
help me please ?? Give me some kind of example please ??

Well, I hope to go on with your help ;-))

Sincerely

Have fun

Bruno
Re: Drag and Drop from Package Explorer to an Editor [message #199680 is a reply to message #199666] Tue, 18 October 2005 13:16 Go to previous message
Eclipse UserFriend
Originally posted by: bguedes.voila.fr

Hi it's me again,

I've forget to say that I want to hava a synchronization between my GUI
and the Package Explorer, that th reason why I search to drag and drop an
IType or ICompilationUnit in my class model editor ...

Thank's for any help ...

Bruno
Previous Topic:Outline with a Tree
Next Topic:Starting with a non empty Editor
Goto Forum:
  


Current Time: Fri Apr 26 23:06:52 GMT 2024

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

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

Back to the top