Skip to content

Conversation

@jbobnar
Copy link
Contributor

@jbobnar jbobnar commented Oct 15, 2015

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.

@jbobnar
Copy link
Contributor Author

jbobnar commented Nov 5, 2015

I would suggest, the need to have the new view behaviour fragment as part of
the boy feature, requiring someone to make their our feature if they want the old behaviour.

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
@jbobnar
Copy link
Contributor Author

jbobnar commented Dec 9, 2015

Are there any plans to merge this pull request?

@jbobnar
Copy link
Contributor Author

jbobnar commented Feb 1, 2016

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.

@jbobnar jbobnar closed this Feb 1, 2016
@jbobnar jbobnar deleted the OPIRuntime branch February 19, 2016 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants