Hi Christian,
I went through the references and tried to outline the refactoring step.
I am planning to create a separate plugin which can extract all the available scripts and the keywords of these scripts(For this the existing functionalities of
o.e.e.ui.scripts can be used). Using these scripts some suitable events should be created. These events should be posted to Eclipse event bus by using the keywords as the topics. All the possible keywords should be implemented as separate listeners(We can add new keywords here in future). Each of these listener should subscribe to the event bus by using their keywords as the topics. Also each of these listener should have a event handler method which deals with the corresponding component(For this the existing functionalities of UIIntegrationJob class in o.e.e.ui.script plugin can be used). Am I following the correct path?
Now I have few questions.
1. After implementing this new plugin what should happen to the current pub/sub mechanism of o.e.e.ui.scripts plugin?
2. What are the other main functionalities in o.e.e.ui.script plugin which can be affected from this new mechanism?
Thank you.