Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Robert Lelieveld

Pages: 1 [2] 3
16
General Board / Re: Generate documentation - exclude tagged value
« on: April 17, 2015, 07:29:04 pm »
Great, that will work perfectly!  :)

Thanks,
Robert

17
General Board / Generate documentation - exclude tagged value
« on: April 17, 2015, 05:42:47 pm »
Hi,

In the template, tagged values are added like this:
Code: [Select]
tagged value >
{ElementTagVal.Name} {ElementTagVal.Value}
< tagged value

However, multiple tagged values exists on my requirement objects which I don't always/all need in exported documents.

Is it possible to exclude tagged values from the generated documentation? If so, how?

Thank you,
Robert

18
General Board / Re: Show Complexity on element in diagram
« on: April 10, 2015, 10:57:38 pm »
Nice!

Tried this:
Code: [Select]
decoration c {
      orientation = "s";
      PrintWrapped("Complexity #Complexity#");
}
However, this code will create two lines of which the second is outside of the shape.


Also tried this one:
Code: [Select]
shape Main
{
      SetCompartmentName("Complexity");
      AppendCompartmentText("#Complexity#");
      DrawNativeShape();
}

But no compartment is added?

The example in your book in chapter 2.5 is very nice. Might that only work with child elements and not with Main properties and values?

19
General Board / Re: Show Complexity on element in diagram
« on: April 10, 2015, 09:19:49 pm »
Hi qwerty,

Thanks!
I didn't know about Shape Script.

Currently I added this:
Code: [Select]
shape Main
{
      PrintWrapped("#Complexity#");
      DrawNativeShape();
}

Is it possible to have EA add this below the already shown Type and Name ? I tried to add a compartment (nothing happens) or add a decoration (in the center right over the Name), but can't make it to work.

- Robert

20
General Board / Show Complexity on element in diagram
« on: April 10, 2015, 06:09:58 pm »
In the general settings of e.g. the Interface object of the UML deployment diagram, there is a standard property called Complexity.

I'd like to show that on the element in the diagram.
How can this be done?

Tagged values can be shown, but I rather not create a duplicate field.

21
Bugs and Issues / Re: Status color shadow for derived element not dr
« on: November 02, 2015, 08:17:03 pm »
I now see that that link is indeed available, but a bit hidden in the big section of all links. I should get glasses I guess :)

I'll use your advice on linking pictures.
And try that Report a bug link.

Thanks!

22
Bugs and Issues / Re: Status color shadow for derived element not dr
« on: November 02, 2015, 08:00:56 pm »
Sure!
But, which link?  :)

Tried to upload a screenshot to show you the buttons that are visible, but I think I have also no authorization for that. :)


23
Bugs and Issues / Status color shadow for derived element not drawn
« on: October 29, 2015, 06:47:24 pm »
Hi,

When creating a new MDG technology and overriding e.g. a Class element into a derived element, the shadow of the derived element is not colored. Not that the derived element has its own ShapeScript to draw it.

If DrawNativeShape() is used, the rectangle including colored status is drawn. However for the custom shape the shadow is not colored.

See also http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1445858283


Kind regards,
Robert

24
Uml Process / Re: Stereotype on Interface emptied?
« on: April 17, 2015, 08:45:13 pm »
I'm using 12.0.1211 and the UML/Deployment/Interface.

Maybe the combination of having a stereotype 'interface' on the Interface object with ShapeScript attached is causing this.

Just tried another stereotype with ShapeScript which is not emptied which I'll use.

Thanks!

25
Uml Process / Stereotype on Interface emptied?
« on: April 17, 2015, 07:39:07 pm »
When I set a value for Stereotype on an Interface, it is emptied.
Why?

I need to set a Stereotype to be able to change the symbol on the diagram to display the complexity. This works, however when the stereotype is emptied at file closure and reopening, I need to reset it everytime which is kinda time-consuming  ;)

(This solution was proposed http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1428653398.)

- Robert

26
Automation Interface, Add-Ins and Tools / Re: Shape script color status
« on: October 28, 2015, 06:28:40 pm »
Hi qwerty,

Agree, the shadow is indeed a bit difficult to see.
I'll create a small subshape representing the color.

Would there be a way for ShapeScript to fetch the identified colors in the general status color window? That way the status colors won't be hardcoded in the technology and can be changed per model.

27
Automation Interface, Add-Ins and Tools / Re: Shape script color status
« on: October 27, 2015, 06:48:52 pm »
Hi Simon,

Indeed the same window that opens via
Diagram | Appearance | Configure Status Colors...

I've checked that list and the derived type is not available to mark.
How to add it there?

As it is derived from Class, I was hoping it would get the colored shadow.

---
Hi qwerty,

Adding the DrawNativeShape(), draws the native shape :-)
Including colored shadow.
Should a ShapeScript statement be added to draw colored shadows?
Or maybe a colored status compartment? How to do that?


28
Automation Interface, Add-Ins and Tools / Re: Shape script color status
« on: October 27, 2015, 02:52:58 am »
Hi qwerty,

Thank you for your reaction.
That option is enabled.

If I add an element of type 'Class' it is drawn with a colored shadow.
However, if I add my extended 'Class' that is using ShapeScript for drawing the element, the shadow is not colored.

Shape script used looks like this:
Code: [Select]
shape main{
      setfillcolor(0, 112, 192);
      roundrect(0,0,100,100, 4, 4);
      addsubshape("name", 100, 100);
      
      shape name
      {
            v_align="center";
            h_align="center";
            printwrapped("#name#");
      }
}

Should a Status Color compartment be added? Or Status Color shadow?

P.s.: I'm using version 12.0.1211

29
Automation Interface, Add-Ins and Tools / Shape script color status
« on: October 26, 2015, 10:18:03 pm »
Hi,

I've extended the class to be able to draw a custom shape.
Now I'd like to add the Color Status feature. Looking in the documentation is says that the shadow should be colored according to the status the element has.

Trying this for Class in a UML Class diagram works flawlessly. However my from Class derived type is not drawing colored shadows.

How can this be enabled?


Thanks,
- Robert

30
Automation Interface, Add-Ins and Tools / Re: Create Shared MDG
« on: October 28, 2015, 06:19:17 pm »
Hi Geert,

Great!
Thanks, I wasn't aware of this.

- Robert

Pages: 1 [2] 3