-
Notifications
You must be signed in to change notification settings - Fork 95
Opi runtime/view switch #1392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Opi runtime/view switch #1392
Conversation
…opens opiruntime in editor, the other one opens opiruntime in shell or view.
This is already done. The opibuilder-features/org.csstudio.applications.opibuilder.feature from this pull request contains the .view fragment. For anyone who is using that feature, no further actions are required. I realize that the names of the fragment plugins are maybe not the most adequate. I am open to suggestions. |
…udio into OPIRuntime Conflicts: applications/opibuilder/opibuilder-plugins/org.csstudio.opibuilder.rcp/fragment.xml
|
Are there any plans to merge this pull request? |
|
Due to lack of interest to accept this change, ITER will try to solve this issue by patching the opibuilder. It needs to be done for the beast integration anyway. |
Related to #1303 and #1333.
I made two fragments: one adds the view/standalone functionality and the other one uses the old opi runtime. You can use one or the other, but not both.
To use it, just add either the org.csstudio.opibuilder.rcp.opiruntime org org.csstudio.opibuilder.rcp.view to your product configuration. I already added the view fragment to the main opibuilder feature, so if your product is feature based, there is nothing you need to do to keep it the old ways.
While this solution works it is not the best design-wise. The OPIView still has to be part of the main plugin and so does the OPIRuntime (there is also RAP...). Ideally, the opibuilder should be redesigned to decouple these kind of things entirely, but that would be a much larger project. Since there is already plan to redo the opibuilder, I don't think it is worth doing it now, but should be kept in mind.