[
https://issues.apache.org/jira/browse/OFBIZ-3774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13171529#comment-13171529 ]
Adrian Crum commented on OFBIZ-3774:
------------------------------------
I added abstract visitor classes in rev 1215462. They are empty for now, but I imagine they will accumulate functionality as the conversion progresses.
The next step is to extend the abstract classes to rendering classes and copy existing rendering code over to them. The tree widget and menu widget are fairly simple, so we might want to convert those first. Then we can take the lessons learned from those and apply them to the screen and form widgets.
We will leave the original model classes untouched from now on so we can keep them updated from the trunk.
> Add The Visitor Pattern To Screen Widget Model Classes
> ------------------------------------------------------
>
> Key: OFBIZ-3774
> URL:
https://issues.apache.org/jira/browse/OFBIZ-3774> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Reporter: Adrian Crum
> Assignee: Adrian Crum
> Priority: Minor
> Attachments: OFBIZ-3774.patch, OFBIZ-3774.patch, OFBIZ-3774.patch, OFBIZ-3774_ScreenWidgetVisitor.patch, OFBIZ-3774_ScreenWidgetVisitor.patch
>
>
> From time to time there has been interest expressed in introducing the visitor pattern to the screen widget model classes. This issue is intended to provide a forum on the subject and a means to vote on it. Details are in the comments.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspaFor more information on JIRA, see:
http://www.atlassian.com/software/jira