Skip to main content



      Home
Home » Modeling » EMF » string
string [message #1712093] Wed, 21 October 2015 06:01 Go to next message
Eclipse UserFriend
No Message Body

[Updated on: Mon, 23 November 2015 04:22] by Moderator

Re: type String[][] in EMF DataType [message #1712100 is a reply to message #1712093] Wed, 21 October 2015 06:21 Go to previous message
Eclipse UserFriend
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
Previous Topic:Deadlock in EMF transaction
Next Topic:[Xcore] Maven(non tycho)/Gradle sample projects available on github
Goto Forum:
  


Current Time: Tue Jul 15 02:43:18 EDT 2025

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

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

Back to the top