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

Pages: [1]
1
Suggestions and Requests / Re: .NET Framework Types
« on: May 18, 2004, 05:25:26 am »
Any chance of getting the .NET base file you downloaded. The web site in this thread no longer exists.
   Thanks

2
General Board / Re: Import Java: Ambiguous Generalization Relation
« on: May 15, 2004, 09:19:43 pm »
     I got everything to import, but know there have to be errors. Once the error dialog pops up, I hold down the enter key until the import finishes. I actually use a book and a wine bottle cork to hold down the Enter key. So much for modern technology!!
    By the way, I imported the java, javax, com, org and sunw folders, and wound up with a file size of 107 mb. Folks, there has got to be a better way. I am sure the .NET framework will be just as large once I get all of that imported.

3
General Board / Re: Import Java: Ambiguous Generalization Relation
« on: May 11, 2004, 04:39:47 am »
Wasany help or answer ever given for this. I am having the same problem trying to setup packages and class so I can use EA for Java development. I also ran into this message/error when importing .NET class files. Any help or pointers would be appreciated.

4
General Board / Re: AssemblyBrowserXMI - need help feedback/testin
« on: January 30, 2004, 06:48:22 am »
Hi Fluxtah,
    I am interested in using EA with .NET as well, and have tried a couple of tools. I would like to test your tool and see what it has to offer. Iwill download it and look at it this weekend.
   Dave

5
General Board / MS SQL ServER Mets Data Services
« on: December 02, 2003, 09:43:34 am »
Has anyone used EA to work with the Microsoft Meta Data Services SDK for SQL Server? The preferred tool Microsoft recommends is Rational Rose 2000, but I would like to be able to use EA. The SDK has tools that integrate with the modeling tool to generate Information Models.

6
General Board / Re: Question - .NET framework classes
« on: October 14, 2003, 06:45:35 pm »
I have uploaded it to my site. Hope you have better luck with it than I had. Not very good at doing large sets of classes.
   Dave

http://www.davidechols.com/download/Genista29.DotnetExporterForEA.Installer%20A.zip

7
General Board / Re: Question - .NET framework classes
« on: May 14, 2003, 05:59:20 pm »
Couple of questions on the XML generator you have written. I have both 1.0 and 1.1 frameworks installed on my system. Which one is your utility reading and generating an XML file for? Also, there are many other assemblies included with the framework that are not listed with the standard ones you have included by default. Would it be possible to include all assemblies on a given system, with checkboxes or multiselect capability available in the treeview for selecting which ones to generate?

8
General Board / Re: Question - .NET framework classes
« on: March 07, 2003, 01:00:59 pm »
Has any more work been done on this? I have imported the BCL supplied on the MS site, but need objects/classes that are not in the BCL. I had looked at the possibility of using reflection in VB.NET to write out suitable XML files, but just don't know enough about the CLR to be able to get useful XML files.

9
General Board / Status of .NET support
« on: September 08, 2003, 06:06:39 am »
What is the status of fully supporting the .NET framework. I have tried the XML imported, written by a third party, and have had problems using it in a latrge number of classes/DLLs. I also found this fron Geoff Sparx...

Hi,

The latest build (584) of EA has an additional option to import an XML 'library' file of .NET framework classes as mention by Jason in an earlier post on this thread:

http://msdn.microsoft.com/net/ecma/
(scroll to the bottom of the page, there is a link for an XML file describing the BCL)

The option is on the right click on a package in the project tree ... under import/export.

We plan to put together some reflection based examples in C# to create suitable XML files for import using this option. In the meantime you can use this to import the BCL at least.

Hope this helps,

Geoff Sparks


When will EA support .NET natively, instead of relying on a third party utility, or an incomplete BCL xml file from Microsoft? Can someone at EA create a .NET base EAP file with the complete set of classes, and post to the downloads section?

10
General Board / Patch
« on: March 12, 2003, 11:48:00 am »
Does the Patch on the Downloads page patch the Corporate version as well as the other versions?

