一个生产力方面的增强就是:通过点击两次按钮就能创建一个新类。
One of the productivity enhancements lets you create a new class with two button clicks.
不过你可以这么做,当你在创建一个新类的时候可以先尝试组合,因为它更简单而且灵活。
Instead, you should first look to composition when creating new classes, since it is simpler and more flexible.
com类模板创建一个新类,然后配置您的项目以生成作为COM对象的类和操作性层并在操作系统注册。
The COM class template creates a new class, and then configures your project to generate the class and interoperability layer as a COM object and register it with the operating system.
可以创建一个新类XmlDictionaryIO,该类继承由DictionaryIO设置的接口,但覆盖其中一些功能。
You can create a new class XmlDictionaryIO that inherits the interface laid down by DictionaryIO, but overrides some of its functionality.
我们可以用一种直接的方式实现它,就是创建一个新类PriorityThreadPool (ThreadPool),这个类在线程迭代期间更频繁地返回更重要的线程。
A straightforward way to do this would be to create a new class PriorityThreadPool (ThreadPool) that returned more important threads more often during the thread iteration.
在MediationHandlers项目中创建一个新类mediation . handlers . MessageBodyFor matter,并添加所需的导入语句(清单5)。
Create a new class, mediation.handlers.MessageBodyFormatter, in the MediationHandlers project and add the required import statements (Listing 5).
而会话类包含创建新客户和查找数据库中的一个或所有客户的等效方法。
A session class contains equivalent methods to create a new customer and to find one or all customers in the database.
这个类能创建一个新的索引或者打开一个已存在的索引并为该所引添加文档。
This class can create a new index or open an existing index and add documents to it.
在上面的示例中,您创建了一个名为MySession的新类,用来将对象添加到会话中。
In the above example, you create a new class named MySession to add objects into a session.
这个示例首先创建一个称为WebServerClass 的新类。
The example begins by creating a new class called WebServerClass.
采用同样的方式创建一个名为CustomerTypeEnumeration的新类,并应用glossaryTer m构造型。
In the same way, create a new class called CustomerTypeEnumeration and apply the Glossary Term stereotype.
完成以下步骤在该包中创建一个名为CheckinClerkRole的新类。
Create a new class in the package called CheckinClerkRole by doing the following.
在插件的src文件夹中,创建一个名为RuleMutipleDeclarations的新类。
In the plug-in's SRC folder, create a new class named RuleMutipleDeclarations.
在Eclipse中创建一个完成Connection接口的新类(称它为MockConection),检查为继承的抽象方法产生桩模块的选项(见图2)。
Create a new class in Eclipse (call it MockConection) that implements the Connection interface. Check the option to generate stubs for inherited abstract methods (see Figure 2).
这一代码清单创建了一个名为ClientSocket的新类,随后声明了一个名为“xml_socket”的xml套接字对象。
This code listing creates a new class called ClientSocket and then declares an XML socket object named "xml_socket."
您可以使用HTML元素来在另一个web页面中显示web页面,我们正好利用这一优势来创建一个新extbrowserwindow类,该类可以在Ext . Window中显示这个web页面。
You can use the HTML element to display web pages inside another web page, so we'll take advantage of that to create a new ExtBrowserWindow class that will display this web page inside an Ext.Window.
在创建一个新的“可移植类库”时,开发者需要决定这个类库将会运行在哪些框架上。
When a new "portable class library" is created the developer needs to choose which frameworks the library needs to run on.
您首先将创建一个新的项目和一个类,这个类将实现一个简单的服务:返回服务运行所在服务器的系统日期和时间。
You will first create a new project and a class that will implement a simple service that returns the system date and time of the server on which the service is running.
这个例子创建了一个允许用户来定义新的规则来报告以及为特定的类编码扩展的模板。
This example creates a new rule template that allows the user to define new rules to report and code that extends a given class.
我已修改了JSP文件,并创建了两个新类:一个类用来包含表单数据,一个类用来调用业务包。
I have modified the JSP file and created two new classes: one to contain form data and one to call the business package.
清单11首先创建了一个新的客户端类。
客户类包含一个用于创建新订单的方法,以及一个查找特定订单或者查找与某一客户相关的所有现有订单的方法。
The customer class contains a method to create a new order and to find a specific order or to find all existing orders associated with a customer.
在您的有效类中创建一个有利于必要解析工作的新的助手功能。(请看列表14)。
Create a new helper function in your utility class that takes care of the necessary parsing (see Listing 14).
当实现用例的新类时,必须创建一个新的DTO,并调整EJB以对其进行检索。
When you implement a new class of use case, you have to create a new DTO and go tweak the EJB to retrieve it.
当一个单例对象被当着垃圾回收,然后该单例类又被重新加载,一个新的单例对象被创建。
When a singleton class is garbage-collected and then reloaded, a new singleton instance is created.
正如您可以从清单5中的链接定义看到的那样,我创建了一个新BrowsersController控制器类来管理这段代码。
As you can see from the link definition in Listing 5, I created a new BrowsersController controller class to manage this code.
在本例中,您创建了一个新的名称为RssHandler的类,并将它注册为解析器的处理程序,如清单6所示。
In this case, you have created a new class called RssHandler and registered it as the handler for the parser, as in Listing 6.
在插件编辑器右边的ExtensionElementDetails之中,现在您可以选择一个已存在的确认器类,或者创建一个新的确认器类(如该案例所示)。
In the Extension Element Details form on the right side of the plug-in editor, you can now select an existing validator class or create a new validator class (as in this case).
创建一个新的UML项目和类图。
接下来,注意HTML标记的打开方式,即,传入三个名称空间,创建一个新的xforms_lib类实例。
Next, notice how the HTML tag is opened by creating a new xforms_lib class instance by passing in the three namespaces.
应用推荐