Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » string
string [message #1712093] Wed, 21 October 2015 10:01 Go to next message
Lafleur du versaille is currently offline Lafleur du versailleFriend
Messages: 35
Registered: July 2015
Member
No Message Body

[Updated on: Mon, 23 November 2015 09:22]

Report message to a moderator

Re: type String[][] in EMF DataType [message #1712100 is a reply to message #1712093] Wed, 21 October 2015 10:21 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Sonny,

You have to create your own EDataType in your own model. You'll have to
write the createAbcFromString/convertAbcToString in your XyzFactoryImpl
if you want to serialize it. It will probably be a mess and a nightmare
for users to enter the value in the properties view, unless you create a
specialize cell editor.
https://wiki.eclipse.org/EMF/Recipes#Recipe:_Create_your_own_property_editor_in_a_generated_application

On 21/10/2015 12:01 PM, sonnia anderson wrote:
> hi
> I would like to know how I can obtain an EDataType whose instance type name is String[][] adjazenzmatrix for my model class attribute.
> For instance, I would like to use String[][] as attribute type in my model object..
> I have to think my attribute as below but I do not think his is an array
>
> thank in advance
> sonny


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Deadlock in EMF transaction
Next Topic:[Xcore] Maven(non tycho)/Gradle sample projects available on github
Goto Forum:
  


Current Time: Fri Apr 26 19:48:04 GMT 2024

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

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

Back to the top