Community
Participate
Working Groups
Build Identifier: Version: Indigo Service Release 2 Build id: 20120216-1857 I'm working on databinding between SWT widgets and EMF Model. To bind those values, I wrote IObservableValue widgetValue = WidgetProperties.text(SWT.Modify).observe(firstName); But Eclipse automatically changes the 'text' and 'Modify' of that sentence into Italic font and produces an error which says, 'The type org.eclipse.core.databinding.property.value.IValueProperty cannot be resolved. It is indirectly referenced from required .class files' Strange thing is that only the first use of 'WidgetProperties.text(SWT.Modify)' produces that error. When I write second or third use of 'WidgetProperties.text(SWT.Modify)' to bind other values, Eclipse doesn't change 'text' and 'Modify' into Italic, and no errors found on the second or third use. Reproducible: Always Steps to Reproduce: 1. Close and Restart Eclipse 2. Open the source file, Cut the related sentences and Save 3. Eclipse doesn't produce any error 4. Paste the related sentences 5. In about a second, Eclipse reproduces the same problem(change some code into Italic and error)
Created attachment 212201 [details] Screen Capture
Created attachment 212202 [details] Source File
To verify the problem Create a RCP Project with 'RCP Application with a view' template through the 'New Plug-in Project' Wizard. And replace View.java file with the attached file.
Sounds to me like your MANIFEST.MF file is missing some required bundles.
Thank you, Remy Suen. This was not a bug but my fault. To add 'org.eclipse.core.databinding.property' to Dependency Tab of plugin.xml resolves this problem.
(In reply to comment #5) > This was not a bug but my fault. > > To add 'org.eclipse.core.databinding.property' to Dependency Tab of plugin.xml > resolves this problem. Resolving.