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

Pages: 1 ... 533 534 [535] 536 537 ... 603
8011
When working with the shape script I  was not aware of this additional option, so I just stopped after adding the composite diagram. Actually I do not often use displaying a composite as diagram inside an element (there are different ways to achieve the same result) so may simply have forgotten how to correctly deal with it.

Thanks to both of you for helping me out :-)

q.

P.S. On the other hand: if I write a shape script and place the DrawCompositeDiagram wouldn't I expect to appear that diagram rather to have the user to set the option manually??? That's probably some EAUI as my way of thinking differs from that of the EA developers. Well, I take it as it is but finally have some explanation for my "stupidity" ;-)

P.P.S: The method itself is not described the the drawing methods. It only appears in one example. Roy, could you add that to the table?

8012
Well, here it does not work. I may be doing something completely stupid, but it's actually this:
- define the shape script
- create a class and assign the stereotype
- make the class composite by Add Diagram/Composite
- place something in that diagram
--> see nothing appear in the class. It's completely blank.
Was that stupid?

q.

8013
You may be right with your assumption, but the help does not tell anything about it. And why should a plain stereotype not allow a script which produces the composed diagram inside the shape?

Anyhow I'll see how a MDG changes things. But that will be the next step. For the moment I try to put together the basics. Tough enough...

q.

8014
Unfortunately not. Comment or not: There is no composite diagram shown in any case. Does it work for you? I did not use MDG but tried with board tools (Settings/UML).

q.

8015
Does this script (copied from the help) actually work?
Code: [Select]
shape main {
 layouttype="Border";
// if(HasProperty("ShowComposedDiagram", "true")) {
         addsubshape("ComposedDiagram", "CENTER");
// }

 shape ComposedDiagram {
      DrawComposedDiagram();
 }
}
I don't see any composite diagram.

q.

8016
Automation Interface, Add-Ins and Tools / Re: text instead of shape
« on: January 21, 2014, 06:32:49 am »
Obviously the keywords shape, text and label are synonyms for each other. It does not matter whether you write shape main, text main or label main. Who in heaven had designed this language. Or should I say stammer?

q.

8017
Automation Interface, Add-Ins and Tools / text instead of shape
« on: January 20, 2014, 12:34:34 am »
One of the MDGs uses a text <name> instead of a shape <name>. I could not find any difference in the effect of both. Does anyone know more about it. The help does not mention it at all.

q.

8018
I'm currently playing around with that. Unfortunately I can only work with Perl and  I know there are some limitations. So I only see repository and guid. I do not see any of the parameters passed. So here my questions:

- are the parameters seen in any way from some Cxx language?
- what kind of parameter (object type) is used?

Thanks.

q.

8019
I was curious looking into the shape script documentation. But there's not a single sentence about the exec_addin. However, I remember the discussions about that method. Did you find anything documented?

q.

[edit] I once posted this link :-X http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1326759082/1#1

8020
If you de-select it from Settings/MDG Tech it should also go away.

q.

8021
Click the More Tools in the diagram toolbox. On the bottom you find a Toolbox Visibility.

q.

8022
Automation Interface, Add-Ins and Tools / SetPen in shape script
« on: January 20, 2014, 08:02:22 pm »
To whom it may concern: Using
Code: [Select]
SetPen(get...Color(),<size>) has strange effects if there are bends in an applied connector shape. Using
Code: [Select]
SetPenColor(get...Color());
SetPenWidth(<size>);
however works as expected.

q.

8023
Automation Interface, Add-Ins and Tools / Re: #istagged# in shape script
« on: January 20, 2014, 05:35:59 pm »
Strange encounters of the 3rd kind? I seemingly had forgotten about them :-) Looks like a useful feature.

Thanks,

q.

8024
Automation Interface, Add-Ins and Tools / #istagged# in shape script
« on: January 20, 2014, 12:08:29 am »
Does anybody know what this hash tag returns?

q.

8025
Automation Interface, Add-Ins and Tools / Re: #weight#  in shape script
« on: January 20, 2014, 09:29:00 am »
Thanks :-)

q.

Pages: 1 ... 533 534 [535] 536 537 ... 603