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

Pages: 1 2 [3] 4 5 ... 41
31
Automation Interface, Add-Ins and Tools / Script editor improvements
« on: April 11, 2018, 05:53:22 pm »
EA scripting editor works nicely (I use VBScript), yet a few enhancements would be nice to reach other scripting tools.
- Provide a collapse/expand commands (+/-)  on functions and routines
- Drop down list of functions and routines (as it's done when opening source code)

Could this be added in a future EA build?

32
Hi Uffe,

Nice one. I look forward to testing it.


33
Bugs and Issues / Re: Python reverse - empty result
« on: April 09, 2018, 10:26:56 pm »
Thanks for your replies.
With support of the Python dev team, I simply figured out that the code samples I got needed to have a proper indent level applied so the def can be reversed as class operations.

I got a query on running the EA Execution analyzer's recording feature with Python. I saw that it's not supported according to the help; could it be supported in the future?

34
Bugs and Issues / Re: Python reverse - empty result
« on: March 29, 2018, 09:49:09 pm »
Hi,

I ran a new test with a Python file with content illustrated as follows:

Code: [Select]
import libA
import libB
class myClass (arg1):
  def functA(arg1, arg2):
     localvar = arg1 ...

  def functB(arg1, arg2, arg3):
# code removed

  def functC():
# code removed

if a = "test":
  print('test')

Running EA reverse, I get a "myClass" class with functA operation only (and arg1 parameter).
Any idea why the other def are not picked up?

Thanks
Guillaume

35
Bugs and Issues / Re: Python reverse - empty result
« on: March 23, 2018, 07:08:26 pm »
Hi,

The code I have does not include any class. I confirm that I got some results once I added "class : <classname>" in the files.

Thanks

36
Bugs and Issues / Python reverse - empty result
« on: March 19, 2018, 07:13:41 pm »
Hi,

I received a python source code from a client to run the reverse eng. in EA.
EA processes all .py files without producing any result/class.

The Python code has :
- import declarations
- def (e.g. def functionA(arg1, arg2) : ...)

Is there any precondition to check so it works?

Thanks

37
Thanks for the info Geert.

Since this method was introduced in build 1305, I added a condition where FindElementInDiagram is run if Repository.LibraryVersion > 1304, otherwise I run something like  selectedDiagram.SelectedObjects.AddNew(elt.ElementID.ToString(), "") ...

The latter option does not have the diagram focus updated.


38
Excellent, EA.Diagram.FindElementInDiagram is exactly what I've recently been looking for.
I tested it and confirm that it selects the element in the diagram and focuses onto it.

When used in an add-in, will it work with any version of EA or only with versions where the API supports this method?

39
Feature request sent to Sparx.

40
Hi Helmut,

I looked at the hoTools code and found you managed to integrate the suggested feature from the Sparx Community article.
Since then, have you noticed or been reported any issue or bug linked to global keys?

I also found a package available here for C# projects: https://github.com/kirmir/GlobalHotKey

My concern with having each add-in implementing its own global keys management is the difficulty in preventing conflicts over assigned keys and potentially crash EA. Hence I think that EA should handle global keys assignments for add-in extensions, e.g. where each add-in dev team would provide the name of the menu to run accordingly, and enter on a config popup by the user.
Any thoughts from Sparx?

41
General Board / EA 14 beta comments & feedback
« on: March 08, 2018, 12:39:56 am »
Hi,

Starting a thread on posting feedback about EA 14 beta if that's ok.
I used BPMN and noticed that the "Convert to..." option is no longer available: I created BPMN Service tasks and would like to change the type e.g. to User.
With previous versions, using the toolbox and adding the same type of element onto an existing one prompted to either create or change the type. This was a rather nice hint for users.

Can it be maintained in EA14?

I found a glitch on the quicklinker: I cannot create a Data Object from a BPMN task via a data association.


42
I take that the diagram focus is still not supported via the API?

44
Hi,

Is it possible to let a user assign keyboard shortcuts (e.g. F1, Maj+F1...) with an installed add-in menu/feature?

Thanks

45
Uml Process / Re: data format in component with tracability
« on: February 28, 2018, 02:17:37 am »
Interfaces don't support attributes/data - they are intended to define the "contract" i.e. services to be provided or used by each component hence you should only define operations.
You can try using information flows between Components ; this feature lets you select one or several UML classs from a "data model" that goes from a component to another.

Pages: 1 2 [3] 4 5 ... 41