WebSphere Studio Application Developer Version 5 Programming Guide part 8

WebSphere Studio Application Developer part 8 provides integrated development tools for all e-business development roles, including Web developers, Java developers, business analysts, architects, and enterprise programmers. The customizable, targeted, role-based approach of WebSphere Studio Application Developer will be characteristic of all new products built on the WebSphere Studio Workbench. It is well integrated with WebSphere Application Server and provides built-in server test environments that can be used for testing and profiling Web applications | The symbol in front of each template shown Figure 2-18 in the code assist list is colored yellow so you can distinguish between a template and a Java statement entry. @ if - if statement ifelse - IF else statement O IftpCIient - Figure 2-18 Using templates for code assist The Templates preference page allows you to create new and edit existing templates. A template is a convenience for the programmer to quickly insert often reoccurring source code patterns. To open the Templates preferences page click Window - Preferences - Java and select Templates from the Java tree as shown in Figure 2-19. Figure 2-19 Templates preferences 44 WebSphere Studio Application Developer Version 5 Programming Guide The Templates preferences page opens where you can perform the following tasks Create templates Edit existing templates Remove templates Import templates from XML files Export selected or all templates to a XML file Enable or disable selected or all templates for code assist. To create a new template click New. The New Template dialog comes up as shown in Figure 2-20. Here you have to enter the name of the template the description and its pattern. Figure 2-20 Creating a new template The name you enter here will be displayed in the code assist list when you press Ctrl-Space. In the Pattern field you have to enter the actual code you want to be inserted by using the template. There are also some predefined variables available. These variables can be inserted by clicking Insert Variable. This will bring up a list and a brief description of the variable. Tip Application Developer provides additional templates that are located in the following directory of Application Developer s installation wstools eclipse plugins Examples Templates You can import all templates in a directory by selecting the files of the specific sub directory. Chapter 2. Setting up your Workbench and workspace preferences 45 To import these .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU LIÊN QUAN
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.