The other way to add J2C method is using the corresponding J2C snippet from the Snippets view.
增加J2C方法的另外一个途径是使用来自于Snippets视图的相应J 2 C片断。
Select the Call an EJB "find" method EJB snippet action from the Snippets view.
从Snippet视图中选择CallanEJB “find ”method ejb片断操作。
With your cursor within the body of this method, launch the Call an EJB "create" method EJB snippet from the snippets view.
将光标置于方法体中,从snippets视图中启动CallanEJB "create"method EJB片断。
Listing 10 shows the code snippet for the two user preferences that you want to surface later in the edit view.
清单10显示了您随后要在编辑视图中使用的两个用户首选项的代码片段。
The code snippet in Listing 4 shows the methods to allow property change listeners to be added to or removed from a property provider view or plug-in class.
清单4中的代码片段是一些方法,它们允许在属性提供器视图或插件类中添加或删除属性改变监听器。
For example, the code snippet just shown cancels the transition to the new page if the current user is not authorized to view pages with an index greater than 4.
例如,刚才的代码片段在当前用户未被授权查看索引大于4的页面时,取消了转换到新页面的操作。
The code snippet in Listing 2 shows the createPartControl() method of a view that creates a JFace TableViewer and adds it as a selection provider to the workbench site.
清单2中的代码片段显示一个视图的createPartControl()方法,这个方法创建一个JFaceTableViewer并将它作为选择提供器添加到工作台站点。
In the Snippets view in the lower left of the workspace, click on the specific drawer containing the target Web service snippet.
在工作区左下角中的Snippets视图中,单击包含目标Web服务代码片段的某个特定抽屉。
The following is a snippet of the view DXL code
下面是视图DXL代码的一个片段
Listing 1 shows a code snippet of the method to test the View mode.
清单1显示了测试View模式所用方法的代码片段。
One is the “widget”, a snippet of code that often lives on a PC’s desktop and allows the user to get a quick personalised view of a set of data.
其中之一是“widget”,它是一段在客户端运行的代码,让用户能快速看到定制的数据。
One is the “widget”, a snippet of code that often lives on a PC’s desktop and allows the user to get a quick personalised view of a set of data.
其中之一是“widget”,它是一段在客户端运行的代码,让用户能快速看到定制的数据。
应用推荐