[izpack-users] tree structure in PacksPanel ?

Bartz, Klaus Klaus.Bartz at coi.de
Fri Aug 4 10:55:32 CEST 2006


Hi Riaan,

>-----Original Message-----
>From: izpack-users-bounces at lists.berlios.de
>[mailto:izpack-users-bounces at lists.berlios.de]On Behalf Of Zycor.net
>Development Solutions
>Sent: Friday, August 04, 2006 10:28 AM
>To: izpack-users at lists.berlios.de
>Subject: Re: [izpack-users] tree structure in PacksPanel ?
>
>
>See context related
>> hi Zycor (?),
>>   
>I've previously posted using the name Riaan, That was by using the web 
>interface, I see my name is set as Zycor in my mail client, so 
>now that 
>I'm just replying to the mail, the name shows up differently :)
>
>> You can declare dependencies and subdependencies with which you
>> can define a tree like structure. 
>Is this documented? I'll have a look tonight (At work at the 
>moment, so 
>can't spend much time on it now).

Not in deep. See in the docu
Writing Installation XML Files->The IZPACKElements
->The Packs Element <packs>-><depends>- pack dependencies

>
>> Current the selection behavior is conversative: means if the 
>> "super" is not selected, you cannot select anny subpack. But
>> just there is an other IzPack user (Ryan; see izpack-devel 
>> mailing list) which would change it.
>>   
>Makes sense. Most commercial one's allows you to select a 
>subpack which 
>automatically selects the super.
>

I agree. Only the old behavior should be possible for compatibility.


>> The "but" is, that PacksPanel contains not a tree.
>> If you really need it, create an own panel (e.g. TreePacksPanel) 
>> and let us look. Some relations in a tree are not trivial perse...
>>   
>I'll see what I can do, but it might be a week or two before I can do 
>this. The company I work for is going to use IZPack to distribute the 
>next version of our project, and I need to create that installer. I'll 
>need the treePanel as discussed here, so if there isn't 
>anything when we 
>do the installer (scheduled for next friday), I'll develop it, and if 
>it's fine by you, pass the code back to you guys to integrate
>

Next friday there is no tree in the PacksPanel. 
I think it is a good idea to have a TreePacksPanel.
If you start developing own IzPanels see also the doco. e.g. there is 
a description how to integrate IzPack developing into Eclipse. 
Also an IDEA config file exist.
I think it will be a panel which uses the full size. If not: I am just
at developing a changed handling of the layout. A common IzPanel has e.g.
to support different anchors and gaps. Until jet the layout of different
IzPanels are also different. But in future there should be one cast.

There are two PacksPanels in the moment with some base classes. Please
use the base classes if possible.
I hope you can use the <depends>(see also the DTD) element for your tree.
If you need a new element, be aware that the piping of elements from the
installation description file into the installation (may be and
uninstallation) is not so easy. Not a work of one hour... If possible,
avoid it.
We have always problems to get a docu for a new feature or panel which
someone of the user community has written. Fabrice tries to hold the
docu actual, but it is a sisyphus work. Help him and update the docu.
Current we use only the one under doc-ng.

For more discussions of developing etc. you can change to izpack-devel.


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

Cheers

Klaus



More information about the izpack-users mailing list