[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.gef] Drag and Drop from Package Explorer to an Editor
|
- From: bguedes@xxxxxxxx (bruno)
- Date: Tue, 18 Oct 2005 11:27:47 +0000 (UTC)
- Newsgroups: eclipse.tools.gef
- Organization: not organized
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
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