11
Automation Interface, Add-Ins and Tools / Custom Icons for EA folders
« on: July 06, 2004, 06:54:23 am »
I am writing an object browser addin for EA using VB.NET and reflection. I am fairly far along, and want to be able to change the icon for various folders (packages) I add to hold objects imported from the .NET framework. Is there a way, using the automation interface , to change or set the icon used by folders in the tree view of the EA project view?
    Dave

12
Has anyone used EA to work with the Microsoft Meta Data Services SDK for SQL Server? The preferred tool Microsoft recommends is Rational Rose 2000, but I would like to be able to use EA. The SDK has tools that integrate with the modeling tool to generate Information Models.

13
Automation Interface, Add-Ins and Tools / Addin Example in C#
« on: December 01, 2003, 04:49:30 am »
Hi All,
    I have started working on an addin and had some trouble getting the one example working. I eventually worked out the problems, and wanted to post a more detailed example. Hope this helps others get a faster start on developing addins.

The addin should behave as follows if built and configured correctly, otherwise, you should get an error when starting EA, or errors when compiling...

1. The "MyAddin connected" msgbox should display before the EA main program displays
2. The "Add-Ins" main menu option should be visible once EA is loaded.
3. The "MyAddIn" submenu should appear under the "Add-Ins" main menu.
4. Clicking the "MyAddIn" submenu should display the "Not implimented" msgbox
5. Exiting EA should display the "MyAddin disconnected" msgbox

//--------------------- start of class -------------
using System;
using System.Runtime.InteropServices;   // needed for the Guid and ClassInterface attributes

namespace MyAddIn  
{
   [Guid  ("1602B4A3-AE64-4a9e-812F-AC08613E0962"),
   ClassInterface(ClassInterfaceType.None)]
   public class EAAddIn : EAAddInTemplate.Addin  
   {

       /// <summary>
       /// Summary description for Class1.
       /// </summary>
       public EAAddIn()
       {
           //
           // TODO: Add constructor logic here
           //
       }
 
       #region "AddinMembers"

       public void ShowHelp(string MenuName, string ItemName)
       {
           // TODO:  Add EAAddIn.ShowHelp implementation
       }

       public void MenuClick(ref EA.Repository Repository, string MenuName, string ItemName)
       {
           // TODO:  Add EAAddIn.MenuClick implementation
           System.Windows.Forms.MessageBox.Show( "Not implimented" );
       }

       public object GetMenuItems(string MenuName)
       {
           // TODO:  Add EAAddIn.GetMenuItems implementation
           //return null;
           return "&MyAddIn";
       }

       public void FileOpen(ref EA.Repository Repository)
       {
           // TODO:  Add EAAddIn.FileOpen implementation
       }

       public void Connect(ref EA.Repository Repository)
       {
           System.Windows.Forms.MessageBox.Show( "MyAddin connected" );
       }

       public void Disconnect()
       {
           GC.Collect();  
           GC.WaitForPendingFinalizers();  
           System.Windows.Forms.MessageBox.Show( "MyAddin disconnected" );
       }

       #endregion
   }
}
//--------------------- end of class -------------


The registry info threw my for a while. I kept getting an error loading the COM object in EA. In my example, I set my Project default namespace to MyAddIn to match the namespace in my class file. This is found in the Project Properties dialog under Common Properties/General/Default Namespace. Note the capital "I" in MyAddIn.


//--------------------- start of registry info -------------
REGEDIT4


[HKEY_CURRENT_USER\Software\Sparx Systems\EAAddins\MyAddIn]
@="MyAddIn.EAAddIn"
//--------------------- end of registry info -------------

Several references are required for this example to work. The first 2 are described in the EA documentation, and the other is the Forms reference so the msgbox calls work.


//--------------------- start of reference info -------------
EA      // EA.TLB
EAAddInTemplate   // Addn_tmpl.TLB
System
System.Data
System.Windows.Forms
System.XML
//--------------------- end of reference info -------------

Pages: [1]