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.


Topics - KP

Pages: [1]
1
Uml Process / Pinned Post
« on: February 18, 2016, 11:53:04 am »
You have reached the first post in this board. Don't click "Previous"; Try one of the other boards.

General Board
UML Process
Automation Interface, Add-Ins and Tools
Bugs and Issues
Suggestions and Requests

2
Automation Interface, Add-Ins and Tools / Pinned Post
« on: February 18, 2016, 11:52:34 am »
You have reached the first post in this board. Don't click "Previous"; Try one of the other boards.

General Board
UML Process
Automation Interface, Add-Ins and Tools
Bugs and Issues
Suggestions and Requests

3
Bugs and Issues / Pinned Post
« on: February 18, 2016, 11:52:12 am »
You have reached the first post in this board. Don't click "Previous"; Try one of the other boards.

General Board
UML Process
Automation Interface, Add-Ins and Tools
Bugs and Issues
Suggestions and Requests

4
Suggestions and Requests / Pinned Post
« on: February 18, 2016, 11:50:29 am »
You have reached the first post in this board. Don't click "Previous"; Try one of the other boards.

General Board
UML Process
Automation Interface, Add-Ins and Tools
Bugs and Issues
Suggestions and Requests

5
General Board / [m]: Shapescript Creation Tip: Over-sized Decorations
« on: July 14, 2012, 08:45:10 am »
[moved] [link=http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1342218910/0]Automation Interface, Add-Ins and Tools[/link] [move by] KP.

6
General Board / Re: How to manage objects numbering ?
« on: December 21, 2009, 09:47:21 am »
From the main menu, Settings > Auto Name Counters

HTH

7
General Board / Re: transparent pictures - how ?
« on: June 18, 2007, 01:57:22 pm »
Not currently possible, I'm afraid. The only way to make shapes that aren't rectangular is using shape scripts.

8
General Board / GoF Design Patterns
« on: February 13, 2005, 08:19:40 pm »
Hi,

We have added "new and improved" Gang of Four Design Patterns to our UML Patterns page. These make use of a couple of new features of EA: the enhanced Import Pattern dialog with its thumbnail graphic; and the Initial Code field on the Behaviors tab of the Operation Properties dialog. All 23 patterns are available for C#, Java and non language-specific.

Any comments or criticism, please let us know.

Enjoy!

9
Bugs and Issues / 7.5 Beta bug reports
« on: January 30, 2009, 12:34:40 pm »
Please report any bugs found in the EA 7.5 Beta release using the beta bug report form found here:

http://www.sparxsystems.com/registered/reg_bug_report_beta.html

Thanks,

10
Automation Interface, Add-Ins and Tools / Custom Compartments
« on: December 23, 2007, 05:15:39 pm »
Hi All,

I've been having a go at creating custom compartments. Here's some code (VB.Net) that seems to work - it creates a deployed artifacts compartment for node elements...
Code: [Select]

Function EA_QueryAvailableCompartments(ByVal Repository As EA.Repository) As Object
   EA_QueryAvailableCompartments = "deployed artifacts"
End Function

Function EA_GetCompartmentData(ByVal Repository As EA.Repository, ByVal sCompartment As String, ByVal sGUID As String, ByVal oType As EA.ObjectType) As Object
   If Repository Is Nothing Then
       EA_GetCompartmentData = ""
       Exit Function
   End If

   Dim el As EA.Element
   el = Repository.GetElementByGuid(sGUID)

   Dim sData As String = ""
   Dim sCompartmentData As String = ""

   If el.Type = "Node" Then
       Dim con As EA.Connector
       For Each con In el.Connectors
           If con.SupplierID = el.ElementID Then
               If (sCompartment = "deployed artifacts" And con.Type = "Deployment") Then
                   Dim art As EA.Element
                   art = Repository.GetElementByID(con.ClientID)
                   If art.Type = "Artifact" Then
                       sData = sData + "Data&_eq_^" + art.Name + "&_sc_^"
                       sData = sData + "GUID&_eq_^" + art.ElementGUID + "&_sc_^,"
                   End If
               End If
           End If
       Next

       If sData <> "" Then
           sCompartmentData = sCompartmentData + "Name=" + sCompartment + ";"
           sCompartmentData = sCompartmentData + "OwnerGUID=" + sGUID + ";"
           sCompartmentData = sCompartmentData + "Options=SkipIfOnDiagram&_eq_^1&_sc_^"
           sCompartmentData = sCompartmentData + "CompartmentData=" + sData + ";"
       End If
   End If
   EA_GetCompartmentData = sCompartmentData    
End Function

Happy holidays,

Neil

11
Automation Interface, Add-Ins and Tools / Re: METRICS
« on: July 18, 2004, 07:26:41 pm »
Hi there,

You probably need to do MsgBox(ele.Metrics.Count) instead.

HTH.

Pages: [1]