Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: bachus on April 14, 2014, 07:20:36 pm

Title: Creating multiples toolbox tab menu
Post by: bachus on April 14, 2014, 07:20:36 pm
Hello,

I'quite new in Enterprise architect, I'm looking to develop my own toolbox with components already set to initial values.

I've manage to create and import my toolbox, but I didn't find how to make menus (like in every others toolbox e.g in the toolbox Class there is the tab Class and after Class relationships).
I would like to do the same !

Here's some screen shots of my actual toolbox.

Actual toolbox menu
(http://i58.tinypic.com/2v2wm5x.png)

Components used to build the toolbox
(http://i59.tinypic.com/28qusm9.png)

The project browser view
(http://i62.tinypic.com/2niwetg.png)

Any help is appreciated   :)


Title: Re: Creating multiples toolbox tab menu
Post by: Nizam Mohamed on April 15, 2014, 02:33:51 pm
Create multiple stereotypes, and link them to the same toolboxpage to create categories within toolbox
(http://i59.tinypic.com/2lu9vcw.png)
Title: Re: Creating multiples toolbox tab menu
Post by: bachus on April 15, 2014, 06:26:14 pm
Thanks for the fast respond.
I tried your example, but there is still something I don't get...

The toolbox appears  like this:
(http://i62.tinypic.com/dyradu.png)

Is it possible that you provide your file, so I can have a look ?

Best regards
Title: Re: Creating multiples toolbox tab menu
Post by: Nizam Mohamed on April 15, 2014, 07:25:36 pm
Try the sample package from this link http://www.sparxsystems.in/assets/docs/SSINSample_MDGTech.xml

Geterate tech by saving the profile, diag profile and toolbox profile as individual files and building using the MDG Tech builder.

Also has some comments on how to extend existing profile elements (Archimate example)
Title: Re: Creating multiples toolbox tab menu
Post by: KP on April 16, 2014, 08:49:21 am
It looks like you have created a simple profile and EA has created a default toolbox for you. This works well for the simplest of profiles, but when things get more complicated (e.g. when you want to define multiple toolboxes) you need to create an MDG Technology which bundles your profile with a toolbox profile that defines your toolbox customizations. Have a look at the help file: the page "MDG Technologies - Creating" is a good starting point.
Title: Re: Creating multiples toolbox tab menu
Post by: bachus on April 16, 2014, 06:43:21 pm
Hello,

Yes at beginning I was looking for something as simple as possible, but I finally come to the MDG technology to create my toolbox, and it's work great !

May have ask another "easy" question, I would like to create multiple element in my toolbox (in the same menu) from the same UML Element.
For example: I would like to get in my toolbox an element called
Class1 from UML::Class
Class2 from UML::Class
...

But I can't declare attributes with the same name in the Stereotype.

(I'm working with EA 9.3)
Title: Re: Creating multiples toolbox tab menu
Post by: KP on April 17, 2014, 09:21:33 am
I really can't think why you would want two identical toolbox items, but you could try "UML::Class" and "UML::cLass" - the "UML" bit is case-sensitive but the "Class" bit isn't.
Title: Re: Creating multiples toolbox tab menu
Post by: bachus on April 17, 2014, 08:02:12 pm
Brilliant ! Thank you