uDig学习笔记

UDig makes use of a Catalog API that provides handles to all running services.

UDig使用Catalog API 提供 handles 来运行services.

 

CatalogPlugin

The CatalogPlugin provides the following services:

  • The concept of Handles to actual Resources
  • Discovery of additional resources using Search facilities
  • Programmatic Management of spatial resources

CatalogPlugin提供以下服务:

  • 实际资源Resources 的句柄Handles的概念
  • 使用搜索功能发现其它资源
  • 程序化地管理空间资源

ICatalog

ICatalog is the interface used to represent a generic "catalog" of spatial resources and services, you can think of it as being similar to a web search engine.

ICatalog接口是用来表示一个普通的空间资源和服务的“目录”,你可以把它认为是网络搜索引擎的类似。

 

IService

The CatalogPlugin uses the interface IService to model a local or remote service.

CatalogPlugin使用IService接口为本地或远程服务建模。

IGeoResource

One of the most useful things stored in a catalog is actual spatial data. The IGeoResource interface represents real information, the kind you can display on screen or perform analysis on.

在目录中存储的实际空间数据是最有用的东西之一。IGeoResource接口表示那种可以显示在屏幕上或进行分析的真实信息。

 

IResolve

CatalogPlugin uses the model of a "handle" to allow access to spatial resources.

IResolve 插件使用handle模型来访问空间资源。

 

Comparison with IResource

The IResolve interface follows the same design as the normal Eclipse IResource class.

IResolve offers the following advantages over normal Eclipse IResource:

  • IResolve explicitly represents a handle for a remote resource
  • IResolve blocking behavior is explicit at the API level, anything that takes an IProgressMonitor or throws an IOException is blocking
  • IResolve is available for RCP applications, normal IResource is part of the Eclipse IDE and cannot be used in a RCP application
  • IResolve uses Java 5 enums, type narrowing and Templates for a simplified API

与IResource的比较

IResove接口是依照普通的Eclipse IResource 类设计的

相比普通Eclipse IResource 而言,IResolve 提供以下改进:

IResolve显示代表远程资源的句柄(handle)

IResolve 在API层次显示封装的行为,

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值