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

Pages: [1]
1
General Board / Re: Appearance Element Context Menu - White Backgr
« on: December 20, 2012, 11:55:01 pm »
Thanks for the reply.  Can this capability be patched or added to the next release?  Not requiring perfect rectangular alternative images, especially on UI elements, would greatly enhance usability.

Regards,
Bob

Robert Hathaway
Solutions Architect
ADP Innovation Lab

2
General Board / Appearance Element Context Menu - White Background
« on: December 20, 2012, 09:57:35 am »
I want to put an image on UI elements but EA appears to be putting a rectangular white background around the image which I can't get rid of.  For example, I want a button to have an image which is say oval or some non-rectangular shape.  This white background makes the new image on the button unusable for my purposes, either I need to change that background color or make it transparent.

I've tried changing settings on the image and also tried Settings / UML Types / Stereotypes and selected button to see if the fill color could be set to something else but it doesn't appear to be changeable, it appears to revert back to default after saving.

Is there any way to remove this rectangular white background from my alternative image appearances on elements?

Robert Hathaway
Solutions Architect
ADP Innovation Lab

3
General Board / Importing UML Diagrams Originally From ROSE .mdl
« on: December 12, 2012, 03:24:58 am »
I have many Rose scenario diagrams which need to be imported into EA.  I imported the .mdl into RSA getting a a single EMX file.  When importing the .emx into EA, only the model components appear and no scenario diagrams are present.  In fact, EA only reads the first 'package' from the .emx which is Use cases.  Manually altering the .emx file to have the Logical View 'package' appear first in the XML allowed EA to read in the scenarios but again only model components appear and the actual scenario diagrams appear to be lost.

The same occurs when I export XMI files from RSA and import all the generated .xmi files into EA starting with the profiles, including Rose and RoseLegacy UML profiles.  After importing only model components appear in the project browser and no diagrams are available, other than the usual diagram per project 'package' which shows the isolated components.

Can anyone help provide instructions or have any ideas on how to import Rational Rose diagrams into EA?  RSA is available to create .emx and .xmi files from the Rose .mdl.

Thanks & Regards,
Bob

Robert Hathaway
Solutions Architect
ADP Innovation Lab

4
General Board / RTF Generator valueOf - structured tags
« on: November 29, 2012, 02:53:40 am »
References:  
http://www.sparxsystems.com/uml_tool_guide/sdk_for_enterprise_architect/usingthetaggedvalueconnect.htm
http://www.sparxsystems.com/downloads/whitepapers/Working_with_the_RTF_generator.pdf

A UML profile has a stereotype with a taggedValue connector to another stereotype which has 3 attributes.  The relationship is 1 to many, allowing many of these structured tags.  The RTF Generator can insert a valueOf field which elaborates to the tagged values with valueOf{<structured tag name>}, but this displays a comma separated list of the tagged value's stereotype and top-level object name.  It does not display the 3 structured tag values.    How can these nested tag values be displayed?  valueOf{tagField.nestedField}  just returns empty.  A table of these structured values is desired.  The RTF Generator document (above) only covers displaying unstructured tags, on the last page of the PDF.

For a simple example, the UML profile has a stereotype Parent with a <<taggedValue>> connector to a Child stereotype with 3 attributes f1, f2, and f3.   This attribute/target role in Parent to Child is named toChild.  An element in a class diagram uses the Parent stereotype is able to set the value of the Parent tag (toChild) to 3 objects with the sterotype Child, named child1, child2, and child3.   All of these Child objects have values for all three tags f1, f2, and f3 which correspond to the attributes defined in the UML profile's Child stereotype.

Relating to the referenced Web page above, Parent would be collection and Child is Node and the taggedValue connector role is rootNode.  Although in the case under discussion rootNode (as toChild) would be 1..*.

How can the three tags on toChild (Node) be displayed?   valueOf{toChild} results in <<Child>>child1, <<Child>>child2, <<Child>>child3.  valueOf{toChild.f1}  is empty.

How can a table be created to display all the Child tags?  The table would have headings f1, f2, and f3.

Thanks in advance.

Robert Hathaway
Solutions Architect
ADP Innovation Lab
  




5
I need to access Java APIs.  I presume the way to do this from C# would be to invoke a separate process such as exec and pass parameters thru a CLI.

6
Thanks for the quick response!   Found the documentation under Function Macros.

Robert Hathaway
Solution Architect
ADP Innovation Lab

7
Would like to invoke my Java code from within an MDA code generation template, is there a simple way to do that?

Robert Hathaway
Solution Architect
ADP Innovation Lab

8
I don't see the XML code generation template in the drop down from Code template editor, where I only see Java and other programming languages.  The Transformation Editor has XSD but that appears to be a model to model transform.  How can I see the XML code generation template, which I'd like to use as an example.

Robert Hathaway
Solution Architect
ADP Innovation Lab

Pages: [1]