Book a Demo

Author Topic: customised toolbox  (Read 3906 times)

Maggie

  • EA User
  • **
  • Posts: 106
  • Karma: +0/-0
    • View Profile
customised toolbox
« on: March 07, 2012, 11:05:58 pm »
Hello
I have overridden the default toolbox associated with class diagrams such that my tool box is displayed when a class diagram is displayed.
However, this means that the inbuilt Class Relationships toolbox is not visible.
Does anyone know how to make this happen?

Thanks

Maggie

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: customised toolbox
« Reply #1 on: March 08, 2012, 12:31:45 am »
Create a second stereotype called Relations extending the same toolbox as the stereotype for your class elements.

q.

Maggie

  • EA User
  • **
  • Posts: 106
  • Karma: +0/-0
    • View Profile
Re: customised toolbox
« Reply #2 on: March 08, 2012, 03:12:21 am »
Hi again
Is there a way to control how the items in a toolbox are arranged?
The default seems to be in a single column but I want them displayed as rows with multiple columns

Thanks

Maggie

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: customised toolbox
« Reply #3 on: March 08, 2012, 04:07:27 am »
Never seen that. So I guess it's not possible. Except something passed my attention.

q.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: customised toolbox
« Reply #4 on: March 08, 2012, 08:27:52 am »
Quote
Hi again
Is there a way to control how the items in a toolbox are arranged?
The default seems to be in a single column but I want them displayed as rows with multiple columns

Thanks

Maggie
Is the ImagesOnly attribute what you need? It suppresses the labels in a toolbox so the icons get displayed horizontally. (Right-click in a toolbox and toggle the "Show Labels"/"Hide Labels" commands to do it manually)
« Last Edit: March 08, 2012, 08:38:24 am by KP »
The Sparx Team
[email protected]

Maggie

  • EA User
  • **
  • Posts: 106
  • Karma: +0/-0
    • View Profile
Re: customised toolbox
« Reply #5 on: March 08, 2012, 07:49:33 pm »
Thanks!