i compared SaveDatasetAsPlugIn and SaveDatasetAsFilePlugIn and saw that both 
use JFileChooser, hence i wondered what makes the difference. Actually the 
latter sets

fileChooser.setDialogType(JFileChooser.SAVE_DIALOG);

which when applied in the depth of SaveDatasetAsPlugIn seems to solve the issue 
in he former on osx. i'll add it to trunk. any reason to keep the second dialog?

btw. where does the dialog come from? 

and are you sure that this dialog also saves to postgis? what do i need to do 
to have postgis in the dropdown fields?

..ede 


On 24.10.2011 01:02, Michaël Michaud wrote:
> Hi Stefan,
> 
>> For proper bugfixng of "Save Dataset As..." I am lacking time until now,
>> unfortunately, to figure what actually happens. An assumption is that
>> somehow one selection box overlays the text field? Mhm.. wasn't the
>> selection box once above, Michael? just some thought.
> Did you try to remove the code I added in 2007 in SaveDatasetAsPlugIn ?
> It could be related to textfield visibility.
> Have you a sreenshot of what happens on MacOSX ?
> // initialize the FileChooser with the layer name [mmichaud 2007-08-25]
>                     FileChooserPanel fcp = 
> (FileChooserPanel)context.getBlackboard().get(SaveFileDataSourceQueryChooser.FILE_CHOOSER_PANEL_KEY);
>                     if (fcp != null) {
>                         JFileChooser jfc = fcp.getChooser();
>                         jfc.setSelectedFile(new 
> File(jfc.getCurrentDirectory(),
>                                             
> context.getLayerNamePanel().getSelectedLayers()[0].getName()));
>                     }
> 
> Michaël
> 
>>
>> stefan
>>
>>
>> Am 23.10.11 08:33, schrieb edgar.sol...@web.de:
>>> On 23.10.2011 13:17, edgar.sol...@web.de wrote:
>>>> On 22.10.2011 20:18, Stefan Steiniger wrote:
>>>>> So, I added next to the "Save Dataset As..." function in
>>>>> the layer context menu a new "Save Dataset As File..." function. This
>>>>> can be used to save to arbitrary files on MacOSX now. But note, this
>>>>> function is only loaded on MacOSX.
>>>> why didn't you fix the old dialog?
>>>> now there are two. wouldn't it make sense to remove one of them?
>>>>
>>> ahh.. i saw you commit comment about postgis saving. still, don't you think 
>>> we should merge these dialogs?
>>>
>>> ..ede
>>>
>>> ------------------------------------------------------------------------------
>>> The demand for IT networking professionals continues to grow, and the
>>> demand for specialized networking skills is growing even more rapidly.
>>> Take a complimentary Learning@Cisco Self-Assessment and learn
>>> about Cisco certifications, training, and career opportunities.
>>> http://p.sf.net/sfu/cisco-dev2dev
>>> _______________________________________________
>>> Jump-pilot-devel mailing list
>>> Jump-pilot-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>> ------------------------------------------------------------------------------
>> The demand for IT networking professionals continues to grow, and the
>> demand for specialized networking skills is growing even more rapidly.
>> Take a complimentary Learning@Cisco Self-Assessment and learn
>> about Cisco certifications, training, and career opportunities.
>> http://p.sf.net/sfu/cisco-dev2dev
>> _______________________________________________
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
>>
> 
> 
> ------------------------------------------------------------------------------
> The demand for IT networking professionals continues to grow, and the
> demand for specialized networking skills is growing even more rapidly.
> Take a complimentary Learning@Cisco Self-Assessment and learn 
> about Cisco certifications, training, and career opportunities. 
> http://p.sf.net/sfu/cisco-dev2dev
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to