Dennis Fischer
unread,May 25, 2013, 7:51:10 AM5/25/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jfxtra...@googlegroups.com, ugate...@gmail.com
Hello,
I hadn't had the time to responde until now. I currently can't imagine how a generic factory-like pattern will look like and what it will be able to solve.
First - let's assume we dont want so support custom types, but enums.
The easiest implementation would be code block 3 of my initial request. This will ensure that enums are working without breaking anything.
Next - if we want to have custom types - I'd let it "newInstance()". This should be okay.
Just the Java Type Enum was missing.
A "working" example is currently very hard to produce. My timetable is overcrowded, but I'll take a look at what I can send you :D