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

Pages: 1 2 [3]
31
Uml Process / Re: Can I model an Event as instance of a class?
« on: November 25, 2005, 10:21:08 am »
I am not using the E/P UML profile available from Sparx website, because I don't find the full profile described by the authors; instead I am developing mine, trying to amend it - if necessary - with changes in UML 2.

I was able to model the required association:

  • in the Process diagram, I have created an event.
  • In a class diagram, used to represent events, I have created a Class - stereotyped as <<business event>>.
  • In the Relationship Matrix, I have linked the two elements with an instantiation association.


The matrix parameters were:

  • Source: Business Vision / type: Class
  • Target: Business Process / type: Event
  • Link Type: Instantiation
  • Direction: Source Target


In this way, I am able to document the Class/Business Event, and have a link - in the generated html documentation - to each instance of that event appearing in processes, and vice versa.

If you are interested, when my profile will be complete, I can send it to Sparx (I don't know if this could meet copyright issues, I will investigate on this).

Cheers,

Massimo

32
Uml Process / Re: Can I model an Event as instance of a class?
« on: November 24, 2005, 12:33:44 am »
Thanks,

my question comes from the usage - in E/P Business Extensions - of a class diagram to model the structure of events. According to this model, each event is represented as a class, stereotyped with <<Business Event>>.

Instances of the "class" events (always according to E/P) are the "ReceiveEventActivity" events represented as input to a process.

In my understanding of E/P, this means that the events in the Process Activity Diagram are instance of the <<Business Event>> class as well as a normal object is an instance of a class.

Reading UML 2.0 specifications doesn't help me to understand if this relationship may exist, but reading E/P it seems so (also if the Business Extensions were developed for UML 1), also if it is not explicitly represented.

Keeping the two classifiers completely unlinked doesn't allow the reader to understand in which processes each event is relevant; this was the reason behind my question.

Cheers,

Massimo

33
Uml Process / Can I model an Event as instance of a class?
« on: November 23, 2005, 10:10:16 am »
I am  modeling a part of our business using Eriksson Penker Business Extensions.

In a view of my model, I create a class diagram with the "Business Events Model", where each kind of business event is modeled with a "Class".

Instances of those events are input events in an Activity diagram, associated with a "flow" to processes.

I would like to keep the relationship from the instance (event) to the class (Class stereotyped as <<Business Event>>), but I am not able to do so in EA.

Any hint?

Thanks,

massimo

34
I was meaning InsertText in VB. It works adding a chr(13) in the string. ::)

35
I tried, but also \f doesn't work; I tried also \par (the RTF code)

The solution is to insert a chr(13) in the text, apparently, escape characters aren't recognised.

 :)

36
Hi, I have to perform the method InsertText, and then insert a new line in the generated document before the other fragments.

How is it possible  :question

Thanks, Massimo

37
Hi,

the old versions of EA allowed to insert an RTF command in the 'notes' field of a diagram or an element like this:
Code: [Select]
{\field{\*\fldinst
{\insrsid12075035 INCLUDETEXT
"M:\\\\MyDir\\\\MySubdir\\\\DocumentName.rtf"
\\c MSRTF }}
}
This method allowed to obtain an rtf document where the referenced external file was seamlessly included (see my article at: http://www.mcoletti.net/how-to/ea-rtf-en.html).

Later, EA introduced formatting capabilities in the note field of elements. This was a good improvement, but it made the above trick inefficient.
Is there another way to obtain in the generated RTF document an include instruction that brings in another rtf document?
Thanks,

Massimo

38
Hi,

I have created some quite complex searches on my EA model, and I have the need to export the results on a spreadsheet, in order to provide my team with some useful work lists. Until now, I select all the elements in the search results, copy/paste in excel, its allright.
But if I have the need to add the notes of the selected elements, there is a problem, because I can display the full notes in the results list, but they are not copied.
Any plan to build some handy export-to-excel functionality?  [smiley=cool.gif]

Regards,

Massimo

39
Automation Interface, Add-Ins and Tools / Re: stereotype appearance
« on: March 31, 2006, 12:35:50 am »
sorry, I was not clear.

I need to create a stereotype image script, as in the "yellow box" example above in the topic.

I was asking wether there is an example of a shape script for a similar shape, to copy and use as a reference and a starting point.

Thanks,

Massimo

40
Automation Interface, Add-Ins and Tools / Re: stereotype appearance
« on: March 30, 2006, 07:40:31 am »
Hi,

I have the need of a stereotype icon representing a wall-mounted video camera, to add aesthetic to a deployment diagram for top management.

Is there any starting point?

Many thanks,

Massimo

41
Automation Interface, Add-Ins and Tools / Re: Reverse engineering XSD
« on: August 17, 2005, 01:38:13 am »
Quote
One option is the [free] hyperModel plugin for Eclipse. It produces UML 1.3 XMI 1.0 with UML Profile for XML Schema, can be imported in EA.
http://www.xmlmodeling.com/hyperModel/index.html


I have quickly tried it, with XBRL specifications, and it worked smoothly! Thanks.

Massimo

42
Automation Interface, Add-Ins and Tools / Re: Reverse engineering XSD
« on: August 14, 2005, 09:31:25 am »
thanks, Thomas.

I have read the thread, now it will be useful to understand the planned "release" of this feature, in order to decide if it is better to implement a "skeleton" transform to fulfill my basic requirements or wait for the packaged feature.

Regards,

Massimo

43
Automation Interface, Add-Ins and Tools / Reverse engineering XSD
« on: August 12, 2005, 02:34:34 am »
I have the need to create an UML model representing an XML Schema defined through an XSD file.

I think that an XSL transformation from the XSD to an XMI model, could help in the reverse-engineering process.

Did anyone find this problem interesting or is aware of already developed tools?

Regards,

Massimo

44
Hi,

while generating an XSD from a package, the attributes withing a class are rendered as <element> withing the Complex Type definition, but without name (the attributes are named in the UML diagram).

I have created a new project, imported XSD datatypes and then XML profile.

I have created a package, dragging the XSDSchema stereotype, then created only a class within it. The class has two attributes, xs:string.

The elements for the attributes have the correct types, but no name.

Any hint about what went wrong?

(EA 5.0 build 567)

45
There is a small how-to explaining how to include external Word documents, in the generated RTF documentation, without manual operations.

For anyone interested:

http://www.mcoletti.net/how-to/ea-rtf-en.html

???

Pages: 1 2 [3]