Le 04/04/2014 12:04, MartinW a écrit :
Goubier Thierry wrote
By the way, any chance of having your code as an example for Spec? I
went through the spec documentation and I couldn't see anything similar,
and, from our difficulties to get that to work, I would guess a bit of
work on Spec drag and drop support could be a good thing.
I just start investigating my ui possibilities with pharo for a new
application. The code examples in this thread are all there is at the
moment.
Ok. Still, they offer a good working base for a specific use case.
Goubier Thierry wrote
Are there other possibilities if i do not use Spec?
Yes. Drag and drop code in Morphic is fairly similar. The Morphic code
for opening windows is certainly longer, however.
Yes, there are more possibilities if i do it in pure Mophic/Polymorph? — or
possibilites are quite similar? :)
You get better control over what drag and drop means (including the
ability to control per-item if you will accept the target, or what to
carry when the drag starts), but the framework takes time to get into.
Thierry
--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95