Book a Demo

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 - balutoo

Pages: [1]
1
General Board / Re: Symbol for composite element in stereotypes
« on: February 08, 2008, 04:12:03 am »
Hallo

I tried out some things with shapes. If one writes two shapes one behind the other, then you can see only one. With one testscript I found out that the shape standing above is the one that is shown.

Code: [Select]

decoration eins
{
   startpath();
   rectangle(5, 5, 95, 95);
   endpath();
   fillandstrokepath();  
}

decoration zwei
{
   startpath();
   rectangle(30, 30, 70, 70);
   endpath();
   fillandstrokepath();
}


How can I show both??


2
General Board / Re: Symbol for composite element in stereotypes
« on: February 05, 2008, 11:20:42 pm »
hallo

I tried this following code:


Code: [Select]
shape main
{
  noshadow = "true";
  h_align = "center";
  v_align = "bottom";

  startpath();
  roundrect(0,0,100,100, 20,20);
  moveto(05,20);
  lineto(50,10);
  lineto(95, 20);
  moveto(05,23);
  lineto(50,13);
  lineto(95, 23);
  endpath();
  setfillcolor(233,255,255);
  fillandstrokepath();
 
  decoration composite
  {
     orientation="se";
    if(hasproperty("iscomposite","true"))
    {
       ellipse(75, 80, 80, 85);
       ellipse(80, 80, 85, 85);
    }
  }
  println("#NAME#");

}


But there nothing happened.

I take the ACTIVITY-element in an ACTIVITY DIAGRAM in EA Version 7, build 816.

do you need any more information??
thanks for help.

3
General Board / Symbol for composite element in stereotypes
« on: February 05, 2008, 06:52:28 am »
hallo

in some elements one can see a symbol to show that the element has got a composite element.

If this element has got a stereotype this symbol is not shown any more.

Is there a possibility of showing such a symbol automatically in a stereotype with composite element??

balutoo

Pages: [1]