Hello all,
I've searched high and low on how to do this but I can't seem to find
the solution.
For feature 3 - Class modification on the panel
(http://argouml.tigris.org/issues/show_bug.cgi?id=5140), I need a width
in pixels in which if the user clicks, the visibility of the
attribute/operation will be changed. In order to do this the cleanest
way, every notation type should set this offset in function of the way
it displays visibility (UML uses signs +/-/#/~, while Java user words
public/private/protected/package... and so on).
So what I need is, when the user changes the notation, the new active
notation should set this offset via the
NotationName.setNotationOffset(int offset) method. Here the offset is
expressed in number of letters (the job converting this in pixels is
OK). Where should I put the code to set this offset in order to execute
it every time the notation changes, and from the selected notation
('from' here means that the notation changes this offset, and it's not
an if-else if-else in an action or smtg). I hope I explained well enough
to be understood.
Regards,
Bogdan, at wits end
--
Bogdan SZANTO
-----------------------------------------------
Impossible is nothing ~ Nothing is impossible !
-----------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]