这些viewer使用内容提供者(content provider)和标签提供者(label provider)。内容提供者知道如何将提供者的输入元素映射到viewer的内容,以及如何将域对象的修改同步到viewer。
基于20个网页-相关网页
用同样的方法来处理标签提供者。
Eclipse JFace用内容提供者和标签提供者实现MVC架构。
Eclipse JFace implements the MVC architecture using the content provider and label provider.
内容提供者以结构化的方式得到数据;类似地,标签提供者获得对应的标签。
The content provider fetches the data in a structured manner; similarly, the label provider obtains corresponding labels.
应用推荐