tailieunhanh - WebSphere Studio Application Developer Version 5 Programming Guide part 7
WebSphere Studio Application Developer part 7 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 | Figure 2-9 Classpath variables preferences Figure 2-10 shows the New Variable Entry dialog with a DB2Java variable that points to the DB2 JDBC driver class. The name of the file containing the class is specified along with the file system path to it. Figure 2-10 New Variable Entry dialog 34 WebSphere Studio Application Developer Version 5 Programming Guide Appearance of Java elements The page Java - Appearance provides a dialog with some settings regarding the appearance of Java elements in viewers. Here you can change the following options Show method return types methods in views display their return types. Show override indicators in outline and hierarchy displays an indicator for overridden and implemented methods in the Outline and the Type Hierarchy views. Show members in Package Explorer if enabled displays Java elements below the level of Java files and Class files as well Compress package name segments if enabled compresses package names according to the compression pattern Stack views vertically in the Java Browsing perspective stacks the views in the Java Browsing perspective vertically rather than horizontally Code formatter The Java editor in the Workbench can be configured to format code in conformance with personal preferences or team standards. When setting up the Workbench you can decide what formatting should be applied. To modify the default code formatting select Windows - Preferences - Java - Code Formatter as shown in Figure 2-11. Use the tabs at the top of the page to modify various aspects of the code formatting. The sample code in the bottom right pane shows you a preview of the effects of changes that you make. The code formatting options are almost self explaining. However a detailed description of each option is provided in Application Developer s help manual. Note To apply the formatting rules defined here select Format from the Java editor context menu. Some formatting for example indenting of braces will be done on the fly
đang nạp các trang xem trước