org.eclipse.platform.doc.user.M20040916.pdf
(
4209 KB
)
Pobierz
Basic tutorial
OTI Employee
Basic tutorial
Table of Contents
Workbench User Guide......................................................................................................................................1
GettingStarted.....................................................................................................................................................2
Basic tutorial......................................................................................................................................................4
.
Notices....................................................................................................................................................4
About This Content...............................................................................................................................................4
License.....................................................................................................................................................4
Contributions...........................................................................................................................................4
The Workbench....................................................................................................................................................4
Editors and views.................................................................................................................................................5
Editors.....................................................................................................................................................7
Views......................................................................................................................................................9
A simple project.................................................................................................................................................11
Using the File menu..............................................................................................................................12
Using the popup.....................................................................................................................................14
Using the New button...........................................................................................................................15
Closing an editor................................................................................................................................................17
Navigating resources..........................................................................................................................................18
Opening resources in the Navigator
......................................................................................................18
Go To.....................................................................................................................................................19
Go Into .................................................................................................................................................20
Show me the files................................................................................................................................................20
Exporting files....................................................................................................................................................21
Drag and drop or copy and paste..........................................................................................................21
Export wizard........................................................................................................................................21
Importing files....................................................................................................................................................23
Drag and drop or copy and paste..........................................................................................................24
Import wizard........................................................................................................................................24
Deleting resources..............................................................................................................................................27
Working with other editors................................................................................................................................28
External editors.....................................................................................................................................28
Embedded editors
..................................................................................................................................29
Editing files outside the Workbench.....................................................................................................29
Copying, renaming and moving.........................................................................................................................30
Copying.................................................................................................................................................30
Renaming..............................................................................................................................................31
Moving..................................................................................................................................................31
Searching
.............................................................................................................................................................33
Starting a search.....................................................................................................................................33
The Search view....................................................................................................................................35
Tasks and markers
..............................................................................................................................................36
Unassociated tasks.................................................................................................................................37
Associated tasks....................................................................................................................................37
Opening files..........................................................................................................................................38
Bookmarks.........................................................................................................................................................39
Adding and viewing bookmarks............................................................................................................39
Using bookmarks..................................................................................................................................40
i
Basic tutorial
Table of Contents
Basic tutorial
Removing bookmarks...........................................................................................................................41
Rearranging views and editors...........................................................................................................................41
Drop cursors..........................................................................................................................................42
Rearranging views................................................................................................................................43
Tiling editors.........................................................................................................................................43
Rearranging tabbed views.....................................................................................................................44
Maximizing............................................................................................................................................45
Fast views
...........................................................................................................................................................45
Creating fast views
................................................................................................................................45
Working with fast views.......................................................................................................................46
Perspectives
........................................................................................................................................................47
New perspectives..................................................................................................................................48
New windows
........................................................................................................................................50
Saving perspectives
................................................................................................................................50
Configuring perspectives.......................................................................................................................52
Comparing
..........................................................................................................................................................53
Simple compare....................................................................................................................................54
Understanding the comparison.............................................................................................................55
Working with the comparison
...............................................................................................................56
Local history......................................................................................................................................................58
Responsive UI...................................................................................................................................................60
Exiting the Workbench.........................................................................................................................62
Team CVS tutorial...........................................................................................................................................63
Setting up a CVS repository.................................................................................................................63
Starting offline.......................................................................................................................................63
Sharing the project................................................................................................................................64
Specifying a repository location.....................................................................................................64
Repository locations........................................................................................................................66
Synchronizing a project..................................................................................................................66
Working with another user...................................................................................................................69
.
Checking out a project ...................................................................................................................70
.
Another user making changes........................................................................................................73
Making our own changes...............................................................................................................75
Working with conflicting changes..................................................................................................77
Replacing........................................................................................................................................79
Versioning a project.......................................................................................................................80
A quick review...............................................................................................................................80
Ant & external tools tutorial............................................................................................................................82
Eclipse Ant basics..................................................................................................................................82
Creating Ant buildfiles....................................................................................................................82
Editing Ant buildfiles......................................................................................................................82
Running Ant buildfiles....................................................................................................................84
Saving & Reusing Ant options........................................................................................................85
Using the Ant view..........................................................................................................................87
ii
Basic tutorial
Table of Contents
Ant & external tools tutorial
Use cases for Ant in Eclipse..................................................................................................................88
Deploying Eclipse plug−ins............................................................................................................88
Creating a HelloWorld plug−in.......................................................................................................88
Generating the build.xml file
...........................................................................................................89
Building a .jar file for the plug−in
...................................................................................................89
More plug−in deployment options..................................................................................................90
Ant buildfiles as project builders
.....................................................................................................92
Creating a project builder Ant buildfile..........................................................................................92
Executing project builders...............................................................................................................96
External tools.........................................................................................................................................97
Non−Ant project builders................................................................................................................97
Stand−alone external tools..............................................................................................................99
Concepts...........................................................................................................................................................101
Workbench......................................................................................................................................................102
Features...........................................................................................................................................................103
Inspecting the current configuration............................................................................................................105
Installing new features with the update manager........................................................................................106
Updating features with the update manager................................................................................................108
Configuration operations: enable, disable, or uninstall a feature..............................................................109
Eclipse Update Policy Control.......................................................................................................................110
2. Update policy to the rescue..............................................................................................................110
2.1 Support for creating local (proxy) update sites.......................................................................110
2.2 Common update policy control...............................................................................................110
2.3 Automatic discovery of updates..............................................................................................112
3. Summary..........................................................................................................................................112
Scheduling options........................................................................................................................113
Downloading options....................................................................................................................113
Automatic Update Scheduler.........................................................................................................................113
Restoring a saved configuration....................................................................................................................115
Resources........................................................................................................................................................116
Linked resources.............................................................................................................................................117
Navigator view................................................................................................................................................118
Toolbar................................................................................................................................................118
Icons....................................................................................................................................................118
iii
Basic tutorial
Table of Contents
Views...............................................................................................................................................................120
Perspectives....................................................................................................................................................121
Editors.............................................................................................................................................................122
External editors..............................................................................................................................................124
Opening files for editing.................................................................................................................................125
Associating editors with file types.................................................................................................................126
Editing files outside the Workbench.............................................................................................................127
Linking the Navigator view to the active editor...........................................................................................128
Tiling editors
....................................................................................................................................................129
Changing the placement of the tabs..............................................................................................................130
Comparing resources......................................................................................................................................131
Synchronizing with a CVS repository..........................................................................................................133
Team programming with CVS......................................................................................................................134
Branches
...............................................................................................................................................134
Sharing work........................................................................................................................................134
Optimistic team model.........................................................................................................................134
Recommended work flow....................................................................................................................135
Ideal flow enumerated...................................................................................................................135
CVS Repositories............................................................................................................................................137
Branches
...........................................................................................................................................................138
Creating a CVS repository location..............................................................................................................139
Discarding a CVS repository location...........................................................................................................141
CVS
..................................................................................................................................................................142
CVS Repositories view...................................................................................................................................143
Toolbar.................................................................................................................................................143
Go Home.......................................................................................................................................143
Go Back........................................................................................................................................143
Go Into
..........................................................................................................................................144
Refresh View................................................................................................................................144
Collapse All...................................................................................................................................144
iv
Plik z chomika:
Kot_Maciek
Inne pliki z tego folderu:
org.eclipse.jdt.doc.user.M20040916.pdf
(4152 KB)
org.eclipse.platform.doc.user.M20040916.pdf
(4209 KB)
org.eclipse.jdt.doc.isv.M20040916.pdf
(537 KB)
org.eclipse.pde.doc.user.M20040916.pdf
(835 KB)
org.eclipse.platform.doc.isv.M20040916.pdf
(3521 KB)
Inne foldery tego chomika:
Eclipse SDK
Examples
Zgłoś jeśli
naruszono regulamin