Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [EMF .Edit] FeatureMapEntryWrapperItemProvider prepending feature name
[EMF .Edit] FeatureMapEntryWrapperItemProvider prepending feature name [message #893114] Mon, 02 July 2012 16:59 Go to next message
Leonid Ripeynih is currently offline Leonid RipeynihFriend
Messages: 150
Registered: February 2012
Senior Member
Hi there!

I'm customising an UI represenatation of my model oevrriding some methods in **ItemProvider, using generation gap pattern. Everything were nice till I bumped into FeatureMapEntryWrapperItemProvider, which is prepending a feature name after getting text from **ItemProvider. Of course, I can do a small override in my AdapterFactoryLabelProvider, but is probably bad idea (or not?). So the question is, how to handle that 'prepending'? I want my users to see clean UI, withount knowing the underlying model specific.
Re: [EMF .Edit] FeatureMapEntryWrapperItemProvider prepending feature name [message #893186 is a reply to message #893114] Tue, 03 July 2012 06:36 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
You can specialize ItemProviderAdapter.createWrapper to create your own
specialized version.

On 02/07/2012 6:59 PM, Dark Diver wrote:
> Hi there!
>
> I'm customising an UI represenatation of my model oevrriding some
> methods in **ItemProvider, using generation gap pattern. Everything
> were nice till I bumped into FeatureMapEntryWrapperItemProvider, which
> is prepending a feature name after getting text from **ItemProvider.
> Of course, I can do a small override in my
> AdapterFactoryLabelProvider, but is probably bad idea (or not?). So
> the question is, how to handle that 'prepending'? I want my users to
> see clean UI, withount knowing the underlying model specific.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Strange serialization behavior
Next Topic:[CDO] Delete/RemoveCommand does not remove reference from EList
Goto Forum:
  


Current Time: Tue Apr 16 17:36:39 GMT 2024

Powered by FUDForum. Page generated in 0.51405 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top