Book a Demo

Author Topic: Can't drop an extended stereotype from Toolbox  (Read 5793 times)

gpatenaude

  • EA Novice
  • *
  • Posts: 9
  • Karma: +1/-0
    • View Profile
    • LinkedIn profile
Can't drop an extended stereotype from Toolbox
« on: March 09, 2016, 07:33:08 am »
Hi,

I extended the archimate device element using UML Profile.  Everything works great if I drop my new element from the Resource tab:

https://www.dropbox.com/s/wzzjl8sus79nlok/2016-03-08_15-29-54.png?dl=0

But when I try from the diagram toolbox, there is a folder icon.  Sometimes nothing happens when I drag the element on a ArchiMate diagram, sometimes a context menu appears with 2x the device element:

https://www.dropbox.com/s/j3mjckioacotur7/2016-03-08_15-28-06.png?dl=0

Here's my UML profile diagram:

https://www.dropbox.com/s/fz5tdu1yfpybtim/2016-03-08_15-20-17.png?dl=0

Here's the UML profile XML:

<?xml version="1.0" encoding="windows-1252"?>
<UMLProfile profiletype="uml2">
   <Documentation id="1846CB48-4" name="SSQ_Archimate_Extensions" version="1.0" notes="SSQ_Archimate_Extensions"/>
   <Content>
      <Stereotypes>
         <Stereotype name="SSQ_Archimate_Device" notes="" cx="167" cy="88" bgcolor="13434828" fontcolor="0" bordercolor="0" borderwidth="1" hideicon="0" generalizes="Archimate2::ArchiMate_Device" baseStereotypes="Archimate2::ArchiMate_Device">
            <AppliesTo>
               <Apply type="Class">
                  <Property name="isActive" value=""/>
               </Apply>
            </AppliesTo>
            <TaggedValues>
               <Tag name="CPU" type="" description="" unit="" values="" default=""/>
               <Tag name="RAM" type="" description="" unit="" values="" default=""/>
               <Tag name="IP" type="" description="" unit="" values="" default=""/>
               <Tag name="DNS" type="" description="" unit="" values="" default=""/>
            </TaggedValues>
         </Stereotype>
      </Stereotypes>
      <TaggedValueTypes/>
   </Content>
</UMLProfile>

Is there anything wrong with my XML?

Any help would be appreciated.

I'm using version 12.1.1224 on a local project on my desktop (no shared repository)
« Last Edit: March 09, 2016, 07:44:55 am by gpatenaude »
If anyone tries to tell you that your estimate is bogus because the task is so simple, ask them to write down the procedure for tying their shoes.

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Can't drop an extended stereotype from Toolbox
« Reply #1 on: March 09, 2016, 07:57:20 am »
I can't see the images from work unfortunately, but you'll either have a spelling mistake or the base type wrong. 

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Can't drop an extended stereotype from Toolbox
« Reply #2 on: March 09, 2016, 08:13:16 am »
Maybe you have installed your MDG twice? From Resources and from MDG/Advanced? What does the Extensions/MDG say?

q.

gpatenaude

  • EA Novice
  • *
  • Posts: 9
  • Karma: +1/-0
    • View Profile
    • LinkedIn profile
Re: Can't drop an extended stereotype from Toolbox
« Reply #3 on: March 09, 2016, 09:20:57 am »
Thanks I'll check this out at the office tomorrow... it's only -16 hours in eastern Canada.
If anyone tries to tell you that your estimate is bogus because the task is so simple, ask them to write down the procedure for tying their shoes.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Can't drop an extended stereotype from Toolbox
« Reply #4 on: March 09, 2016, 11:36:32 am »
When you see a folder in your toolbox, it usually means your icon is not correctly referenced.  Can you show your toolbox definition?

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

gpatenaude

  • EA Novice
  • *
  • Posts: 9
  • Karma: +1/-0
    • View Profile
    • LinkedIn profile
Re: Can't drop an extended stereotype from Toolbox
« Reply #5 on: March 10, 2016, 01:16:57 am »
Everything works now. 

I was trying to make my extended Archimate element available using only the "UML profile":  By adding the XML file into UML profile ressource tab AND having it available in Diagram Toolbox -> More tools -> Set Toolbox Visibility (Enabling my UML profile from there).

I proceeded with the whole MDG technology file integration process and bingo!

Thanks for your hints!
If anyone tries to tell you that your estimate is bogus because the task is so simple, ask them to write down the procedure for tying their shoes.

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Can't drop an extended stereotype from Toolbox
« Reply #6 on: March 10, 2016, 08:36:49 am »
Good to see you've fixed it.  IME with MDGs it's best to step through the whole process with a couple of extensions and then build up the MDG once you're comfortable with the whole process.