资源说明:Part I ❍ Introduction 1
Chapter 1 Eclipse as a Rich Client Platform 3
1.1 Eclipse 5
1.2 The Eclipse Rich Client Platform 5
1.3 Eclipse RCP over the Years 6
1.4 Uses of RCP 7
1.4.1 IBM Lotus and Eclipse RCP 7
1.4.2 NASA and the Eclipse RCP 10
1.5 Summary 12
1.6 Pointers 13
Chapter 2 Eclipse RCP Concepts 15
2.1 A Community of Plug-ins 15
2.2 Inside Plug-ins 18
2.3 Putting a System Together 19
2.4 OSGi Framework 20
2.5 Equinox 21
2.5.1 Applications 22
2.5.2 Products 22
2.5.3 Extension Registry 23
2.6 Standard Widget Toolkit (SWT) 25
2.7 JFace 25
2.8 UI Workbench 25
2.8.1 Contribution-Based Extensibility 26
2.8.2 Perspectives, Views, and Editors 26
2.9 Summary 27
2.10 Pointers 27
Part II ❍ RCP by Example 29
Chapter 3 Tutorial Introduction 31
3.1 What Is Hyperbola? 31
3.2 The Evolution of Hyperbola 32
3.3 Development Environment Installation 33
3.4 Sample Code 34
3.4.1 Moving from Chapter to Chapter 35
3.4.2 Comparing 35
3.5 Target Platform Setup 36
3.5.1 The Predefined Target 37
3.5.2 Defining Target Platforms 38
3.6 Learning by Example 42
3.7 Summary 44
3.8 Pointers 44
Chapter 4 The Hyperbola Application 45
4.1 Hyperbola “Hello, World” 45
4.2 Tour of the Code 51
4.2.1 Application 51
4.2.2 WorkbenchAdvisor 53
4.2.3 Perspective 53
4.2.4 WorkbenchWindowAdvisor 54
4.2.5 ActionBarAdvisor 55
4.2.6 Summary
4.3 Running and Debugging 55
4.3.1 Debugging 56
4.3.2 Launch Configurations 60
4.4 Summary 62
4.5 Pointers 62
Chapter 5 Starting the Hyperbola Prototype 63
5.1 Continuing from the Shell 64
5.1.1 Saving Window Location and Size 65
5.2 Adding a Contacts View 65
5.2.1 Adding the Contacts View to a Perspective 67
5.3 The Chat Model 70
5.4 Filling in the Contacts View 72
5.4.1 The ContactsView 72
5.4.2 Content Providers Overview 74
5.4.3 The Label Provider 77
5.5 Adding Images 78
5.6 Summary 81
5.7 Pointers 82
Chapter 6 Adding Actions 83
6.1 Adding to the Menus and Toolbar 84
6.1.1 Create a Top-Level Menu 85
6.1.2 Menu Managers 87
6.1.3 The Add Contact Action 88
6.1.4 Adding the Add Contact Action 91
6.1.5 Customizable Toolbars 93
6.2 Adding to the Status Line 93
6.2.1 Status Line—A Shared Resource 95
6.3 System Tray Integration 96
6.3.1 Obtaining a Display 97
6.3.2 Creating the Tray Item 98
6.4 Summary 100
6.5 Pointers
......
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。