Current location - Quotes Website - Personality signature - Eclipse RCP easy-to-understand directory
Eclipse RCP easy-to-understand directory
Eclipse rcp in a simple way

The first part is a brief introduction

Chapter 1 eclipse 3 as a rich client platform

1. 1 eclipse 4

1.2 eclipse rich client platform 4

1.3 History of Eclipse RCP6

Use 1.4 rcp 6

Ibm lotus and eclipse rcp 7

1.4.2 nasa and eclipse rcp 9

1.5 summary 10

1.6 related information tips 1 1

Chapter 2 the concept of eclipse rcp 12.

2. 1 plugin community 12

2.2 internal plug-in 14

2.3 system integration 15

2.4 osgi framework 16

2.5 vernal equinox 17

2.5. 1 application 17

Product 18

2.5.3 Extended Registry 18

.2.6 Standard Parts Kit (swt) 20

2.7 jface 20

2.8 User Interface Workbench 20

2.8. 1 Scalability based on * * * 2 1

2.8.2 perspective and editor 2 1

2.9 Summary 22

2. 10 related information tips 22

The second part: learning rcp through examples

Chapter 3 Introduction to Tutorial 25

3. 1 What is hyperbola 25?

3.2 the evolution of hyperbola 26

3.3 Installation and development environment 27

3.4 Sample Code 28

Move between chapters 28.

Comparison 29

3.5 Target Platform Settings 29

Predefined target 30

3.5.2 Define the target platform31

3.6 Learning by Example 34

3.7 Summary 35

3.8 Relevant information tips 36

The fourth chapter the application of hyperbola 37

4. 1 hyperbolic Hello, World 37

4.2 Browse the source code 42

4.2. 1 application 42

Workbench consultant 43

Angle of view 44

Workbench Window Advisor 44

Proposal for action 45

4.2.6 Summary 46

4.3 Operation and Commissioning 46

4.3. 1 debugging 47

4.3.2 Start configuration 49

4.4 Summary 5 1

4.5 Relevant information tips 5 1

Chapter 5 Start Hyperbolic Prototype 52

5. 1 Continue from shell 53

5.2 Add Contact View 54

5.3 Chat Mode 58

5.4 Fill in the Contact View 59

5.4. 1 contact view 59

5.4.2 Overview of Content Providers 6 1

5.4.3 Label Provider 65

5.5 Add Image 66

5.6 Summary 69

5.7 Relevant information tips 69

Chapter 6 Add Action 70

6. 1 Add to Menu and Toolbar 70

6. 1. 1 Create a top menu 7 1.

6. 1.2 menu manager 73

6. 1.3 Add contact action 74

6. 1.4 Add Add Contact Action 77

6. 1.5 Customizable Toolbar 78

6.2 Add to Status Bar 79

6.3 System Tray Integration 82

6.3. 1 Get display 82

6.3.2 Creating a Pallet Project 83

6.4 Summary 85

6.5 Relevant information tips 86

Chapter 7 Add Chat Editor 87

7. 1 View and Editor 87

7.2 Defining Chat Editor 88

7.2. 1 editor input 92

7.2.2 Chatting Action 94

7.3 Checkpoint 96

7.4 Summary 97

7.5 Relevant information tips 97

Chapter VIII Hyperbolic Brand Building 98

8. 1 define hyperbolic product 98

8.2 Window image 102

8.3 Customized starter 103

8.4 Startup screen 103

8.5 About Information 105

Information about 8.5. 1 product 105

8.5.2 Information about installation details 107

8.6 Summary 107

8.7 Relevant information tips 108

Chapter 9 Packaging Hyperbola 109

9. 1 exit hyperbola 109

9.2 Export from other platforms 1 12

9.3 Summary 1 13

9.4 Relevant information prompt 1 13

Chapter 10 Message Support 1 14

10. 1 integrated third-party library 1 14

Binding10.1.1smack library 1 14.

10. 1.2 test binding 1 17

10.2 reconstruction model 1 19

Introduction to10.2.1smack119

Design objective 12 1

Delete the prototype class 12 1

10.2.4 Add Chat 123

