[izpack-devel] TreePacksPanel implementation

Bartz, Klaus Klaus.Bartz at coi.de
Mon Aug 7 11:35:13 CEST 2006


Hi Riaan,
see context related.

Cheers

Klaus

>-----Original Message-----
>From: izpack-devel-bounces at lists.berlios.de
>[mailto:izpack-devel-bounces at lists.berlios.de]On Behalf Of Zycor.net
>Development Solutions
>Sent: Monday, August 07, 2006 10:59 AM
>To: izpack-devel at lists.berlios.de
>Subject: [izpack-devel] TreePacksPanel implementation
>
>
>Hi all,
>
>We've been discussing the option of developing a TreePacksPanel (and 
>ImgTreePacksPanel) on the users list. I've looked at the 
>source for the 
>PacksPanel, ImgPacksPanel, PacksPanelBase and PacksModel.
>
>To create a TreePacksPanel, I wouldn't be able to use the 
>PacksPanelBase 
>as is. There's two options:
>1) Create a new (Tree)PacksPanelBase for the TreePacksPanels or
>2) Modify the existing PacksPanelBase to return a JComponent 
>instead of 
>a JTable from the createPacksTable.
>
>Option 1 would be easier to implement, and has the benefit of not 
>changing existing panels, but in the long run, it means there's two 
>(nearly identical) classes two change whenever packsPanels are 
>modified.
>For option 2, I think pretty much the only changes would be to 
>createPacksTable(...) and panelActivate().
>
>I definately think option 2 would be better. If you want, I 
>can make the 
>changes on a local copy of the source, and when I'm done, I 
>can send the 
>source to you guys, and you can decide whether to incorporate it into 
>IZPack or not...

I will also prefer option 2. Only the "old" panels should be work
already in the old behavior.
Will be nice, if you can send us your sources, if you are ready.

>
>Cheers
>Riaan
>_______________________________________________
>izpack-devel mailing list
>izpack-devel at lists.berlios.de
>http://bat.berlios.de/mailman/listinfo/izpack-devel
>



More information about the izpack-devel mailing list