toroman / raf-uml

Automatically exported from code.google.com/p/raf-uml
0 stars 0 forks source link

Behaviour enhancement #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
These are very minor tasks, involving like five minutes of work, so I'd
rather put them all in one bigger issue, instead of dividing them. It's
wrong, but once you see the issues you'll see how minor are they.

- Focusable objects should gain focus in the onMousePressed method, not on
the mouseClicked method. Try dragging a not-focused UMLBox, it doesn't gain
focus. Simply move the code from one place to another.

- When an object gains focus the properties panel should update. It would
better.

- When I type anything in a JTextField in the prop panel, and lose focus, i
want my changes to apply. Simply using a subclass of JTextField which adds
a FocusListener in its constructor would do the trick

- When a UMLClass, for example, is not focused and i click on one of its
methods, the prop panel updates, but the UMLClass does not gain focus.

- Add a UMLClass, and start making a relation from it but release the mouse
button on an open area. The tool behaviour in this case is all wrong.

- Errors all Factory classes throw when invalid relations are made, for
exapmple, should show in the tooltip line in the south-east corner

I believe that's it. I'll start fixing these right away, and am signed to
gTalk so you can contact me..

Original issue reported on code.google.com by kogacheg...@gmail.com on 26 Jan 2008 at 11:02

GoogleCodeExporter commented 9 years ago
I've done most of these things. Some of them were already done (damn you, 
Sretjko!)
There are several things more remaining:

- Issue 4 is not fixed, and fixing it would be obsolete, since current focus 
system
would hardly deal with this easily, and changing the properties panel to be tree
based would fix it.

- As for issue 6, maybe we should either add a tooltip bar global for the
application, or a single bar for a single diagram. We should talk about this, 
decide
how should things work.

Original comment by kogacheg...@gmail.com on 26 Jan 2008 at 12:17