Book a Demo

Author Topic: Override Common toolbox  (Read 5891 times)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Override Common toolbox
« on: March 12, 2012, 06:37:03 pm »
Hi!

I'm trying to put together an MDG Technology where I want to get rid of all proper model elements and connectors (eg artifact, information flow) from the Common toolbox, leaving only diagram objects.

I can create the toolbox OK, but I can't remove the Common one.
There are two problems I'm running into.

1) Overriding default toolboxes, as described in the help file, doesn't seem to work. I have tried overriding the Class toolbox in the manner described, but the default toolbox still opens up in all Class diagrams (old and new).

2) The help file's list of EA toolboxes does not include the Common toolbox. Does that mean the Common toolbox can't be overridden?

Cheers,


/Uffe
My theories are always correct, just apply them to the right reality.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Override Common toolbox
« Reply #1 on: March 12, 2012, 10:14:03 pm »
I'd be interested in a solution too. Tried that a while ago but put it on ice as I did not find any solution.

q.
« Last Edit: March 12, 2012, 10:14:20 pm by qwerty »

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Override Common toolbox
« Reply #2 on: March 13, 2012, 11:39:48 am »
Quote
I'd be interested in a solution too. Tried that a while ago but put it on ice as I did not find any solution.

q.
Me too...

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

MRrobot

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Override Common toolbox
« Reply #3 on: July 23, 2018, 09:03:58 pm »
Push

A custom diagram can be another option, see my first post.

Regards robo

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Override Common toolbox
« Reply #4 on: August 01, 2018, 05:06:58 pm »
I remember being able to override the standard use case toolbox with my own.

The trick was to put the magic string in the «toolbox profile» package notes since I generate the profile from the package.

RedefinedToolbox=UML::UseCase;Alias=Use Case;Notes=Elements for modelling use cases;

If you generate the profile from a diagram (I don't know why you would do that, but that's another thing) you should put that magic string in the diagram notes.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Override Common toolbox
« Reply #5 on: August 01, 2018, 06:55:18 pm »
If you generate the profile from a diagram (I don't know why you would do that, but that's another thing) ...
Because in that case EA will render the same style information from the object. At least that's (IIRC) written somewhere in their help.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Override Common toolbox
« Reply #6 on: August 01, 2018, 07:03:51 pm »
If you generate the profile from a diagram (I don't know why you would do that, but that's another thing) ...
Because in that case EA will render the same style information from the object. At least that's (IIRC) written somewhere in their help.

q.
That isn't a problem if you set the default appearance of your stereotype element. (and is not applicable to a toolbox profile of course)
I think in case you want to use the same element in different profiles you have to use the diagram instead of the package.

Geert