[EWL] Question about performance of wizard integration [message #1712702] |
Tue, 27 October 2015 14:38 |
Rene Meis Messages: 19 Registered: June 2015 |
Junior Member |
|
|
Hi all,
I heavily use EWL wizards. For my current tool, I have one plugin that adds one ewl file to the extension point with 10 wizards and one plugin that adds 7 ewl files to the extension point with in total 12 wizards. Unfortunately, it takes around 8 seconds until the list of wizards applicable for the selected model element shows up in the context menu Wizards.
My question is: How can I reduce the time until the wizards show up?
From my technical understanding, 1) the model(s) on which the wizards shall be applied have to be loaded, and 2) the guard and title expressions of the wizards have to be evaluated before the wizards can be shown in the context menu.
Concerning point 1), I am not sure whether it is a good idea to provide multiple plug-ins that provide wizards and that one plugin introduces several ewl files. Is the model loaded for each of the wizard files, for each of the plugins, or is the model loaded once and used for all of them?
Concerning point 2), I already introduced @cached operations two avoid that the same expressions are evaluated multiple times when these are used by different guards. Do you have further ideas how I can increase the performance by the design of the wizards?
Thank you in advance,
Rene
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03826 seconds