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

Pages: 1 ... 527 528 [529] 530 531 ... 603
7921
I don't have much ideas about Java, but there were some threads about creating an EA instance via Java. Try the Search button top left.

q.

7922
Check Element.Setappearance in the help.

q.

7923
Automation Interface, Add-Ins and Tools / Re: Elements types enumeration
« on: February 26, 2014, 09:50:09 pm »
I think I got it. When I wrote that section I somehow had no access to the enumeration used in EAConstants. Obviously I found a list of types in the help under (sorry, but that brain damaged help has no link one can use) Search "UMLDiagram", 3rd entry where you find objectTypes. The order in the list is what I took as given.

I will correct that section immediately.

q.

P.S. Orthogonality? The API has Type (string) and Object_Type (int). The table has Object_Type (string) and of course no Type.

7924
Automation Interface, Add-Ins and Tools / Re: Elements types enumeration
« on: February 26, 2014, 11:57:35 am »
I guess I have to sleep over that :-)

q.

7925
Automation Interface, Add-Ins and Tools / Re: Elements types enumeration
« on: February 26, 2014, 09:04:11 am »
Quote
There is no numeric form of the difference between a class and interface. My guess is that the excerpt from qwerty's book is just using a numbered list to enumerate the available strings..
Actually I was just using the contents of the EAConstants scripts.

q.

7926
Automation Interface, Add-Ins and Tools / Re: Elements types enumeration
« on: February 26, 2014, 12:04:34 am »
Now I remember. The API returns Element.ObjectType which is a numeric value. The table itself stores string values.

q.

7927
Automation Interface, Add-Ins and Tools / Re: Elements types enumeration
« on: February 26, 2014, 12:00:44 am »
The EAConstants refers to this page: http://www.sparxsystems.com/uml_tool_guide/sdk_for_enterprise_architect/objecttypeenum.htm which of course does not exist.

Thank god I love Minecraft. Digging is one of my hobbies.

q.

7928
Automation Interface, Add-Ins and Tools / Re: Elements types enumeration
« on: February 25, 2014, 11:53:12 pm »
Well, actually the table only holds the string value. The numeric values are used at other places only. Which leads me to the important question: where :-? Seems I have not documented that. So some work for me.

However, you are anyway doomed to compare strings (though I think there are worse conditions).

q.

7929
Automation Interface, Add-Ins and Tools / Re: Elements types enumeration
« on: February 25, 2014, 11:11:37 pm »
See page 41 (chap 9.2) of my Inside book.

Quote
0: Action
1: Activity
2: ActivityPartition 3: ActivityRegion 4: Actor
5: Artifact
6: Association
7: Boundary
8: Change
9: Class
10: Collaboration 11: Component
12: Constraint
13: Decision
14: DeploymentSpecification 15: DiagramFrame
16: EmbeddedElement
17: Entity
18: EntryPoint
19: Event
20: ExceptionHandler
21: ExitPoint
22: ExpansionNode
23: ExpansionRegion
24: GUIElement InteractionFragment
25: InteractionOccurrence 26: InteractionState
27: Interface
28: InterruptibleActivi- tyRegion
29: Issue
30: Node
31: Note
32: Object 33: Package
34: Parameter
35: Part
36: Port
37: ProvidedInterface 38: Report
39: RequiredInterface 40: Requirement
41: Screen
42: Sequence
43: State
44: StateNode
45: Synchronization
46: Text
47: TimeLine
48: UMLDiagram
49: UseCase

q.

7930
Automation Interface, Add-Ins and Tools / Re: Elements types enumeration
« on: February 25, 2014, 09:12:36 pm »
In what century do you live? 8-bit? You're comparing in a repository, not Terabytes.

q.

7931
Automation Interface, Add-Ins and Tools / Re: MS Word Import tool ?
« on: October 17, 2013, 08:23:19 pm »
You could make it a product :-)

q.

7932
Automation Interface, Add-Ins and Tools / Re: MS Word Import tool ?
« on: October 16, 2013, 09:32:12 pm »
I know that DOORS has stopped developing its "GUI" somewhere in the mid 90's. But to my knowledge it's one of the few tools doing that kind of job.

Of course you can script MS Word to do what you want. But maybe if it's a one-time task: send the job to India.

q.

7933
Automation Interface, Add-Ins and Tools / Re: MS Word Import tool ?
« on: October 15, 2013, 08:45:00 pm »
I'd try DOORS. That's the only tool I know which can do such kind of work.

q.

7934
[rant] I should write a book on this :-/  You can not merge models. That is so to say nonsense. A model is daily basis for a set of modelers to exchange their thoughts and to build "something". You can not "merge" one ideas cloud with another. The result would always be rubbish. VC in sense of modeling is only a means of making backups. And a quite ineffective one.
[/rant]

q.

7935
Automation Interface, Add-Ins and Tools / Re: ShowInProjectView from VBA
« on: February 25, 2014, 09:10:38 pm »
If I read above code correctly it *is* an object (EA.Element) being supplied  :-/

q.

Pages: 1 ... 527 528 [529] 530 531 ... 603