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

Pages: [1] 2
General Board / Re: single namespace for all packages below one
« on: February 24, 2011, 06:40:24 am »
Thank you.
I'll be looking for a solution.

General Board / Re: single namespace for all packages below one
« on: February 22, 2011, 06:44:46 am »
Thanks for help!

Setting namespace root causes generation of namespaces starting from P1 and the packages below generate nested namespaces. I wish to generate one topmost namespace and no other (nested or not).

General Board / single namespace for all packages below one
« on: February 21, 2011, 10:13:11 pm »

I need to set a common namespace for all packages below a package.
Let's say I have something like:

I need Class1, Class2 and Class3, all have the namespace P1, not P1.P1_1, P1_2, P1_2_1, etc...

Is it possible? Or is there any means to set explicitly set namespace of the elements?

Thank you...

General Board / Re: xsd transformation - generate tagged values
« on: February 13, 2009, 07:11:52 am »
Sorry, I couldn't understand what you meant.
Let me ask this first: Is it possible to generated tagged values of a class or attribute using EA's "Generate XML Schema" command? I see no tagged value in the generated file, is there anything specific that I should do prior to generation?

Did you mean that I should define a transformation such that it contains transformation rule like the one you exemplified?

Thank you, and please excuse me if I'm asking too ridiculous; new to transformation...

General Board / xsd transformation - generate tagged values
« on: February 10, 2009, 08:13:30 am »

I'm trying xsd transformation to use xsd as intermediary to be fed into other "home-built" transformators. I'm using tagged values to specify some properties processed by those transformators. However, I couldn't find a way to generate tagged values in xsd generated by EA transformation. Any idea?

Thank you...

General Board / Re: Documentation - Selecting specific tagged valu
« on: January 30, 2009, 07:29:41 am »
Hi again,

Sparx Support Team responded that it's not possible to select one of the Constraints, but full listing is possible.

I'm disappointed  :(

General Board / Re: Documentation - Selecting specific tagged valu
« on: January 23, 2009, 06:07:30 am »
Ok, I see...

Thank you, David.

General Board / Re: Documentation - Selecting specific tagged valu
« on: January 22, 2009, 06:03:26 pm »
Thank you Midnight.

I found valueOf template and it seems useful. Now I can include only specific tagged value by saying Attr.valueOf(MySpecificTaggedValueName)

However, I still have headache: Constraints. All constraints of the attributes can be listed in the rtf template. But, again, I couldnt find some tag similar to valueOf that can be used to access the value of a specific constraint.

I have two constraints on the attributes: Range and Resolution.
I want to list attributes of the class in a table such that, each row contains information of each attribute. The first column is the name, the second is the type, the third is the tagged value "unit", the third is the constraint "range", the fourth one is the constraint "resolution". Name and type are easy ones. Now I can add unit with value of macro. But the range and resolution... I couldnt a macro to access to name, value and notes of a specific constraint.

Any idea?

General Board / Documentation - Selecting specific tagged values
« on: January 22, 2009, 07:30:01 am »

I have defined an UML profile containing a stereotype extending class to represent my domain objects. I have also added some tagged values to new stereotype as enumerations by defining them in the profile.

Now, I would like to generate the documentation for the packages holding my domain objects. The template I have to use dictates some tagged values to be displayed in some format and others in another format. However, element taggedValue in the template definition list all tagged values of the element with all possible values for each tagged value.

How could I select a specific tagged value in the template to include its name and only current value? Anything like "element.taggedValue('taggedValueName')"? ...or does it seem nonsense...

Thank you!

General Board / Code gen. - all referenced types to same file
« on: January 30, 2009, 07:45:31 am »

I have a language (actually not a programming language, a type definition language) that has no keyword or macro like #include in C/C++ or import in Java. That is, I have to give all related type definitions in the same file.

Let's say I have a enumeration E having value ev1, ev2, ev3. I have a type T which includes an integer field and a field of type E. The type definition file for T looks like:

//beginning of the type T definition file
Enum E

Type T
   E e,
   integer i
//end of the type T definition file

I wish to generate this type definition file from EA diagrams.
Enumeration E and Class T can be defined in class diagram but when it comes to code generation... These two definitions go to different files (which is so normal in other languages). However, I need to generate code for these to types into the same file. To generalize, I need to generate the codes for the classes into the same file in the correct order of type referencing, i.e. If A uses B which uses C, then the file contains first C, then B and last A.

Any clue that you may give me?

Thank you...

General Board / issue search & report
« on: November 06, 2008, 09:30:26 am »

I want to use EA to track issues. To accomplish this, I tried to relate "Actor"s denoting developers to issues via realization as mentioned in EA Help - Assign People to Defects or Changes. I also added tagged value to the issues denoting their status (Open, assigned, ready to verify, closed, etc...). Now I want query the issues like: Find the issues assigned to  developerX and issue's status is ready to verify. Any idea, how could I define such a search?

Another problem I have on the "issue" is how to take metrics like
-duration in which the issue stayed in the status assigned (how long did it take to close that issue)
-number of issues having priority higher than low
-number of issues per package
etc etc...
Any advice on how to write or build such queries?


General Board / Re: RTF Template - Element filtering
« on: November 06, 2008, 09:31:30 am »
I'll be waiting.

Thank you...

General Board / RTF Template - Element filtering
« on: November 06, 2008, 08:06:53 am »

How could I filter the elements based on element's stereotype while document generation? I mean, how could I define that only the elements having stereotypeX and stereotypeY shall be included in the result document? The question may be reproduced for tagged values: How to include/exclude elements having taggedValueX = some_value?

Thank you...

Uml Process / #including dependencies
« on: April 08, 2011, 06:37:25 pm »

Is it possible to have EA C++ code generator to create #include directive for classes having dependency connector. I mean, I have ClassA and ClassB. ClassB is dependent on ClassA, that is, a dependency connector exists from ClassB to ClassA. When I generate the code, ClassB file has no line #include "ClassA". Is it possible to have this line, for example by tweaking code generation template?

Thank you...

Automation Interface, Add-Ins and Tools / Scripting & GUI
« on: January 02, 2011, 08:44:19 pm »
Hi all,

Is it possible to implement a GUI in vbscript or jscript in EA? If possible, could you give tips on that?

Thank you!

Pages: [1] 2