Book a Demo

Author Topic: Problem with dragging from Toolbox  (Read 6076 times)

baghira

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Problem with dragging from Toolbox
« on: April 24, 2008, 06:47:55 pm »
Hi,

I have created a MDG technologie with a new toolbox and an element in it which is a UML::Class which has the alias "Component" and a tagged value in it.

If I import the profile in my ressources window I can drag it withaut problems. If I want to drag it from the toolbox it does nothing at all.

Has anybody an idea what am I doing wrong?

If you need more information please tell me.

Thank you

baghira

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Problem with dragging from Toolbox
« Reply #1 on: April 24, 2008, 07:16:26 pm »
Sorry I found the Problem by myself.

For everybody who has the same problem:

I named the Attribute in my own toolbox as follows:

        MyUMLProfile::MyComponent(UML::Component)

but it had to be:

        MyUMLProfile::MyComponent(UML::Class)

because MyComponent was an extended UML::Class.

Perhaps there should be a Message that the attribute could not be linked or something like that when building the MDG-file.

peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Re: Problem with dragging from Toolbox
« Reply #2 on: April 24, 2008, 07:36:29 pm »
Other possible problem could be the MDG Technology in Settings / MDG technologies is different than MDG technology in the project resources.
« Last Edit: April 24, 2008, 07:37:08 pm by peter.zrnko »
Peter

baghira

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Problem with dragging from Toolbox
« Reply #3 on: April 24, 2008, 09:51:38 pm »
I didn't get the technology running in the ressources tree. I only added the profile there.

Perhaps you can tell me the difference between MDG technology in the ressources and the technologys which I import by setting the path?

peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Re: Problem with dragging from Toolbox
« Reply #4 on: April 24, 2008, 11:16:04 pm »
You can have MDG technology in both places.

If it is set in "Settings / MDG technologies", it will stay there even if the project is closed. It's not necessary to select it when the project is opened again.

If it is set in "Project Resources", it will be distributed together with project wherever it will be opened.
You can find your profile inside it and select "Synch. Tagged Values".

It's nice to have set the MDG technology in both places. The other side of this approach is you have to manage versions of this MDG technology.
Peter

baghira

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Problem with dragging from Toolbox
« Reply #5 on: April 25, 2008, 12:02:38 am »
Ok I see. The ressources version is a good way to share a project with people who don't have the MDG and don't want to link it only for viewing the project.

But my problem still exists. When I use the ressource-version diagrams, toolboxes and profiles don't show up so I can't use the technologie.

I'm now wondering why this coud be, because with setting the path everything is working.

peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Re: Problem with dragging from Toolbox
« Reply #6 on: April 25, 2008, 05:04:59 pm »
There is a bug in importing new MDG technology into Project Resources. You have to close and open the EA project to see the content of imported MDG technology in the Resources window (at least in my project this helped). "Reload project" isn't enough.

And in the case the MDG technology is only in the project resources, you need to select it every time after opening the project. I didn't find any way how to state "This project is using this MDG technology - used it automatically after opening the project".
Peter