Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] how do I create a P2P SearchView?

Hello everybody,

I am writing a P2P application which should let one search for maps, layers
services etc. I am thinking of using uDig as a client. Essentially I should
have a view similar to the Search view with the input string for the query
above and the tree panel for the found results below. I already spent some
time trying to copy and modify
net.refractions.udig.catalog.ui.search.SearchView,
net.refractions.udig.catalog.ui.CatalogTreeViewer,
net.refractions.udig.catalog.internal.CatalogImpl but I am not getting too
far. It appears that SearchView is not suitable for my purposes as it does a
synchronous search on the on the IServices that are currently open in the
catalog while I need to do sent a query to my P2P network and asynchronously
add found services to the catalog. Could anybody suggest how I should go
about creating such a P2PSearchView? Unfortunately I could find very little
architectural documents concerning uDig's catalog and you can get only so
far by reading concurrent OO code. Also SearchView seems to be using a lot
of classes in internal packages that I can't/shouldn't be using.

Thanks,

Leon
-- 
View this message in context: http://www.nabble.com/how-do-I-create-a-P2P-SearchView--tp20628583p20628583.html
Sent from the udig-devel mailing list archive at Nabble.com.



Back to the top