Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Tài liệu HOT
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
0
Trang chủ
Công Nghệ Thông Tin
Kỹ thuật lập trình
Lecture Software construction - Lab 2: Programming in eclipse
TAILIEUCHUNG - Lecture Software construction - Lab 2: Programming in eclipse
In this chapter, the following content will be discussed: Benefits, code completion, faster code/compile/run cycles (real time), open source (free), extensible (plugins), disadvantages, pretty heavyweight, requires JRE, learning curve. | Software Construction Lab 2 Programming in Eclipse Introduction to Eclipse Sampling of Some Other Features Import organization Context assist Javadoc assist Getter/Setter generation Add unimplemented methods Exception handling Reminders Local history Import Organization Eclipse can automatically include import statements for any classes you are using, just press Control + Shift + o (letter o) Import Organization (continued) If the class is ambiguous (more than one in the API) then it will ask you to select the correct one Import Organization (continued) Import statements automatically included and organized You can organize imports to clean them up at any time Context Assist If you are typing and press a “.” character and pause a second, Eclipse will show you a list of all available methods for the class Prevents having to browse javadocs to see what methods are available Get context assist at any time by pressing Control + Space Javadoc Assist Eclipse can also help generate javadoc comments for you, simply place the cursor before the method and then type “/**” then Enter Javadoc Assist (continued) Eclipse will automatically generate a javadoc header for the method all stubbed out with the parameters, return type and exceptions Getter/Setter Generation Eclipse can automatically generate getters and setters for member of a class Getter/Setter Generation (continued) To generate getters and setters, right click in the main pane, then select Source Generate Getters and Setters Getter/Setter Generation (continued) Here you can selectively choose members for which to generate getters and setters Getter/Setter Generation (continued) Eclipse will then automatically generate the code for the getters and setters Add Unimplemented Methods Eclipse can also stub out methods that need to be present as a result of implementing an interface Add Unimplemented Methods (continued) You can use the quick fix light bulb to add the interfaces unimplemented methods to the class Add Unimplemented Methods (continued) Again Eclipse will go ahead and stub out the method for us Exception Handling Eclipse will also pickup on unhandled exceptions Exception Handling (continued) By clicking on the quick fix light bulb, Eclipse can suggest what to do to handle the exception Exception Handling (continued) Eclipse can automatically add a “throws declaration” to the method signature Exception Handling (continued) Alternately, Eclipse can also wrap the code inside a try/catch block Tasks Eclipse allows you to insert reminders into your code and stores them for you to come back and revisit them Eclipse recognizes the following tags inside comments TODO FIXME XXX You can even add your own custom tasks through the preferences menu Tasks (continued) To add a table of all reminders in all of your source code you can add the Tasks view by clicking on Window Show View Tasks Tasks (continued) This neatly displays all tasks in a tabular form Local History Eclipse maintains a local history of file revisions which can be accessed by right clicking on the class, then selecting Compare With Local History Local History (continued) Previous saved revisions are displayed in the History pane, double click a revision to view in the built-in diff viewer Summary Benefits Code completion Faster code/compile/run cycles (real time) Open source (free) Extensible (plugins) Disadvantages Pretty heavyweight Requires JRE Learning Curve
Như Khang
61
26
ppt
Báo lỗi
Trùng lắp nội dung
Văn hóa đồi trụy
Phản động
Bản quyền
File lỗi
Khác
Upload
Tải xuống
đang nạp các trang xem trước
Không thể tạo bản xem trước, hãy bấm tải xuống
Tải xuống
TÀI LIỆU LIÊN QUAN
Lecture Software construction - Lecture 21: Software change, evolution and maintenance
13
86
0
Lecture Software construction - Lecture 21: Software change, evolution and maintenance
13
55
3
Lecture Software construction - Lecture 1: Introduction to software construction
13
65
0
Lecture Software construction - Lecture 1: Introduction to software construction
19
47
3
Lecture Software construction - Lecture 16: Software design patterns
41
79
0
Lecture Software construction - Lecture 22: Software change, evolution and maintenance - Part II
21
65
0
Lecture Software construction - Lecture 18: Software testing
14
77
0
Lecture Software construction - Lecture 19: Software testing (part 2)
17
61
0
Lecture Software construction - Lecture 20: Software quality
13
81
0
Lecture Software construction - Lecture 16: Software design patterns
16
55
3
TÀI LIỆU XEM NHIỀU
Một Case Về Hematology (1)
8
461863
55
Giới thiệu :Lập trình mã nguồn mở
14
22634
59
Tiểu luận: Tư tưởng Hồ Chí Minh về xây dựng nhà nước trong sạch vững mạnh
13
10884
529
Câu hỏi và đáp án bài tập tình huống Quản trị học
14
10064
446
Phân tích và làm rõ ý kiến sau: “Bài thơ Tự tình II vừa nói lên bi kịch duyên phận vừa cho thấy khát vọng sống, khát vọng hạnh phúc của Hồ Xuân Hương”
3
9518
104
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8278
1125
Tiểu luận: Nội dung tư tưởng Hồ Chí Minh về đạo đức
16
8230
423
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7864
2220
Đề tài: Dự án kinh doanh thời trang quần áo nữ
17
6674
253
Vật lý hạt cơ bản (1)
29
5769
85
TỪ KHÓA LIÊN QUAN
Kỹ thuật lập trình
Software construction
Lecture Software construction
Object oriented design
Software design
Object oriented design
Class diagrams
Software change
Handbook Software construction
Software evolution
Software design patterns
Design patterns
Maintenance echniques
Maintenance management
Software testing
Test phases
White box testing
Strategy derives test data
Software quality
Extreme testing
Requirements documentation
Use cases
Use case analysis
Action events
GUI programming
Object orientation
Message passing
Class variables
User interface design
User interaction
Usability engineering
Named associations
TÀI LIỆU MỚI ĐĂNG
Báo cáo khoa học: Loss of kinase activity in Mycobacterium tuberculosis multidomain protein Rv1364c
14
235
0
26-04-2024
Động cơ đốt trong và máy kéo công nghiêp tập 1 part 7
23
258
0
26-04-2024
Động cơ đốt trong và máy kéo công nghiêp tập 2 part 8
32
259
0
26-04-2024
CẤU TẠO HẠT NHÂN NGUYÊN TỬ-ĐỘ HỤT KHỐI-NĂNG LƯỢNG LIÊN KẾT-LK RIÊNG
12
266
0
26-04-2024
Management and Services Part 1
10
156
0
26-04-2024
Bơm máy nén quạt trong công nghiệp part 8
20
198
2
26-04-2024
MÔN HỌC VẬT LIỆU VÀ CÔNG NGHỆ KIM LOẠI - PHẦN I: KIM LOẠI HỌC
32
176
2
26-04-2024
HƯỚNG DẪN SỬ DỤNG PHẦN MỀM CAITA part 9
18
128
0
26-04-2024
GIÁO TRÌNH MÁY ĐIỆN KHÍ CỤ ĐIỆN - PHẦN I MÁY ĐIỆN - CHƯƠNG 1
46
131
2
26-04-2024
Data Structures and Algorithms - Chapter 9: Hashing
54
113
0
26-04-2024
TÀI LIỆU HOT
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7864
2220
Giáo trình Tư tưởng Hồ Chí Minh - Mạch Quang Thắng (Dành cho bậc ĐH - Không chuyên ngành Lý luận chính trị)
152
5718
1364
Ebook Chào con ba mẹ đã sẵn sàng
112
3767
1231
Ebook Tuyển tập đề bài và bài văn nghị luận xã hội: Phần 1
62
5318
1136
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8278
1125
Giáo trình Văn hóa kinh doanh - PGS.TS. Dương Thị Liễu
561
3498
643
Tiểu luận: Tư tưởng Hồ Chí Minh về xây dựng nhà nước trong sạch vững mạnh
13
10884
529
Giáo trình Sinh lí học trẻ em: Phần 1 - TS Lê Thanh Vân
122
3683
525
Giáo trình Pháp luật đại cương: Phần 1 - NXB ĐH Sư Phạm
274
4045
514
Bài tập nhóm quản lý dự án: Dự án xây dựng quán cafe
35
4127
480
Đã 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.