|
|
|
|
|
|
|
Re: [EMF + CDO] Strategy for restricting duplicate EAttributes values [message #1454672 is a reply to message #1454417] |
Tue, 28 October 2014 16:47 |
Ed Merks Messages: 33142 Registered: July 2009 |
Senior Member |
|
|
Phil,
I see. Yes, sorry, I've never ported those to the RAP versions of the
UI bundles. I suppose they ought to work there, but I haven't tried.
Perhaps you want to try copying them over. You could set up an IDE with
EMF's RAP source using Oomph:
https://wiki.eclipse.org/Eclipse_Oomph_Installer, and see if those
classes compile there.
On 28/10/2014 12:12 PM, Phil Wim wrote:
> I see " Decoration property" belongs to the Editor. So i was checking
> the Editor code which i cant resolve with my RAP Target Platform.
> Is the following code (snip of editor code) the right way to activate
> this feature?
>
>
> treeViewer.setContentProvider(new
> AdapterFactoryContentProvider(adapterFactory));
> treeViewer.setLabelProvider(new
> DecoratingColumLabelProvider(new
> AdapterFactoryLabelProvider(adapterFactory), new
> DiagnosticDecorator(editingDomain, treeViewer)));
>
> new AdapterFactoryTreeEditor(treeViewer.getTree(),
> adapterFactory);
> new
> ColumnViewerInformationControlToolTipSupport(treeViewer, new
> DiagnosticDecorator.EditingDomainLocationListener(editingDomain,
> treeViewer));
>
> I'm not able to resolve (with RAP Target) the the Dependencies for the
> bundles "org.eclipse.emf.common.ui" and "org.eclipse.emf.edit.ui"
> where the classes ColumnViewerInformationControlToolTipSupport,
> DiagnosticDecorator, DecoratingColumLabelProvider are located.
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03404 seconds