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

Pages: 1 [2]
16
Hi guys

Today I got around to installing V11 Beta 2 and have done some tests with several add-ins - some work fine whilst others crash EA and in some cases this blue screens windows :o

Tried on 2 different systems and seems to be repeatable!

So me thinks:
  • Have the system requirements changed?
  • Have any of the existing automation apis changed? In some of my addins I use a fairly extensive set and it seems to be these addins that are crashing so I suspect a change somewhere.
  • Anybody similar experiences?
  • Anybody found any new documentation - I remember there was something on the forum or Sparx web site about some new functions but nothing more.

Fair to say it's early days still for V11 but would be nice to get my stuff up to date ready for users  8-)

Any clues before I see if I can find out anything from the dump.

Thanks

17
I am in the process of developing some example AddIns to demonstrate to potential developers.  Clearly they will all have their own preferences for developing software but the question that has come to my mind is:-

"what is the best language to write an AddIn?"

And further:-

"what are the best tools for developing and testing AddIns?"

Clearly there is a limited set of languages - VB, C++, C# - not sure if any others. And tools VS, sharpdevelop,...??

My answers are:
- VB.Net! The reason being circumstances - this is the language I was asked to use by my client for the 1st AddIn I developed and since Java isn't an option I haven't switched, and probably won't now due to familiarity.
- development is mainly done with VS-2010

Finally, any views on what would be good demonstrations - I've already developed some simple ones and plan to produce some more advanced AddIns so what would be good utilities.  I am aware of the good stuff done by Geert and Helmut but suspect I need to work at a level below these, at least to start with.

I would welcome your answers together with any views, suggestions and reasons for the choice e.g. Customer demand, no other options

Many thanks and happy christmas

18
Hi Guys

I've been playing with EA today rather than working (!) - trying to discover how some of the stuff I haven't used in EA works and in relation to Workflow have come up against a brick wall.

I get the scripts / event / functions etc - I looked back in the forums and can see that Phil and Geert had some function issues a long time ago, I assume that has all been resolved, but I didn't even get to the point that my functions were being called!

I think I have completely misunderstood what EA workflow is and how it could work.

I started with the assumption that I could define a process (in a diagram?) and provides some rules (e.g. in a script) stuff would move through the flow between users and subject to the rules?
Yes / No?

If yes is there an example / tutorial - couldn't find anything on Sparx site nor Google. Doesn't seem a lot written on this (same as many EA subjects).

So I assume NO - as none of the EA documentation (what little there is ! >:() provides definition of the process and clarity on terms.

So a few questions to help me, please:

1. What is meant by workflow - is it just that I can write code to intercept events that relate to creating/editing items and allow or otherwise?  Or can I define and execute the process I imagine?
2. Follow on from this is the workflow window under personal tasks - is this related and if so how.
3. What kicks off the calls to my workflow scripts?  I have a script and saw no calls - so assume I must do something. So what do I need to do to effect the call - are there settings (none found so far) that enable workflow for users / projects?
4.  Does EA call each script which has workflow functions? i.e. is it working on a broadcast as with the AddIn model.

BTW: I have security enabled and groups etc set up

Really interested in the answers, and of course examples.  

Workflow seems so promising ...

Thanks

A little update:

I've observed that at times the calls to the events are called -  but behaviour seems to be odd, in that after making a change to a script you have to save it, refresh and then use.

If you only save then the event wasn't handled at all - i.e. appears that the script has been disabled.  Also appeared that it could take a few times and then I remembered that there was a potential issue with caching so assume that this is the same problem.  Not very friendly - so with lazy load off looks like it is working - however still interested in responses to questions above as this helps with the broader picture. Tnx

19
Automation Interface, Add-Ins and Tools / Reload project event
« on: October 28, 2013, 01:57:57 am »
I've been looking through the events and can't find anything that is raised when a user performs a "Reload Project".

Checked potential candidates e.g. obvious File Open, context change etc
but nothing fired and can't see anything in readme file, so guess that it's purely internal - anyone aware of anything?


Thanks

20
I'm trying to select an object in the diagram.

In Diagram class it states that you do this by adding an item to its "SelectedObjects" collection, passing the ObjectID as a name (don't understand that)  and assume that the ObjectID is in fact DiagramObject InstanceID, but can't find a suitable method listed to perform this operation.  The collections AddNew method expects 2 strings (Name, Type)!  Not sure how I should interpret / translate this AddNew("ObjectID",InstanceIDasString)?


I've clearly missed something - anybody point me in the right direction.
Thanks



21
Hi

Does anybody know if there is a event that is issued when a tagged value is changed on an element. And if so its signature?

Something similar to EA_OnElementTagEdit but for other tagged values e.g. enums, strings?

Thanks

PS: I perhaps should have mentioned that EA_OnNotifyContextItemModified is called when a tagged value is changed but doesn't provide the details of which tagged value has been changed (or does it somewhere?)

22
Hi

I am using AddWindow to add a user control to EA - all works fine in that that appears OK under addIn windows and I can drag and dock as needed within the UI, however I can't see a method to dock the window programmatically and provide that better user experience of the window appear and visible to the user as expected!

I assume I have missed something - or perhaps its not documented or possible.  

Anybody know?
Thanks

23
Hi

I'm using an MDG and adding elements to one of my existing element on my custom diagram i.e. so that they are owned by the existing element.  It all works fine however in performing this task I don't like that EA offers me the option to ADD or APPLY the type to the Element but I assume that somewhere in the definition I should have set something to enable / disable this behaviour.

I've clearly missed what is probably a very minor detail but in searching I can't find the information to manage this option. :-?

Can anybody direct me to where this information is likely to be.

Many thanks

24
Hi

Our organisation is now making significant use of EA primarily to assist with high-design and requirements capture.  However, one of the challenges we face is provide "non-expert" users capabilities to make queries or provide restricted changes to elements such as requirements e.g. they may propose some clarifications - add some detail based on expert knowledge within their domain.

I have used VBA in word and excel and have come to the conclusion that there are may situations where they would not be suitable.  My immediate solution would be to provide a web-based interface that non-experts can make queries/produce simple reports/make changes to existing items/propose new items (these would then be reviewed prior to including with the model - we want to manage these carefully to ensure the integrity of the model is not compromised).

I would be interested in your views on the possible/best approach.

Our ideas are:

1. Export a table from EA using the current AI using say VB/VBA and then use this as a read-only table accessed by a VB.net application for web-based access.  Inputs would be captured seperately and a back-end application run periodically to view proposed changes (there needs to be a manual check in anycase)  :-/

2. Understand whether there are methods within the AI interface that would support multi-user access.  Our team expert advises me that there is a iAutomation Interface that could be used by a VB.NET application to allow my task to be done using the EA repository if this interface is available.  Is it?  In that case we could elimiate the seperate back end application but post proposed changes into an "Import" folder to review.   :)

Your thoughts / ideas welcome. ???

Best rgds

Pages: 1 [2]