|
Re: usage of dropAssistant for org.eclipse.ui.navigator.navigatorContent [message #486792 is a reply to message #336996] |
Sat, 19 September 2009 04:54 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Francis Upton IV![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=francisu%40ieee.org) Messages: 472 Registered: July 2009 Location: Oakland, CA |
Senior Member |
|
|
Jonathan wrote on Mon, 20 July 2009 09:03 | The org.eclipse.ui.navigator.navigatorContent can have a drop assistant
however it is only triggered when attempting to drop something
corresponding to possibleChildren. I want to be able to slurp a file and
import everything from it into the database represented by on tree
element. That tree element will not get a file as a children after this
operation. In fact my database element will NEVER EVER have files as
children. So it feels very wrong to add that as a possibleChildren. Is
that what I am supposed to do anyway? What other strange effects will that
have? I don't want my tree to be able to contain files in some strange
corner case...
|
Don't get too hung up on the name possibleChildren. This is what triggers the drop assistant, so that's the property way to do it. If there are no actual children provided, then there will be no side effects.
Platform UI Committer for Common Navigator
http://wiki.eclipse.org/index.php/Common_Navigator_Framework
http://help.eclipse.org/galileo/topic/org.eclipse.platform.d oc.isv/guide/cnf.htm
|
|
|
Powered by
FUDForum. Page generated in 0.03066 seconds