Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Chaning display name of elements in a generated Editor.
Chaning display name of elements in a generated Editor. [message #647419] Thu, 06 January 2011 08:23 Go to next message
Patrick Schmitt is currently offline Patrick SchmittFriend
Messages: 87
Registered: July 2009
Member
Hello folks,
what is the best way to change the name of nodes of an generated emf editor?
Also the names in the popup for adding a new child and the name in the property view should be changed too.
The background is that i want multi language support for my model editor.

Thanks for any hints,
Patrick
Re: Chaning display name of elements in a generated Editor. [message #647458 is a reply to message #647419] Thu, 06 January 2011 14:37 Go to previous messageGo to next message
Patrick Schmitt is currently offline Patrick SchmittFriend
Messages: 87
Registered: July 2009
Member
Modify getText(..) in the ItemProvider is a solution.
Re: Chaning display name of elements in a generated Editor. [message #647499 is a reply to message #647458] Thu, 06 January 2011 17:04 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Depending on what specifically you're referring to by the "name" there
is the plugin.properties file with all the names that are derived from
the model itself.


Patrick Schmitt wrote:
> Modify getText(..) in the ItemProvider is a solution.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[Teneo/CDO] IllegalArgumentException: EClass * does not have an entity name, has it been mapped to H
Next Topic:Custom editing widgets for properties of model elements
Goto Forum:
  


Current Time: Fri Apr 26 01:03:50 GMT 2024

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

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

Back to the top