Drag and Drop from Package Explorer to an Editor [message #199666] |
Tue, 18 October 2005 11:27 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02644 seconds