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 - Fabio Riera

Pages: [1] 2
1
General Board / Re: Memo tagged value
« on: March 04, 2015, 10:39:51 pm »
Very good! Thanks you!! :D

2
General Board / Memo tagged value
« on: March 04, 2015, 07:22:17 am »
Hello! How do I create a memo tagged value like "viewdef" in the View element? This is my taggedvalue profile definition:

<Tag name="transformationRule" type="" description="Specify the transformation rule" unit="" values="" default="" />

Thanks in advance!

3
General Board / Re: Stereotype like table
« on: March 03, 2015, 07:43:13 am »
Using "Table" (with T) I can crate a new stereotype derived from table. Thanks a lot! However, EA keep ignoring the tagged values. This is my profile:

<UMLProfile profiletype="uml2">
      <Documentation id="18F711C8-9" name="ProfileTest2" version="1.0" notes="fooooo"/>
      <Content>
            <Stereotypes>
                  <Stereotype name="MyStereo" notes="" cx="141" cy="77" bgcolor="-1" fontcolor="-1" bordercolor="-1" borderwidth="-1" hideicon="0" generalizes="Table" baseStereotypes="Table">
                        <AppliesTo>
                              <Apply type="Table"/>
                        </AppliesTo>
                        <TaggedValues>
                              <Tag name="tag1" type="char" description="" unit="" values="" default=""/>
                              <Tag name="tag2" type="char" description="" unit="" values="" default="initial test"/>
                        </TaggedValues>
                  </Stereotype>
            </Stereotypes>
            <TaggedValueTypes/>
      </Content>
</UMLProfile>

4
General Board / Stereotype like table
« on: March 03, 2015, 01:10:27 am »
Hi there,

How do I create a new stereotype like "table"? When I open its properties, I need to set the database and the attributes need to accept sql data types. Can someone help me?

5
Automation Interface, Add-Ins and Tools / Open source code from addin
« on: April 17, 2015, 03:50:34 am »
Hello...

Is there any method to open a file in the code editor window (tools/open source file) from an addin?

Thanks in advance


6
Automation Interface, Add-Ins and Tools / Scrolling to object in a diagram
« on: February 15, 2014, 05:55:06 am »
Hello friends

I open a diagram with Repository.OpenDiagram(9999).
Now, how do I scroll the screen to position (x,y) show an element?

Thanks in advance!

7
Automation Interface, Add-Ins and Tools / EAAddin issue
« on: December 18, 2013, 05:17:46 am »
I did an addin that opens a new modal window. It works fine but in some machines the keyboard stays blocked. The user can't type in the form. Have someone experienced this problem?

8
Thanks Helmut. It's rare that this file is empty in my EA.

9
Hi there,

Under the menu Project/Version Control/Version Control Settings, there is a frame titled "Configuration Details".

My question is: how I get the "Working Copy Path" value programmatically or doing a database query?

Thanks in advance

10
Thanks again Qwerty!
"Show namespaces" disabled when T_DIAGRAM.SHOWFOREIGN = 0

11
Hi there,

How to disable the diagram option "Show namespaces" programmatically?

Thanks in advance

12
thank you!! it worked fine!!! this was my last challenge to finish my addin! thanks again!

13
Ok, setting PDATA1 is only I need to transform a text element in link?

14
Hello,

I need to create a text element that links to another diagram.

Comparing the records in the database between a simple text and a text with link I found three diferences:

T_OBJECT.PDATA1 = The linked diagram ID.
T_DIAGRAMOBJECTS.SEQUENCE = ?
T_DIAGRAMOBJECTS.OBJECTSTYLE = "DUID=????"

My question is how to create a text element that links to another diagram programmatically?

Is there a way to do it without query the database?
If not, which fields and values in database I need to set?

Thanks in advance!

15
The parameter is named configGuid, but in reality it requires the UniqueID of the Project/Version Control Settings. The value is not a guid value, but a common string.

Thanks!

Pages: [1] 2