Book a Demo

Author Topic: WMF stereotype not showing on diagram  (Read 5605 times)

mylesJ

  • EA User
  • **
  • Posts: 33
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
WMF stereotype not showing on diagram
« on: February 21, 2006, 04:44:58 am »
I have created a stereotype with a WMF image file. But when I drop the stereotype on to a diagram it does not draw the WMF image.

Do diagrams support WMF? If not then why have WMF at all for stereotypes?

thomaskilian

  • Guest
Re: WMF stereotype not showing on diagram
« Reply #1 on: February 21, 2006, 06:38:57 am »
What do you mean by "drop stereotype on diagram"?

mylesJ

  • EA User
  • **
  • Posts: 33
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: WMF stereotype not showing on diagram
« Reply #2 on: February 21, 2006, 07:32:24 am »
I mean create an instance of the object on a diagram. For some reason my WMF image is not showing. If I use the shape language to draw an image then it shows. As soon as I switch to using a WMF image it dissapears.

thomaskilian

  • Guest
Re: WMF stereotype not showing on diagram
« Reply #3 on: February 21, 2006, 10:45:14 am »
I used EMF instead in the past. So if there's a reproducable problem with WFM I suggest to file a bug report.

AshK

  • EA User
  • **
  • Posts: 137
  • Karma: +0/-0
    • View Profile
Re: WMF stereotype not showing on diagram
« Reply #4 on: February 21, 2006, 04:20:34 pm »
Hi Myles,

I haven't been able to replicate the problem here - wmf works fine for me here  :-/

Please do send a bug report, and if you're willing, the particular wmf file that you're trying to display.

Thanks,

Ash
The Sparx Team
[email protected]

mylesJ

  • EA User
  • **
  • Posts: 33
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: WMF stereotype not showing on diagram
« Reply #5 on: February 21, 2006, 11:17:08 pm »
Thanks for clarifying. I'll try EMF firsg & also log the problematic WMF as a bug.

mylesJ

  • EA User
  • **
  • Posts: 33
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: WMF stereotype not showing on diagram
« Reply #6 on: February 22, 2006, 09:42:40 am »
I have an update on this. The WMF image works fine if I set the stereotype base class to "class". But when I set the base class to "Action" it doesn't display.

Any ideas why this is so? Is it a bug or intended behaviour?

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: WMF stereotype not showing on diagram
« Reply #7 on: February 22, 2006, 10:11:02 am »
I know that Sparx has added additional element types to those affected by certain Shape Script features (adornments come to mind).

Perhaps the same sort of thing holds true for pictures; they might only be available for specific element types.

Perhaps this is worth your asking for more in the Suggestions forum.
No, you can't have it!

AshK

  • EA User
  • **
  • Posts: 137
  • Karma: +0/-0
    • View Profile
Re: WMF stereotype not showing on diagram
« Reply #8 on: February 22, 2006, 03:40:05 pm »
Myles,

I've traced your problem back to issue with our Action code.  Please find that the problem has been corrected in our next build, 788 (approx. next week).

Ash
The Sparx Team
[email protected]

mylesJ

  • EA User
  • **
  • Posts: 33
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: WMF stereotype not showing on diagram
« Reply #9 on: February 23, 2006, 01:42:17 am »
Thanks. I'll look forward to testing it out.

StefanPears

  • EA User
  • **
  • Posts: 119
  • Karma: +6/-0
  • Unwissenheit schützt vor Erkenntnis nicht
    • View Profile
Re: WMF stereotype not showing on diagram
« Reply #10 on: April 06, 2006, 11:37:35 pm »
Hi all,

now I have build 789 but still I can't assign an alternate image to an action. Same for Stereotypes with Alternate Images.

The upper works fine with activities and lots of other elements.

any ideas?

Stefan