10.3 user interface update 124

10.3. 1 content provider 125

10.3.2 label provider 126

10.4 Chatting with Irina Kaptelova 127

10.5 summary 129

10.6 related information tips 129

Chapter 1 1 Add login dialog box 130

1 1. 1 Add login dialog 130

1 1.2 Remember the login settings 136.

1 1.2. 1 basics 136

1 1.2.2 Usage preferences 139

1 1.2.3 safe storage preferences 142

1 1.3 Add automatic login preference 144.

1 1.3. 1 Create Preference Page 145.

1 1.3.2 Add operation 146

1 1.3.3 access preferences 147

1 1.3.4 preference default value 148

1 1.3.5 in the login dialog box.

Preference 149

1 1.4 summary 149

1 1.5 related information tips 150

Chapter 12 adds shortcut key binding 15 1

12. 1 define command 15 1

12.2 checkpoint 155

12.3 Add the key binding of workbench action 156.

12.4 key scheme 157

12.5 key preference page 158

12.6 summary 159

12.7 related information tips 159

Chapter 13 Add Help 160

13. 1 Add to target platform 160

13. 1. 1 get plug-in 160.

13. 1.2 Add plug-in 16 1

13.2 Configuration Help Plug-in 162

13.3 Add help operation 162

13.4 Add Help Content 163

13.5 help content structure 166

13.6 infopops or f 1 help 167

13.7 Export the plug-in with the help of 168.

13.8 summary 169

13.9 related information tips 169

Chapter 14 added software management 170.

14. 1 gives p2 170.

14.2 function 17 1

Use 14.2. 1 function 17 1

What is a function? 17 1

14.3 Definition function 174

14.4 brand function 177

14.5 update hyperbola 179

14.6 Customize p2 user interface 180

14.7 define categories 18 1

14.8 automatic update 182

14.9 summary 183

14. 10 related information tips 183

The third part of the workbench

Chapter 15 workbench consultant 187

15. 1 workbench consultant 187

15.2 workbench consultant

15. 2. 1 life cycle api 19 1

15.2.2 exception and idle api 194

15.2.3 configuration api 196

15.3 workbench window consultant 196

15.4 let's do it, consultant 198

15.5 workbench 199 overview

15.5. 1 workbench extension point reference 200

Action 20 1

15.5.3 Extensibility 202

15.5.4 *** Enjoy 202

15.5.5 perspective view 203

Start 204

15.6 summary 204

15.7 related information tips 204

Chapter 16 perspective, perspective and editing 205

16. 1 perspective view 206

16. 1. 1 Add perspective view 206

16. 1.2 Add debugging perspective view and console view 208

16.1.3 ipagelayout reference 2 10

16. 1.4 perspective column 2 12

16. 1.5 perspective menu 2 13

16. 1.6 programmable perspective control 2 14

16.2 View and Edit 2 16

16. 2. 1 Multiple instances of the same view

16.2.2 Viscosity View 2 18

16.2.3 Display * * Enjoy View 2 19

16.2.4 View the registry 2 19

16.2.5 Connecting components together 220

16.3 Multiple workbench windows 223

16.4 Drag and drop 224 in the editor

16.5 summary 227

16.6 related information tips 227

Chapter 17 Action 228

17. 1 overview 228

17.2 hyperbolic declaration action 230

Operation 230 declared by 17.2. 1

17.2.2 Allow * * to enjoy 23 1.

Declare action 233

17.2.4 Context Menu 236

17.3 standard workbench activity 238

17.4 Redirectable Action 239

17.5 consolidated declaration action 24 1

17.6 Toolbar Action Skills 242

17.6. 1 Display image and text 242

Add control 243 to the toolbar

17.7 added * * * Enjoy 245 in the status bar.

17.8 reporting progress 246

17.8. 1 modeless progress 248

17.8.2 progress view 249

17.8.3 User-defined progress 250

17.8.4 Write progress provider 25 1

17.9 summary 252

Chapter 18 command 253

18. 1 action question 253

18.2 command 254

18.3 *** Enjoy 255

18.3. 1 Menu * * * Enjoy 255

