There's a Dialog class that can hold a collection of controls.
有一个对话框类,它可以容纳控件的集合。
This is done through a check box in the display options dialog on diagrams, or in the features dialog of a block or class.
这是通过图表中显示选项对话框中的复选框,或者块或类的特性对话框进行操作的。
Then you need to make an SWT shell class and a class for the dialog window itself Download the code at the bottom of the article.
然后您需要生成一个SWT外壳类和对话框窗口本身的类(下载本文底部的代码)。
On the next dialog, we will define information about the View class.
在下一个对话框中,我们将会定义关于view类的信息。
Here is an example of how you might use these methods in a script or, more appropriately, with a class that defines the Place an Order dialog.
这里是一个您可以如何在脚本中使用这些方法的实例,或者更适当地说,利用定义了PlaceAnOrder对话框的类?
The ServiceUI class provides a single method to display the printer selection dialog
ServiceUI类提供一个单独的方法来显示打印机选择对话框
A dialog will display, where you create a UI presentation for the Contact class.
随后,会出现一个对话框,在这里,可以为Contact类创建一个UI表示。
So we must use the ServiceUI class to create a print dialog like the one shown above.
所以我们必须使用serviceui类创建如上面所示的打印对话框。
The second instance of the dialog occurs because an activity needs to be associated with the operation of adding the new servlet class to source control.
这个对话框需要第二次出现,是因为向源代码控制中添加新servlet类的操作需要和一个活动相关联。
Quick Navigation - jump to the desired class, field, variable or file through a small filtered dialog.
快速导航——通过一个小巧的过滤对话框,可以快速地转到要浏览的类、字段、变量或文件上。
You are ready to use the find method to locate the Place an Order dialog, using the class information for the window.
您已准备好使用find方法来定位PlaceanOrder对话框,利用窗口的类信息。
On the Referenceables dialog (Figure 10), enter fully qualified class names for Factory class (com.ibm.acme.ree.lib.ConfigFactory) and class name (com.ibm.acme.ree.lib.Config), then select OK.
在Referenceables对话框(图10)中,输入工厂类(com . ibm . acme . ree . lib . ConfigFactory)和类名(com . ibm . acme . ree . lib . Config)的完全限定类名,然后选择OK。
On the next dialog (Figure 8), modify the description (optional), then replace the db2j.jar entry in the Class path with derby.jar
在下一个对话框(图8)中,修改说明(可选字段),然后将类路径中的 db2j.jar条目替换为 derby.jar,它是新的 Cloudscape V10 JAR。
In the "new ActionForm class - Create new accessors..." dialog, select Add....
在“new ActionFormclass-Createnew accessors…”对话框中,选择add…。
For example, to publish a status message, you make a call to the core Facebook class method dialog passing the action stream.publish (see Listing 10).
例如,要发布一个状态消息,需要调用核心Facebook类方法dialog,传递操作stream . publish(参见清单10)。
When you do this the "Run Project" dialog will pop-up with a list of all class files with a main method.
运行项目时,也许会列出项目所有含main方法的类。
A dialog box displays, requesting the name of the new class.
这时会出现一个对话框,要求输入新类的名称。
This dialog box lets you set up the class information.
在这个对话框中可以设置类信息。
Click the name of the class and you'll see that up and down arrows appear on the right side of the dialog box.
点一下这个类的名字,你将发现在这个对话框的右边会出现上下箭头。
You can now view attributes, operations, flow ports and ports inherited from super blocks on block definition and internal block diagrams and features dialog of the derived class.
现在您可以从块定义和内部块图以及特性对话框的上层快中,查看属性、操作、流程图。
In the dialog box that appears, type Hello as the class name.
在随后出现的对话框中,键入Hello作为类名称。
In the dialog box that appears, type "Hello" as the class name.
在随后出现的对话框中,键入“Hello”作为类名称。
Now, to select the base class, click the Add button, and select LibraryEntry from the dialog box.
现在,可以选择这个基类,点击add按钮,然后从对话框中选择LibraryEntry。
The setUserMail(String id) method of the MailUtilities class display’s a dialog box requesting the email address for a partner.
MailUtilities类的setUserMail(Stringid)方法显示对话框询问合作伙伴的电子邮件地址。
To add the correct JARs in the Class path section of the dialog box shown in Figure 28, first click Remove to remove the environment variable entries.
为了在图28所示对话框的Classpath部分添加一个恰当的JAR,首先点击Remove按钮移除环境变量条目。
Select Project | Add Class, type the name "Quad.cs" into the dialog box, and press Open to create the class.
选择项目 |添加类,在对话框中输入“Quad.cs”,点击“打开”以创建类。
In the Create new bean dialog of the AAT, if you select the home interface using the Browse button, the remote interface and the bean class are automatically filled in.
在AAT的Createnewbean对话框中,如果您使用Browse按钮选择了本地接口,就会自动填充远程接口和bean类。
Otherwise, the exception is caught by the class library (or worse, the host), and the user will be presented with a dialog box in the best case and a missing control in the worst case.
否则,异常将会被类库接收(或者更糟,被宿主机),最好的情况下用户仅看到一个对话框,最糟糕的情况下则显示缺失控件。
For example, if you handle WM_CTLCOLOR in your dialog box class, your handling will override any reflected message handlers.
例如,如果你在一个对话框类中试图处理WM_CTLCOLOR,您的处理将覆盖掉任何被反射的消息处理函数。
In this dialog user assumed to enter the name of new class, that we?
在此对话框的用户假定进入一个新的类的名称,我们?
应用推荐