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 - Michael co

Pages: [1] 2 3 4
General Board / Re: How to know the type of the diagram?
« on: November 01, 2014, 02:59:35 am »
sorry I mean how to get the value from the EA.Repository used in c#!
I have an object of type Diagram ..ok, but which property returns the diagram type, like name, type ?

General Board / How to know the type of the diagram?
« on: November 01, 2014, 02:30:08 am »
How can we know the type of the selected-diagram if it is :class diagram or usecase diagram or ,...... ?


General Board / Re: How to add checkbox for a field in an UML diag
« on: October 17, 2014, 10:14:32 am »
I would like to ask if possible to modify some EA-windows to add some programmable component(s) like the image below :


General Board / Re: How to add checkbox for a field in an UML diag
« on: October 17, 2014, 09:38:10 am »
I need to make control by allowing end-user to specify some extra information for each class or operator, like I want to give each class/operator an extra attribute like: Component_Type , this Component_Type must have 3 values : 1,2,null , so I need a strong mechanism to allow user to choose only one value of those values   instead of typing values, why? because if user by mistakes enters number like:0,4,-3, 5,.... which are not in my List of Component_Type, then my Add-in will not be able to recognize these strange numbers which entered by mistakes, so My Idea is to restrict the User to select from read only menu: which offers just only 3-read only values.
I would like user to specify what I need, this give more quality and more precision, my add-in can only classify each class or operator into 3 groups only, Group1 for value 0, and Group 2 for value 1, and Group 3 for null values, imagine if there is no read-only drop down list: then user can enter any wrong number which affect the whole process used by my add-in.

So again I am looking for a mechanism/way to prevent User from entering any arbitrary values.


General Board / Re: How to add checkbox for a field in an UML diag
« on: October 17, 2014, 06:28:07 am »
I know the tutorial you send me, but this work in case of selecting packages or diagrams because it is available only in case of using Extension menu, but this menu 'Extension Menu' can be not displayed if you right click on class diagram for example.
Any way the point here is to simplify the process at end-user. to be more precise, for example if I add a TV for  each class then the user comes to type the value of that Tag, but he could provide wrong entries ex: if here type 0 instead of 1, then all of the plug-in functionality would be wrong,  that why I offer if we  could  add some drop down menu by somehow for each component / element and then the error rate will be 0, because of  no manual data to enter.

I am still thinking of that, because it is very important, I need more automated and precising mechanism....

once again thank you      Geert Bellekens a lot. but still need more suggestions .. :)


General Board / Re: How to add checkbox for a field in an UML diag
« on: October 16, 2014, 03:51:45 pm »
Actually I have done it using default TV.
but please how can I define context menu on components like(class) by usin Add-in plugin .

Thanks for all,

General Board / Re: How to add checkbox for a field in an UML diag
« on: October 15, 2014, 10:01:46 pm »
Hello all,
I think for tagged value there is a problem because user every time must type the tagged value and name, and this will causes some mistakes if he/she typed wrong character(s) or missed some letters, I suggest to find a way to allow him to define the Tagged element once, and then allow him  to choose from drop-down menu/list !

Or What you suggest me please!

Once again my goal is to allow user to select some classes and some methods, because my Add-in will read only those are chosen by the user.


General Board / UPDATABLE SQL Query
« on: July 23, 2014, 11:45:24 pm »
Is it possible to make updatable query on EA ?
or it is not supported


General Board / generating GUID
« on: July 22, 2014, 09:59:38 pm »
How could I generate GUID when inserting new record in table t_object
is there some functions used to generate a GUID for a component ?


General Board / How could we create Components in EA?
« on: July 18, 2014, 12:28:17 am »
using SQL statement or API functions to create Components in EA,
Where could we find SDK functions and DB-schema for that

General Board / How to remove an End-User Agreement Window
« on: June 17, 2014, 11:03:16 pm »
I have completed my installation packages of my add-in dll,
I am using SharpDevelop for it.

My issue is : how could I remove "End-User Agreement Window"
by using some scripts on SharpDevelop Project or by any other possible way.



General Board / Re: path needed by using Sharpdevelop Software
« on: June 17, 2014, 10:58:34 pm »
It is OK,
Then I will install it on another directory

Thanks a lot.

General Board / path needed by using Sharpdevelop Software
« on: June 12, 2014, 12:28:32 am »
I am using Sharpdevelop as a setup tools ,
but my question that I need to install  EA-dll that I developed to my files inside an specific path : for example : I would like to install it in : C:\Program Files (x86)\Sparx Systems\EA\MyDLL It is mandatory to install in this path,

I did some configurations in Files.wxs like :
<DirectoryRef Id="TARGETDIR">
    <Directory Id="ProgramFilesFolder" Name="PFiles">
        <Directory Id="INSTALLDIR" Name="xchangeTools">


I used some script also like
<UIRef Id="WixUI_InstallDir" />
    <Property Id="WIXUI_INSTALLDIR">INSTALLDIR</Property>

but i could not install my dll- inside the mentioned directory
which is C:\Program Files (x86)\Sparx Systems\EA\MyDLL


General Board / Is there any API equivalent to (Restore )
« on: February 07, 2014, 01:22:34 am »
Is there any API equivalent to (Restore to Baseline)

General Board / How to get information about an element in 2 base-
« on: January 24, 2014, 12:52:22 am »
How to get information about an element in 2 baselines,
for example I have an element e1 and this element is found in baseline1 and baseline2 and baseline3

what is the query/xml/sql can be used to get the whole information of this element e1 ,

Pages: [1] 2 3 4