[udig-devel] uDig 'Projects' view and eclipse standards?

Jody Garnett jgarnett at refractions.net
Wed Dec 5 16:03:49 PST 2007


Vince Darley wrote:
> What possibilities are there for uDig to use Eclipse's standard 
> resource management capabilities instead of the "Projects" view?
Last year there was little chance; the IResource API is not very well 
thought out in terms of threading issues (way too many chances for user 
interfaces to block).

This year you can consider two avenues of research and help answer the 
question:
- They may have improved things? The Navigation framework in particular 
promised an improvements in the direction we need - to the point you 
could have a tree of tables in a remote database. So far I have not been 
able to look into the Navigation framework.
- For our resources that are actually files you should be able to set it 
up so they can adapt to IResource (for better integration)
> I would have thought this was a fairly minor change, and would enhance 
> the flexibility of the platform, and allow users to store other 
> information alongside their maps in a hierarchy of their choice (e.g. 
> report templates, reports, exported images, etc).
IResolve is a straight copy of IResource with threading issues nailed 
down; you can see a couple of expansions like IPage; but I admit this is 
not fun. Working with remote resources is almost never fun.

The other approach is to make the LocalCatalog persisted; and cache 
enough information there to run out of the box IResolve interfaces; and 
keep synchronization with external resources as a seperate concern. The 
attempt I saw of doing a net beans based uDig type thing made use of 
little text files containing the connection parameters in order to 
accomplish something similar.

Jody


More information about the udig-devel mailing list