问题
Is is not possible to use Eclipse Forms (org.eclipse.ui.forms) in pure e4 projects? I want to utilize an ExpandableComposite.
When I start my application using the run/debug configuration everything works find. But as soon as I try to run it from the product configuration or is as a packaged e4 product, I'm getting a "Missing Constraint: Require Bundle: org.eclipse.ui.forms" error.
Also, adding org.eclipse.ui.forms to the list of dependencies and starting the product, seems to alter my plugin.xml contents. After that the CSS style sheet entry is just gone.
Of course I tried googling, but all I could come up with is this article by Lars Vogel "Using Eclipse Forms in Eclipse 4 RCP" where he basically says that CSS styling shall be used over forms, but doesn't say that they don't work together at all.
If, for some reason this will not work, is there anything comparable to the ExpandableComposite widget?
来源:https://stackoverflow.com/questions/33151977/swt-section-expandablecomposite-in-eclipse-e4-project