18.3.2 standard workbench * * * enjoys 258

18.3.3 * * Enjoy visibility 260

18.4 handler 260

18.5 Summary 262

18.6 related information tips 262

Chapter 19 Customize the workbench window 263

19. 1 restricted customization 263

19.2 Customize the workbench window 264

19. 2. 1 example: hide and show 266

19.2.2 Table Layout 266

Hide toolbar 268

19.2.4 Add Switch Action 269

19.2.5 Quick Search Panel 270

19.2.6 Checkpoint 27 1

19.3 custom window shape 272

19. 3. 1 Create Shape273

19.3.2 Create Window 274

19.3.3 Define window contents 276

19.4 summary 277

19.5 related information tips 277

Chapter 20 Customize the appearance of views and editors 278

20. 1 Appearance 278

20.2 Example of Appearance 279

Appearance 280

20.2.2 Appearance Example 280

20.3 Writing Appearance 280

20.3. 1 component hierarchy 282

Stack representation 282

20.4 Appearance Example 283

20.4. 1 appearance factory 284

20.4.2 Stacking Appearance 285

Size and location 288

20.4.4 Adding, Selecting and Deleting Components 289

20.4.5 Menu 29 1

20.5 Summary 29 1

20.6 Relevant information tips 292

The fourth part leaves the process

Chapter 2 1 Installation and Update of p2 295

The function of 2 1. 1 p2 295

2 1.2 framework 296

2 1.2. 1 installable unit 296

2 1.2.2 Workpiece 297

2 1.2.3 database 298

2 1.2.4 configuration file 298

2 1.2.5 Director 298

2 1.2.6 engine 298

2 1.3 uses p2 api 299.

2 1.3. 1 Add Database299

2 1.3.2 loading database 299

2 1.3.3 search database 300

2 1.3.4 Implement the supply plan 30 1

2 1.4 yuan data management 302

2 1.4. 1 publishing metadata 302

2 1.4.2 custom metadata 303

2 1.4.3 contact point description 303

2 1.5 database management 306

2 1.5. 1 mirror database 306

2 1.5.2 comprehensive database 306

2 1.5.3 Content Classification 306

2 1.6 installation management 307

2 1.7 Summary 307

2 1.8 related information tips 308

Chapter 22 Dynamic Plug-ins 309

22. 1 make hyperbola dynamic 309

22.2 Dynamic Challenge 3 10

22.3 dynamic consciousness 3 10

22.3. 1 dynamic expansion scheme 3 1 1

22.3.2 Object Handling 3 17

Federal listener 3 18

22.4 Dynamic Enabling 3 19

22.5 Summary 32 1

22.6 Relevant information prompt 32 1

Chapter 23 rcp is everywhere 322

23. 1 sample code 322

23.2 Scheme 322

23.3 Product Configuration 323

23.3. 1 Reconstruction hyperbola 324

Hyperbolic project 326

Project naming 327

23.3.4 Why are there so many projects 327

23.4 Hyperbolic Product Configuration 328

23.4. 1 jface configuration 329

23.4.2 pda configuration 330

23.4.3 Extended Configuration 330

23.4.4 Workbench configuration 33 1

23.4.5 Hyperbolic Pavilion 333

23.5 Source Code Structure 334

Hyperbolic hierarchy 334

23.5.2 Worktable * * * Enjoy 335

Commands and actions 336

23.5.4 Key Binding 337

Viewer and Editor 337

23.5.6 Wizards, Preferences and Property Pages 338

Optional related items 338

23.5.8 Icons and images 339

23.6 Design a platform 340

23.6. 1 extension point 340

23.6.2 Expansion of the factory

23.6.3 Naming and Anonymous Extension343

23.7 rcp friendly plug-in 343

23.8 Summary 344

23.9 Relevant information tips 344

Chapter 24 Generate hyperbola 345

24. 1 what is pde build 345?

24.2 Plug-in build. Attribute 346

24.2. 1 control properties 347

24.2.2 Using custom build scripts 348

24.3 generator 348

Adjust the objectives of pde build 349.

Build. Attribute 349

24.4 Run the generator 353

