DirectMenuItem corresponding class is initializing twice [message #1783118] |
Thu, 08 March 2018 00:43 |
Eclipse User |
|
|
|
Had created a Direct Menu Item in the Main and associated a Class in the Class URI field in Application.e4xmi file.
When starting the application using .product file observed that the class given above is initialized once.
If clicked on the Menu bar the class instance is again created. So overall two instances are created.
Observed that no more instances are created again. The second instance created is used everytime.
Can you please review and let me the reason for it and also how to avoid created twice.
Attached below screenshots.
- Applicaiton.e4xmi where the configuration is done for Direct Menu Item and its class URI.
- Handler class where the constructor is present.
Thanks
Kiran
|
|
|
Powered by
FUDForum. Page generated in 0.07363 seconds