chris a clarke 4.May.09 11:17 AM a Web browser Application development6.2All platforms
I have added a tab to the 'Edit Component Properties' dialog by registering an IComponentProvider and implementing the method getEditComponentTab. The tab with my view appears and works fine.
My problem is: How can I determine the component for which Edit Component Properties was called? A new instance of ComponentProvider is created when the tab is created, and no context information is passed in that would allow me to determine which component is active.
I can created a static variable that points to an instance of my container, but if there are 2 or more instances of my container on a composite app, then it won't work.