24.5 Adjustment Generation 356

24.5. 1 User-defined generation script 356

24.5.2 Database and other related projects 357

24.5.3 Retrieval from Supply Chain Management System 357

24.5.4 Retrieval Mapping 359

24.5.5 Automatic replacement of version number 359

24.5.6 Qualified version number 360

24.5.7 Identify and place the root file 36 1

24.6 Generate additional functions 362

24.6. 1 Set a function generator 362.

Build. Attribute 363

24.6.3 Operation Function Generation 364

24.7 Installing Multiple Configurations 365

What is 24.7. 1 sdk 365?

24.7.2 Generate sdk Function 366

24.7.3 Collecting multiple configurations at the same time 366

24.8 Summary 367

Chapter 25 Test 369

25. 1 make hyperbola testable 369

25.2 Unit test hyperbola 370

25.2. 1 test strategy 370

25.2.2 Writing Test Cases 370

25.2.3 Run the test sample 37 1

25.3 User interface testing 37 1

25.3. 1 switch 37 1

Test strategy 372

25.3.3 Writing test sample 372

25.3.4 Operation Test Example 373

25.4 Summary 374

25.5 Relevant information tips 374

Chapter 26 The last mile 375

26. 1 file 375

26.2 Local Installer 376

26.3 p2 installer 376

26.4 java web start(jnlp) 377

26.4. Working principle of1javawebstart 377

Hyperbola and java web star378

Cane signature 380

26.4.4 Export 380 for java web star.

26.4.5 Generate jnlp Listing 38 1

26.4.6 java web start and p2 382

26.5 Initializing Installation 382

26.6 Pre-initialization Configuration 383

26.7 Multi-user Installation Scheme 383

26.7.1* * Enjoy the installation 384

26.7.2 Binding Pool 385

26.8 Summary 387

26.9 Relevant information tips 387

Part V Reference

Chapter 27 osgi 39 1

Osgi and eclipse Runtime 39 1

27.2 Forms of plug-ins 393

27.3 fragment 395

27.4 version number 398

27.5 Service 399

27.6 tube bundle life cycle 400

27.6. 1 bundleactivator 402

27.6.2 Negative Effects of Activation Procedure 402

27.6.3 Use activation program 403

27.7 Early activation 404

27.7. 1 early activation extension 405

osgi.bundles 405

27.7.3 Startup Level 406

27.8 inert activation 406

27.9 Data area 407

27. 10 Summary 4 10

27. 1 1 related information tips 4 10

Chapter 28 eclipse Data Binding 4 1 1

28. 1 kaisi411

28.2 why data binding 4 12

28.3 Building 4 12

28.4 Observation Quantity 4 13

28.4. 1

28. 4. 2 beans Table 4 14

28.4.3 Observable Software 4 15

28.4.4 Observable 4 16 by Viewer

28.4.5 Observed value of master details 4 16

Table observation value 4 16

Field 4 17

28.5 Attribute 4 17

28. 5. 1 POJO attribute 4 17

28.5.2 beanproperties 4 18

widgetproperties 4 18

Workbench Attribute 4 19

28.6 binding 4 19

28.6. 1 transformation 42 1

Verification 422

28.6.3 Support Level 423

28.7 Summary 423

28.8 Relevant information tips 423

Chapter 29 Eclipse ecosystem 424

29. 1 Where can I find the plug-in 424?

29.2 eclipse Platform Plug-in 425

29.3 Product introduction 426

29.4 Resource Plug-ins 427

29.4. 1 Overview of key functions of resources 427

Start resource 428

29.4.3 Resources in Workbench 428

29.5 text editing 429

29.5. 1 text plug-in 429

29.5.2 Editing and Editing 430

29.5.3 Text and Text Style 430

29.5.4 Identity Document 43 1

29.5.5 Text Viewer and Text Editor 43 1

What is missing? 432

29.6 console 432

29.7 variables 433

29.8 Outline and Attribute View Plug-in 434

29.9 Form 434

29. 10 browser 435

29. 1 1 public * * * navigation framework 435

29. 12 service plug-in 436

29. 13 summary 436