Hi, I've commited some changes for a new OptionsPanel. Now you can select if you want to show the charset option while open a dataset. For that i had to improve the AbstractFileLayerLoader class with an removeOption method and the Option class with a new equals method. Now it is possible to add and remove Options for the loader, which is automatically be considered in the open wizard. The option will be persistent saved/restored in/from the Blackboard.
It would be nice, if the language contributors can translate the new keys: - ui.DatasetOptionsPanel.datasetOptions - ui.DatasetOptionsPanel.ShowCharsetSelection Thanks to Larry for the hint to the PRBEditor, nice tool :-) Please take a look on my changes and tell me your opinion. Regards Matthias > Hi, > >> 2. The charset settings will be automaticaly stored in the layer >> properties through the org.openjump.core.ui.io.file.Options. If you add >> such an option to a AbstractFileLayerLoader you get this option in the >> OpenWizard and in the layer properties without any additional coding. >> Please see org.openjump.OpenJumpConfiguration line 605 and below. >> And if you save/load the project, this option will be automaticaly >> saved/restored. This is a nice mechanism of OJ :-) >> > Did'nt know that. +1 for OJ design. > >> >> 4. And now to the usability. If you make a doubleclick on the filename, >> the shapefile will be directly openend. So you can save the following >> clicks for the charset choise ;-) >> > Did'nt know that either. So, it is equivalent to my proposal of a button > advanced option beside the OK button. So forget what I said. > Stefan and Larry's proposal of a global option still make sense. I > would vote for a panel dedicated to DataSource options > > Thank you very much for clarification > > Michaël > > >> Regards >> >> Matthias >> >> >> ------------------------------------------------------------------------------ >> Start uncovering the many advantages of virtual appliances >> and start using them to simplify application deployment and >> accelerate your shift to cloud computing. >> http://p.sf.net/sfu/novell-sfdev2dev >> _______________________________________________ >> Jump-pilot-devel mailing list >> Jump-pilot-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> >> >> > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel