On Thu, Apr 17, 2014 at 6:23 PM, Gayan Yalpathwala <gay...@wso2.com> wrote:

> Hi Jasintha,
>
>
> On Thu, Apr 17, 2014 at 6:11 PM, Jasintha Dasanayake <jasin...@wso2.com>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 <l...@wso2.com> wrote:
>>
>>> Hi GayanK,
>>>
>>>
>>> On Thu, Apr 17, 2014 at 4:27 PM, Gayan Yalpathwala <gay...@wso2.com>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.
>>>
>> Agree with Lali, But i think you can keep that variable within Datamapper
graphical editor i guess, since IMO that is the best place to keep this
which suits for the mentioned requirement. You can probably implement some
interface in Datamapper graphical editor and access the required
functionalities via the interface members.


>>> 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
>>>> Dev@wso2.org
>>>> 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
>>> Dev@wso2.org
>>> 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
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Susinda Perera*
Software Engineer
Mobile:(+94)716049075

WSO2 Inc. http://wso2.com/
Tel : 94 11 214 5345 Fax :94 11 2145300
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to