Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » How do I make sample EMF editor stop removing the package part of the object name?
How do I make sample EMF editor stop removing the package part of the object name? [message #641747] Sat, 27 November 2010 15:55 Go to next message
Glenview Jeff is currently offline Glenview JeffFriend
Messages: 79
Registered: September 2010
Member
I am a newbie using EMF with the sample tree-based editor to create a metamodel and then opening up a new Eclipse to create a model with the generated model editor.

In the generated model editor, if the name of the meta-model element I'm using starts with the same text as the meta-model package its contained within, the generated model editor filters this text.

For example, if there is a meta-model package named "item" and a meta-model object named "itemReader," when I want to create an instance of an itemReader in the generated editor, it shows up in the list of available objects as "Reader" not "itemReader."

Is there a way to disable this behavior?

Thanks!

Re: How do I make sample EMF editor stop removing the package part of the object name? [message #641752 is a reply to message #641747] Sat, 27 November 2010 16:46 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 27.11.2010 16:55, schrieb glenviewjeff:
> I am a newbie using EMF with the sample tree-based editor to create a metamodel and then opening up a new Eclipse to create a model with the generated model editor.
> In the generated model editor, if the name of the meta-model element I'm using starts with the same text as the meta-model package its contained within, the generated model editor filters this text.
> For example, if there is a meta-model package named "item" and a meta-model object named "itemReader," when I want to create an instance of an itemReader in the generated editor, it shows up in the list of available objects as "Reader" not "itemReader."
>
> Is there a way to disable this behavior?
I've never heard of such behaviour. You can customize all strings that appear in the UI in the plugin.properties files.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Previous Topic:Super linear memory growth with Ecore
Next Topic:Modeling Subclassing behaviour
Goto Forum:
  


Current Time: Thu Apr 25 23:52:11 GMT 2024

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

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

Back to the top