Author Topic: Accessing a UML Profile from the Toolbox  (Read 6132 times)

salayande

  • EA User
  • **
  • Posts: 224
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Accessing a UML Profile from the Toolbox
« on: March 30, 2008, 04:33:28 am »
I used o be able to import a UML profile from the Resource view and from a right-click make it available in the Toolbox for easy access.

I could not do this in the release 827. Am I missing something? :-[


Segun

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Accessing a UML Profile from the Toolbox
« Reply #1 on: March 31, 2008, 01:07:49 am »
I suspect - without proof - that you must now use the 'new' method for loading and activating profiles. This likely requires you to encapsulate your profile in an MDG Technology.

If you're not up on this search my posts over the past month or so. You can also check the last page in the EA Help section for MDG Technologies. There used to be a 'broken' reference there, which Sparx corrected after I reported it. If the reference is in the same place you'll find a pointer there.

David
No, you can't have it!

salayande

  • EA User
  • **
  • Posts: 224
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Accessing a UML Profile from the Toolbox
« Reply #2 on: March 31, 2008, 05:07:58 am »
Thank you, David.

I am not aware of this change which may be an improvement.
I was trying to import the CBDI SOA UML Profile which I have recently obtained.

kind regards

Segun

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Accessing a UML Profile from the Toolbox
« Reply #3 on: March 31, 2008, 05:52:32 am »
Segun,

I know the profile - thanks for pointing it out recently. Though I've looked through it I have not yet tried to load it. I do remember thinking that I should give it a whirl, but there has not been the time.

My suspicion - again entirely untested - is that the new method of loading technologies - and trough them, profiles - is better at handling toolbox pages. That said, it is possible that with EA 7.x we've lost the old way. I do know some things don't work as well when you load a technology file using the old method, so perhaps profiles have been affected as well.

My suggestion is to wrap a very basic MDG technology around the profile and see if it loads at all. If it does you might want to whip up a toolbox pane or two. This is a bit of work, but if you don't use any custom icons or graphics you should be able to get it working pretty quickly.

David
No, you can't have it!

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: Accessing a UML Profile from the Toolbox
« Reply #4 on: March 31, 2008, 08:52:00 am »
Click the More tools... button in the Toolbox window - any loaded profiles and/or technologies should appear towards the end of that list, regardless of whether they are EA6 or EA7-style.
The Sparx Team
[email protected]

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Accessing a UML Profile from the Toolbox
« Reply #5 on: March 31, 2008, 09:15:12 am »
Quite true Neil,

Sorry about that Segun; I actually knew this from my earlier experiments, but it slipped my mind.

BTW, a similar thing can be done with the diagram context menu. Do a shift-right-click or control-right-click (the default behavior for both are the same) on a diagram background. You should be able to select your profile elements from the resulting context menu tree. It is a bit tedious for a lot of elements, but if you only need one it can be a snap. Remember that you can use shift-F3 to repeat the prior new element type and F3 to do the same with connectors. If you can order things correctly these few shortcuts can help you create a new diagram in a flash.

David
No, you can't have it!

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Accessing a UML Profile from the Toolbox
« Reply #6 on: March 31, 2008, 09:16:03 am »
Quote
Click the More tools... button in the Toolbox window - any loaded profiles and/or technologies should appear towards the end of that list, regardless of whether they are EA6 or EA7-style.
Neil,

I don't have an appropriate example profile handy right now, but perhaps you know the answer to this question. If you perform the above 'trick' do the tools appear as a toolbox pane, or just in the context menu?

David
No, you can't have it!

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: Accessing a UML Profile from the Toolbox
« Reply #7 on: March 31, 2008, 09:27:14 am »
Quote
I don't have an appropriate example profile handy right now, but perhaps you know the answer to this question. If you perform the above 'trick' do the tools appear as a toolbox pane, or just in the context menu?
As a toolbox pane.
The Sparx Team
[email protected]

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Accessing a UML Profile from the Toolbox
« Reply #8 on: March 31, 2008, 09:37:37 am »
Thanks Neil,

That's likely what Segun needs for his profile, and it might help folks like me who need something 'fast and dirty' from time to time.

David
No, you can't have it!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8083
  • Karma: +118/-20
    • View Profile
Re: Accessing a UML Profile from the Toolbox
« Reply #9 on: April 01, 2008, 08:13:12 am »
In addition to Neil's post, the page from the profile can also be pinned.  This gives behavior very similar to the older style toolbox.

salayande

  • EA User
  • **
  • Posts: 224
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Accessing a UML Profile from the Toolbox
« Reply #10 on: April 05, 2008, 10:19:46 am »
I thank everyone for valuable information shared. :)
I am now able to test the profile.

kind regards

Segun