Simplifying the content provider (Model).
简化内容提供者(模型)。
Implementing the file table viewer content provider.
实现文件表查看器内容提供程序。
Figure 11 shows the content provider and label provider.
图11演示了内容提供程序和标签提供程序。
So our file table content provider class looks like Listing 8.
因此我们的文件表内容提供程序类与清单8 类似。
Content provider testing focuses on testing content providers.
Content Provider测试主要讨论如何测试内容提供者。
The tree content provider must implement ITreeContentProvider.
树内容提供程序必须实现ITreeContentProvider。
So we cannot use the implicit constructor for our content provider.
因此我们不能对内容提供程序使用隐式的构造函数。
The other component type, content provider, is not activated by intents.
剩下一种组件类型,content provider,不被intent所激活。
Sintercom was asked to register as an Internet content provider, but refused.
Sintercom被告知登记为互联网内容提供商,但他拒绝了。
As you can see, the content provider doesn't hold a reference to any domain objects.
正如您所见,内容提供程序不持有对任何域对象的引用。
For example, the note Pad sample application USES a content provider to save notes.
比如,NotePad示例使用了一个content provider来保存笔记。
Each UI control will subclass Field and give the content provider read and write ability.
每个用户界面控件都是Field的子类,并向内容提供者提供了读写能力。
Similarly, a content provider can receive data requests that originate in other processes.
类似地,内容提供者(content provider)也能接收来自其它进程的数据请求。
Transformed the company from a content provider to a large-scale web application developer.
将公司从内容供应商转型为大规模的网络应用开发商。
Eclipse JFace implements the MVC architecture using the content provider and label provider.
EclipseJFace用内容提供者和标签提供者实现MVC架构。
One way to create this synchronization is to add a resource change listener to our content provider.
实现这种同步的一种方法是将资源更改侦听程序添加到内容提供程序中。
Just like the TreeViewer, it has an input (a root object), a content provider, and a label provider.
和TreeViewer一样,它有输入(根对象)、内容提供程序和标签提供程序。
For example, the Android system provides a content provider that manages the user's contact information.
比如,Android系统提供了管理用户联系人信息的content provider。
When it detects an update in the content, the feed reader requests the updated content from the content provider.
当它检测到内容中有更新时,feed阅读器向内容提供者请求更新的内容。
The value of the fields in the table will be set according to your content provider and label provider classes.
将根据内容提供程序类和标签提供程序类设定表中字段的值。
The next months will bring many additional product features both on the end user and content provider side of things.
下个月会有更多面对终端用户和内容供应者的产品。
It is the tree viewer that holds on to them itself and passes them as arguments to each method in the content provider.
持有对这些域对象的引用的是树查看器本身,它把这些域对象作为参数传递给内容提供程序中的各个方法。
In the content provider shown in Listing 7, you can retrieve data from an XML file or from a database using an adapter.
在清单7所示的内容提供者中,可以使用适配器从XML文件或数据库检索数据。
To make use of this resource-change listener, we need to add it to the content provider and remove it when appropriate.
要使用此资源更改侦听程序,我们需要将其添加到内容提供程序中,在适当的时候删除。
The content provider fetches the data in a structured manner; similarly, the label provider obtains corresponding labels.
内容提供者以结构化的方式得到数据;类似地,标签提供者获得对应的标签。
"When you got a content provider like a major label, they put pressure on Apple to keep their content protected," he said.
他说,“当你获得一家像主流唱片公司那样的内容提供商,他们会对苹果公司施加压力,以保护他们提供的内容。”
But before adding a content provider and label provider instance to this table viewer, we must first create our table.
但是在向此表查看器中添加内容提供程序和标签提供程序实例之前,我们必须先创建表。
Through the content provider, other applications can query or even modify the data (if the content provider allows it).
通过content provider,其他应用能查询或修改这些数据(如果content provider允许)。
We must explicitly declare our content provider constructor and call the super-class constructor with the expected parameters.
我们必须显式地声明内容提供程序构造函数并使用所需的参数调用超类构造函数。
We must explicitly declare our content provider constructor and call the super-class constructor with the expected parameters.
我们必须显式地声明内容提供程序构造函数并使用所需的参数调用超类构造函数。
应用推荐