Re: [JPP-Devel] Path for Save Dataset As...

2008-06-02 Thread Stefan Steiniger
> One question: > How can I get the information about the path of the layer? mhm.. I think Larry used this in his layer properties plugin. let me look: could be these lines: * Object fnameObj = dsq.getDataSource().getProperties().get("File"); if (fnameObj != null){ sourcePat

Re: [JPP-Devel] Path for Save Dataset As...

2008-05-28 Thread Uwe Dalluege
Hi Larry, you are right! With "Save Selected Datasets" the layer are saved correct. My mistake was to think, "Save Dataset As..." uses the same path as "Save Selected Datasets" :-( One question: How can I get the information about the path of the layer? One little remark: If the layer is empty a

Re: [JPP-Devel] Path for Save Dataset As...

2008-05-27 Thread Uwe Dalluege
Hi Larry, hi Landon, please let me explain this problem from the user-side, so maybe it would be clear what I mean :-) 1. I have a new project with two layer. 2. Then I save the first layer to directory A and the second layer to directory B. 3. After that I save the project and open the project

Re: [JPP-Devel] Path for Save Dataset As...

2008-05-27 Thread Sunburned Surveyor
Uwe, I would agree with Larry's comments. I don't know that there is a solution that will please everyone. We could add "store to last folder" and "store to project directory" buttons to the save dialog, but I don't know if it would be worth it. The Sunburned Surveyor --