UDIG Developer Guide : 3 Adding new file format
This page last changed on Nov 19, 2005 by jgarnett.
UDig makes use of a Catalog API that provides handles to all running services. You basically follow the handle to get access to the real data (be it DataStore, GridCoverage, or something new that people made up). These handles are called IService (which contains IGeoResource handles). Each has an associated "Info" object that captures the exact same information everyone always wants. Adding a new file format to uDig involves a catalog service and a renderer. Catalog serviceThe catalog service is contributed via the net.refractions.udig.catalog.ServiceExtension extension point. This boils down to writing implementations of the following interfaces.
RendererThe renderer is contributed via the net.refractions.udig.project.renderer extension point. This involves writing implementations of the following interfaces
Plugin.xml<extension point="net.refractions.udig.catalog.ui.fileFormat"> <fileService fileExtension="*.mif"/> <fileService fileExtension="*.dxf"/> </extension> |
![]() |
Document generated by Confluence on Nov 19, 2005 20:02 |