Re: [argouml-dev] Adding buttons to class elements for adding class attributes

Katharina F <[email protected]>
Newsgroups gmane.comp.db.axion.devel
Message-ID <[email protected]>
Hi Bob,

I created an issue as you suggested and posted my changes as a patch file:
http://argouml.tigris.org/issues/show_bug.cgi?id=6216

Could you please review the changes?

What I still want to do (but don´t know how):
1. Buttons should stay visible after I clicked on them 
2. the text I added should be in editable mode.

Could you give me some starting point to do this?

Thanks you
Katharina


Am 28.03.2011 um 12:27 schrieb Bob Tarling:

> I'd suggest you create an issue in IZ and attach a patch for your feature there.
> 
> Once we can see how you've implemented this we can comment on your
> implementation.
> 
> I would suggest SelectionNodeClarifiers2 is not the best place for
> this as it means that these buttons would appear on every node, even
> those with no attributes or operations.
> 
> SelectionClass would be an option but then you wouldn't get the
> buttons for an interface.
> 
> How about introducing a new SelectionClassifier class that extends
> SelectionNodeClarifiers2 then implement your work there.
> SelectionClass and SelectionInterface can then be modified to extend
> this new class.
> 
> Regards
> 
> Bob
> 
> 
> 
> On 28 March 2011 07:25, Katharina Fahnenbruck <[email protected]> wrote:
>> Hello,
>> 
>> I want to add two buttons to the Class element  in the UML diagram (similar to the hover buttons that add sub- or superclass e.g.). One button should add a new attribute to the class, the other one a new operation.
>> 
>> In the class SelectionNodeClarifier2 I already added the buttons and the attributes and operations are added to the Figure.
>> 
>> I want the buttons to stay visible after I clicked on them and the text I added should be in editable mode.
>> 
>> Can anyone suggest any pointers how to implement this or recommend any documentation covering some aspects of this?
>> 
>> Thanks
>> Katharina
>> 
>> ------------------------------------------------------
>> http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2714656
>> 
>> To unsubscribe from this discussion, e-mail: [[email protected]].
>> To be allowed to post to the list contact the mailing list moderator, email: [[email protected]]
>> 
> 
> ------------------------------------------------------
> http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2714712
> 
> To unsubscribe from this discussion, e-mail: [[email protected]].
> To be allowed to post to the list contact the mailing list moderator, email: [[email protected]]

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2714850

To unsubscribe from this discussion, e-mail: [[email protected]].
To be allowed to post to the list contact the mailing list moderator, email: [[email protected]]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.