-
从数据库读取一个小部件记录。
Read one widget record from the database.
youdao
-
将此小部件拖动到您的页面上。
Drag this widget onto your page.
youdao
-
图1显示的是小部件的可视化设计。
Figure 1 shows the visual design for the widget.
youdao
-
该函数必须在小部件代码中定义。
This function must be defined in the widget code.
youdao
-
每个文本输入框也是一个小部件。
Each text entry box is a widget.
youdao
-
每个小部件具有自己的配置菜单。
Each widget has its own configuration menu.
youdao
-
现在可以选择希望添加的小部件。
You can now select the widgets you want to add.
youdao
-
这是示例小部件的完全限定名称。
This is the fully qualified name of the sample widget.
youdao
-
对于小部件来说,使用的模式类似。
For the widgets, we followed a similar pattern.
youdao
-
对于SWT,控件是窗口小部件。
For SWT, a control is a widget.
youdao
-
小部件代码如清单9所示。
The code for the widget is shown in Listing 9.
youdao
-
这里,我添加一个标签窗口小部件。
Here I add a label widget.
youdao
-
一个页面上可以有任意数量的小部件。
You can have any number of widgets on a page.
youdao
-
在一个XML文件中创建小部件定义。
Create the widget definition in an XML file.
youdao
-
例如,假设您有两个小部件。
For example, imagine you have two widgets.
youdao
-
在适当类别中找到该小部件。
Find the widget in the appropriate drawer.
youdao
-
您将看到可用小部件的列表。
You'll see a list of available widgets.
youdao
-
在顶部您将看到许多小部件。
You'll see a lot of widgets on top.
youdao
-
现在,您已经准备好为小部件创建模型。
You are now ready to create the model for your widget.
youdao
-
此空间配置了测试流程所需要的小部件。
This space is configured with widgets required to test the process.
youdao
-
有多种方式可以开发自己定制的小部件。
There are multiple ways to develop your own customized widgets.
youdao
-
本系统中的小部件很简单。
The widgets in this system are simple.
youdao
-
任何一个小部件都有位置、宽度和高度。
A widget of either kind has a position, a width, and a height.
youdao
-
添加自定义小部件将阻止显示整个表单。
Adding those widgets prevents the entire form from being shown.
youdao
-
在页面中尝试拖拽小部件。
Experiment with dragging and dropping the widgets on the page.
youdao
-
要添加需要的小部件,可以单击定制按钮。
To add the widgets you want, click the Customize button.
youdao
-
小部件显示业务空间页中一个部分的内容。
A widget displays content for a section of a business space page.
youdao
-
小部件现在已经注册了,如图4 所示。
The widget is now registered, as shown in Figure 4.
youdao
-
当然,您也可以创建很多其他类型的小部件。
There are many other kinds of widgets you could create.
youdao
-
要使用小部件,需要提供一个HTML表单。
To use the widget, you need to provide an HTML form.
youdao