Welcome to Eclipse.2005.pdf

(4623 KB) Pobierz
Welcome to Eclipse
Lab User
Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.
Welcome to Eclipse
Table of Contents
Welcome to Eclipse. ...........................................................................................................................................1
Who needs a platform?. ..........................................................................................................................1
End users. .........................................................................................................................................1
Software developers. ........................................................................................................................1
The holy grail. .........................................................................................................................................1
What is Eclipse?. .....................................................................................................................................2
Open architecture .............................................................................................................................2
Platform structure. ............................................................................................................................3
Out of the box. ..................................................................................................................................4
Platform architecture .........................................................................................................................................5
Platform SDK roadmap. ..........................................................................................................................5
Runtime core. ....................................................................................................................................6
Resource managemen. .....................................................................................................................6
Workbench UI. .................................................................................................................................6
Team support. ....................................................................................................................................7
Debug support. ..................................................................................................................................7
Help System .....................................................................................................................................7
Java Development Tools (JDT). .......................................................................................................7
Plug−in Development Environment (PDE . .....................................................................................7
Team support .....................................................................................................................................................8
Repository providers. ...............................................................................................................................9
Extension poin . .................................................................................................................................9
Implementing a RepositoryProvider .................................................................................................9
Configuring a projec.. ....................................................................................................................10
Finding a provider. .........................................................................................................................11
Repository Providers and Capabilities. ...........................................................................................11
Resource modification hooks. .........................................................................................................12
Resource properties. ...............................................................................................................................13
Team Repository Provider. ..............................................................................................................................14
Identifier. ...............................................................................................................................................14
Since:. ..............................................................................................................................................14
Configuration Wizards. ....................................................................................................................................17
Identifier. ...............................................................................................................................................17
Description:. ....................................................................................................................................17
Resource modification hooks. ...............................................................................................................19
Resource move/delete hooks. .........................................................................................................19
File modification validators. ...........................................................................................................19
General team hook.. .........................................................................................................................19
Move/Delete Hook. ............................................................................................................................................21
Identifier. ...............................................................................................................................................21
Since:. ..............................................................................................................................................21
i
1167171106.119.png 1167171106.130.png 1167171106.141.png 1167171106.151.png 1167171106.001.png 1167171106.012.png 1167171106.023.png 1167171106.033.png 1167171106.044.png 1167171106.055.png 1167171106.066.png 1167171106.077.png 1167171106.078.png 1167171106.079.png 1167171106.080.png 1167171106.081.png 1167171106.082.png 1167171106.083.png 1167171106.084.png 1167171106.085.png 1167171106.086.png 1167171106.087.png 1167171106.088.png 1167171106.089.png 1167171106.090.png 1167171106.091.png 1167171106.092.png 1167171106.093.png 1167171106.094.png 1167171106.095.png 1167171106.096.png 1167171106.097.png 1167171106.098.png 1167171106.099.png 1167171106.100.png 1167171106.101.png 1167171106.102.png 1167171106.103.png 1167171106.104.png 1167171106.105.png
 
Welcome to Eclipse
Table of Contents
Team Hook ........................................................................................................................................................23
Identifier. ...............................................................................................................................................23
Since:. ..............................................................................................................................................23
Scheduling rules. ............................................................................................................................24
Making your own rules. ...................................................................................................................26
Rule hierarchies. ..............................................................................................................................27
Batching resource changes. ............................................................................................................28
Repository resource management. .........................................................................................................30
Ignored files. ....................................................................................................................................30
File Types. .......................................................................................................................................31
Team and linked resources. .............................................................................................................32
Team private resources. ...................................................................................................................34
Project sets. ......................................................................................................................................34
Ignore. ................................................................................................................................................................37
Identifier. ...............................................................................................................................................37
Since:. ..............................................................................................................................................37
File Types. ..........................................................................................................................................................39
Identifier. ...............................................................................................................................................39
Since:. ..............................................................................................................................................39
Linked resources. ...................................................................................................................................40
Path variables. .................................................................................................................................40
Broken links. ...................................................................................................................................41
Compatibility with installed plug−ins. ............................................................................................41
Linked resources in code. ................................................................................................................42
Project natures. ......................................................................................................................................43
Defining a nature. ...........................................................................................................................43
Associating the nature with a project. ............................................................................................44
Nature descriptors. ...........................................................................................................................45
Project Natures. .................................................................................................................................................46
Identifier. ...............................................................................................................................................46
Description:. ....................................................................................................................................46
Project Sets. .......................................................................................................................................................52
Identifier. ...............................................................................................................................................52
Since:. ..............................................................................................................................................52
Synchronization Suppor. .......................................................................................................................53
Terminology. ...................................................................................................................................53
The Basics − SyncInfo. ...................................................................................................................54
Managing the synchronization state. ...............................................................................................55
Displaying the synchronizations state in the UI. .............................................................................56
Synchronize Participant Creation Wizards. ...................................................................................................58
Identifier. ...............................................................................................................................................58
Since:. ..............................................................................................................................................58
Local History Example. .........................................................................................................................60
ii
1167171106.106.png 1167171106.107.png 1167171106.108.png 1167171106.109.png 1167171106.110.png 1167171106.111.png 1167171106.112.png 1167171106.113.png 1167171106.114.png 1167171106.115.png 1167171106.116.png 1167171106.117.png 1167171106.118.png 1167171106.120.png 1167171106.121.png 1167171106.122.png 1167171106.123.png 1167171106.124.png 1167171106.125.png 1167171106.126.png 1167171106.127.png 1167171106.128.png 1167171106.129.png 1167171106.131.png 1167171106.132.png 1167171106.133.png 1167171106.134.png 1167171106.135.png 1167171106.136.png 1167171106.137.png 1167171106.138.png 1167171106.139.png 1167171106.140.png 1167171106.142.png 1167171106.143.png 1167171106.144.png 1167171106.145.png 1167171106.146.png 1167171106.147.png 1167171106.148.png 1167171106.149.png 1167171106.150.png
 
Welcome to Eclipse
Table of Contents
Defining the variants for local history. ............................................................................................61
Creating the Subscriber. ..................................................................................................................63
Adding a Local History Synchronize Participan. ...........................................................................64
Conclusion. ......................................................................................................................................66
Beyond the Basics. .................................................................................................................................66
Implementing a Subscriber From Scratch. ......................................................................................66
ThreeWaySubscriber. ......................................................................................................................66
ThreeWaySynchronizer. ..................................................................................................................67
ThreeWayRemoteTree. ...................................................................................................................67
CachedResourceVariant. .................................................................................................................67
Building on Top of Existing Workspace Synchronization. .............................................................67
Program debug and launch support. .............................................................................................................69
Plugging in help. ...............................................................................................................................................70
Table of Contents (TOC). .................................................................................................................................71
Identifier. ...............................................................................................................................................71
Description:. ....................................................................................................................................71
Plug it in: Hello World meets the workbench. ..............................................................................................77
A minimal plug−in. ...............................................................................................................................77
Hello world view. ...........................................................................................................................78
Creating the plug−in project. ................................................................................................................78
Creating your plug−in project. ........................................................................................................78
The Hello World view. .........................................................................................................................79
The Hello World manifests. ...................................................................................................................80
Running the plug−in. ............................................................................................................................81
Launching the workbench. ..............................................................................................................81
Running Hello World. .....................................................................................................................81
Views. .................................................................................................................................................................84
Identifier. ...............................................................................................................................................84
Description:. ....................................................................................................................................84
Beyond the basics. ................................................................................................................................88
Basic workbench extension points. .......................................................................................................88
Installing the examples. ...................................................................................................................................90
Installing examples via the Update Manager. .......................................................................................90
Installing examples manually. ........................................................................................................90
Example − Readme Tool. .....................................................................................................................90
Introduction. ...................................................................................................................................90
Running the example. .....................................................................................................................91
Details. ............................................................................................................................................92
Workbench menu contributions. ...........................................................................................................93
iii
1167171106.152.png 1167171106.153.png 1167171106.154.png 1167171106.155.png 1167171106.156.png 1167171106.157.png 1167171106.158.png 1167171106.159.png 1167171106.160.png 1167171106.161.png 1167171106.002.png 1167171106.003.png 1167171106.004.png 1167171106.005.png 1167171106.006.png 1167171106.007.png 1167171106.008.png 1167171106.009.png 1167171106.010.png 1167171106.011.png 1167171106.013.png 1167171106.014.png 1167171106.015.png 1167171106.016.png 1167171106.017.png 1167171106.018.png 1167171106.019.png 1167171106.020.png 1167171106.021.png 1167171106.022.png 1167171106.024.png 1167171106.025.png 1167171106.026.png 1167171106.027.png 1167171106.028.png 1167171106.029.png 1167171106.030.png 1167171106.031.png 1167171106.032.png
 
Welcome to Eclipse
Table of Contents
Advanced workbench concepts. ......................................................................................................................95
Plugging into the workbench. .........................................................................................................................96
Quick tour of the workbench. ...............................................................................................................96
Views. .............................................................................................................................................97
Editors. ...........................................................................................................................................97
The JFace UI framework. ................................................................................................................................98
JFace and the workbench. .....................................................................................................................98
JFace and SWT. .....................................................................................................................................98
The Standard Widget Toolkit. .........................................................................................................................99
Portability and platform integration. ......................................................................................................99
Resources overview. .......................................................................................................................................100
Resources and the workspace. ............................................................................................................100
A sample resource tree. ................................................................................................................101
Resources and the local file system. ...................................................................................................101
Our sample tree on disk. ...............................................................................................................102
Our sample tree in code. ...............................................................................................................102
Mapping resources to disk locations. ..........................................................................................104
Resource API and the file system.. ...............................................................................................104
Auto−refresh providers. .................................................................................................................................106
Identifier. .............................................................................................................................................106
Since:. ............................................................................................................................................106
Refresh providers. ...............................................................................................................................107
Project−scoped preferences. ...............................................................................................................108
Specifying the scope.. ....................................................................................................................108
Project−scoped preference nodes. .................................................................................................108
Runtime preferences. ..........................................................................................................................109
Preference scopes. ........................................................................................................................109
Using scopes and nodes. ...............................................................................................................110
Extending the scopes. ...................................................................................................................111
Products and features. ..........................................................................................................................111
Products extension point. ..............................................................................................................112
Products. ..........................................................................................................................................................114
Identifier. .............................................................................................................................................114
Since:. ............................................................................................................................................114
Applications. ....................................................................................................................................................119
Identifier. .............................................................................................................................................119
Description:. ..................................................................................................................................119
Customizing a produc. ..................................................................................................................121
About dialogs. ...............................................................................................................................121
Window images. ............................................................................................................................122
Welcome page. ..............................................................................................................................122
iv
1167171106.034.png 1167171106.035.png 1167171106.036.png 1167171106.037.png 1167171106.038.png 1167171106.039.png 1167171106.040.png 1167171106.041.png 1167171106.042.png 1167171106.043.png 1167171106.045.png 1167171106.046.png 1167171106.047.png 1167171106.048.png 1167171106.049.png 1167171106.050.png 1167171106.051.png 1167171106.052.png 1167171106.053.png 1167171106.054.png 1167171106.056.png 1167171106.057.png 1167171106.058.png 1167171106.059.png 1167171106.060.png 1167171106.061.png 1167171106.062.png 1167171106.063.png 1167171106.064.png 1167171106.065.png 1167171106.067.png 1167171106.068.png 1167171106.069.png 1167171106.070.png 1167171106.071.png 1167171106.072.png 1167171106.073.png 1167171106.074.png 1167171106.075.png 1167171106.076.png
 
Zgłoś jeśli naruszono regulamin