[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5291) Generalize the code used to handle source to target template mappings

Xue Peng (JIRA) jira-events at lists.jboss.org
Fri Dec 18 03:32:03 EST 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-5291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12500712#action_12500712 ] 

Xue Peng commented on JBIDE-5291:
---------------------------------

Hey Brian , 

You are right , we must generalize the "Template Mapping" codes and I am doing this work now .
When JBIDE-5205 is finished , we will see the result.

> Generalize the code used to handle source to target template mappings
> ---------------------------------------------------------------------
>
>                 Key: JBIDE-5291
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5291
>             Project: Tools (JBoss Tools)
>          Issue Type: Task
>          Components: smooks
>            Reporter: Tom Fennelly
>            Assignee: Xue Peng
>             Fix For: 3.1.0.GA
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> I'm wondering can we generalize the editor parts that handle the mappings between the Java Mappings and the target templating model.  I probably didn't lay out my thoughts clearly enough on this, but what I was hoping for was that the target model parts would be agnostic of target message format (CSV, XML etc) and the templating technology used - FreeMarker only now, but I've structured the templating API to allow us add other TemplateBuilder impls e.g. for XSLT.
> What I see at the moment in the editor is that when I attempt to make a mapping connection, I see the FreemarkerCSVNodeGraphicalModel and FreemarkerCSVContentGenerator editor model parts on the call stack.  I may be reading the code incorrectly, but I would only expected to see totally generic editor parts at play here... imo, this mapping part of the process should be totally generic i.e. exactly the same, no matter what the target message format and templating tech.
> I know I might just be reading the code incorrectly and I don't really understand the EMF process, but I thought I should add this JIRA anyway so as to allow it be tracked ... if I'm talking rubbish, we can just reject this JIRA :)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list