Hi Jasintha,

On Thu, Apr 17, 2014 at 6:11 PM, Jasintha Dasanayake <[email protected]>wrote:

>
> Please have a look in the ESB graphical editor, there we have maintained
> the synapse model for a particular mediator, similarly you have to maintain
> the Avro schema model here
>

I have referred TaskTransformer class where it transforms the ecore model
to respective synapse model during serialization time. IMO, We can use a
similar approach to transform the ecore model to respective avro model when
saving the diagram. WDYT?

>
> Thanks
> /Jasintha
>
>
> On Thu, Apr 17, 2014 at 6:05 PM, Lali Devamanthri <[email protected]> wrote:
>
>> Hi GayanK,
>>
>>
>> On Thu, Apr 17, 2014 at 4:27 PM, Gayan Yalpathwala <[email protected]>wrote:
>>
>>> Hi,
>>>
>>> I am in the process of implementing the tool to build input and output
>>> schema of data-mapper visual editor. Here I need to maintain an object
>>> model of type "org.apache.avro.Schema" where it should be accessible by an
>>> array of action classes which reside in
>>> org.wso2.developerstudio.visualdatamapper.diagram package. This model
>>> should reflect input and ouptut avro schemas and should be modified by
>>> above different action classes. Would it be a better idea to maintain a
>>> variable of the above type, local to "DataMapperMultiPageEditor" for this
>>> purpose?
>>>
>>
>> No, DataMapperMultiPageEditor is for handle switching between graphical
>> editor and source editor in data mapper project. Considering your
>> requirements, its not a good idea to use DataMapperMultiPageEditor class
>> for keeping object model.
>>
>> Thanks,
>> Lali
>>
>>>
>>> Thanks,
>>>
>>> --
>>> *Gayan Kaushalya Yalpathwala*
>>>  Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: +94 71 8682704 <http://asia14.wso2con.com/>
>>>
>>>  <http://asia14.wso2con.com/>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Lali Sudaththa Devamanthri*
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 71 895 4922
>>  <http://www.wso2.com>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Jasintha Dasanayake *
>
>
> *Software EngineerWSO2 Inc. | http://wso2.com <http://wso2.com/> lean .
> enterprise . middleware*
>
>
> *mobile :- 0711368118*
>


Thanks,

-- 
*Gayan Kaushalya Yalpathwala*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 71 8682704 <http://asia14.wso2con.com/>

<http://asia14.wso2con.com/>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to