hannesN / rmbench

Automatically exported from code.google.com/p/rmbench
0 stars 1 forks source link

Support Drag and Drop from Palette #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a new diagram
2. Try to drag a table drom the palette.

What is the expected output? 
A new Table is created at the mouse position.

What do you see instead?
Nothing happens

Original issue reported on code.google.com by h.niederhausen@googlemail.com on 24 Jun 2011 at 9:35

GoogleCodeExporter commented 9 years ago
why do you want DnD? Doesnt GEF always work such that you pick the item tool 
from the palette by clicking on it, and then clicking into the diagram to add 
the item? Isn't this how other graphical tools (Paint, Gimp) work as well?

Original comment by sell.ber...@gmail.com on 24 Jun 2011 at 1:12

GoogleCodeExporter commented 9 years ago
Actually, GEF is way outdated. In my diploma theses programm, I tested the UI 
with different users. Everybody(!!) tried to DnD elements and wondered why it 
didn't work. 

It's quite easy to implement with GEF.

Original comment by h.niederhausen@googlemail.com on 24 Jun 2011 at 1:47

GoogleCodeExporter commented 9 years ago
still, I think it depends on whom you called upon for testing. Had these people 
previously been using database or other modeling tools? Were they likely to be 
using such tools in the future?

as far as I know, the standard usage paradigm with graphical tools is "pick a 
tool" and "apply the tool to the canvas".

Original comment by sell.ber...@gmail.com on 24 Jun 2011 at 2:31

GoogleCodeExporter commented 9 years ago
We can provide both. I guess the thing is, that the "table"-tool isn't seen as 
a tool. Its the table itself and they want to drag it into the diagram.

The implementation would be an addition to the click-click interface.

Original comment by h.niederhausen@googlemail.com on 24 Jun 2011 at 2:33

GoogleCodeExporter commented 9 years ago
still - if you allow it, you will have to support it for all items. and the 
other items, except table, are clearly "tool" items, in that you have to apply 
them to an existing element. IMO, it would not make sense to drag a foreign key 
onto the diagram.

Original comment by sell.ber...@gmail.com on 24 Jun 2011 at 2:37