Products
Enterprise Architect
What is new in v17.0
What was new in v16.1
What was new in v16.0
Overview
Professional
Corporate
Unified
Ultimate
Compare Editions
SaaS
Free Trial
Registered Downloads
Additional Info
30 Minute Tour
Release History
License Info
Floating Licenses
Academic Pricing
System Requirements
EULA
MDG Extensions
3rd Party Extensions
Pro Cloud Server
What is new in v6.0
What was new in v5.1
What was new in v5.0
Overview
WebEA
Integrations
Floating License Server
Compare Editions
Free Trial
Downloads
Additional Info
30 Minute Tour
Release History
System Requirements
EULA
Prolaborate
What is new in 5.3
Overview
Introduction
Resources
Articles
Documentation
Release Notes
FAQ
Events
Videos
Free Trial
Downloads
Additional Info
Request a Demo
Proof of Concept
Prolaborate SaaS
EULA
System Requirements
Pricing
Enterprise Architect
Pro Cloud Server
Prolaborate
Support
Forum
User Guide / Help
Contact Us
Bug Report
Request a Feature
Change Your Email
Priority Bug Report
Email Support
Email Sales
FAQ
Support
Sales
Company Details
News Room
Resellers
Africa
Asia
Europe
Middle East
North America
Oceania
South America
Sparx Services
North America
Australia
Central Europe
Middle East
United Kingdom
Sisters Companies
Argentina
China
Central Europe
Middle East
India
Japan
Trainers/Consultants
Africa
North America
South America
Asia
Europe
Oceania
Middle East
Online
Resources
Webinars
Upcoming Webinars
Webinars Library
Sign Up
Videos
Demo Videos
Lecture Videos
PDF Library
Fundamentals
Modeling
Collaboration
Publishing
Simulation
Project Management
View Entire Library
Other
Whitepapers
Tutorials
Case Studies
Learning Center
Diagram Gallery
Brochures
Registered Users
Enterprise Architect
Pro Cloud Server
All Users
Free Downloads
DBMS Repository Scripts
User Security Key
All Resources >
UML Tutorial
Solutions
Home
Getting Started
Book a Demo
Accelerators
Use Cases
Community
Download Now
Enterprise Architect
Pro Cloud Server
Prolaborate
Login
Sparx Systems Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Enterprise Architect 17.0
Pro Cloud Server 6.0
Home
Help
Search
Login
Register
Sparx Systems Forum
»
Enterprise Architect
»
Automation Interface, Add-Ins and Tools
»
Insert a new Element in a available Element
« previous
next »
Print
Pages:
1
2
[
3
]
Author
Topic: Insert a new Element in a available Element (Read 17867 times)
Geert Bellekens
EA Guru
Posts: 13136
Karma: +547/-33
Make EA work for YOU!
Re: Insert a new Element in a available Element
«
Reply #30 on:
November 18, 2010, 10:45:03 pm »
Just a regular Windows Forms application with a button or something to start your test.
That's how I usually test my addins (avoids having to restart EA each time you recompile)
Geert
Logged
marine1981
EA User
Posts: 58
Karma: +0/-0
Re: Insert a new Element in a available Element
«
Reply #31 on:
November 18, 2010, 10:52:42 pm »
How I can define/create the object wrappedModel becaus Visual doesn't know it.
Logged
Geert Bellekens
EA Guru
Posts: 13136
Karma: +547/-33
Make EA work for YOU!
Re: Insert a new Element in a available Element
«
Reply #32 on:
November 18, 2010, 10:54:56 pm »
wrappedModel is a variable I defined of type EA.Repository.
The snippet is part of my wrapper class for EA.Repository.
Geert
Logged
marine1981
EA User
Posts: 58
Karma: +0/-0
Re: Insert a new Element in a available Element
«
Reply #33 on:
November 18, 2010, 11:01:41 pm »
I have created the application.
How I use the application to debug, now?
«
Last Edit: November 18, 2010, 11:06:34 pm by marine1981
»
Logged
Geert Bellekens
EA Guru
Posts: 13136
Karma: +547/-33
Make EA work for YOU!
Re: Insert a new Element in a available Element
«
Reply #34 on:
November 18, 2010, 11:07:41 pm »
Start it and put a breakpoint in your operation, then you can go step by step.
Geert
Logged
marine1981
EA User
Posts: 58
Karma: +0/-0
Re: Insert a new Element in a available Element
«
Reply #35 on:
November 18, 2010, 11:16:26 pm »
How I set under Debuggen=> Startoptions the command/arguments? Which folder does it need?
Logged
Geert Bellekens
EA Guru
Posts: 13136
Karma: +547/-33
Make EA work for YOU!
Re: Insert a new Element in a available Element
«
Reply #36 on:
November 18, 2010, 11:25:38 pm »
Sven, if you have created a windows forms application you should be able to just start it by clicking the green |> icon.
Geert
Logged
marine1981
EA User
Posts: 58
Karma: +0/-0
Re: Insert a new Element in a available Element
«
Reply #37 on:
November 18, 2010, 11:30:04 pm »
Hello,
it is possible to start but i get a message "A Project with the Type "ClassLibery" cannot start directly".
«
Last Edit: November 18, 2010, 11:30:55 pm by marine1981
»
Logged
Geert Bellekens
EA Guru
Posts: 13136
Karma: +547/-33
Make EA work for YOU!
Re: Insert a new Element in a available Element
«
Reply #38 on:
November 18, 2010, 11:36:56 pm »
That's because you have to start of project of type "Windows Forms Application"
Geert
Logged
marine1981
EA User
Posts: 58
Karma: +0/-0
Re: Insert a new Element in a available Element
«
Reply #39 on:
November 18, 2010, 11:44:10 pm »
Yes, of course. Thats my problem so i cannot debug.
Logged
Print
Pages:
1
2
[
3
]
« previous
next »
Sparx Systems Forum
»
Enterprise Architect
»
Automation Interface, Add-Ins and Tools
»
Insert a new Element in a available Element