开发工具:
文件大小: 4mb
下载次数: 0
上传时间: 2010-07-12
详细说明: 0.环境说明.................................................................... 8 1.Eclipse 简介................................................................. 9 1.1 历史背景............................................................... 9 1.2 开发原始码软件........................................................ 10 1.3 Eclipse 版本介绍...................................................... 10 1.4 跨语言、跨平台........................................................ 11 2. Eclipse Platform .......................................................... 13 2.1 概 观.................................................................. 13 2.2 架构.................................................................. 13 2.3 项目与资料夹.......................................................... 14 2.4 平台核心.............................................................. 14 2.5 工作区(workspace)..................................................... 15 2.6 工作台(workbench)..................................................... 15 2.6.1 视图(View)...................................................... 16 2.6.2 编辑器(Editor).................................................. 19 2.6.3 视景(Perspective)............................................... 22 2.7 重新排列视图和编辑器.................................................. 23 2.7.1 放置游标........................................................ 23 2.7.2 重新排列视图.................................................... 24 2.7.3 并列编辑器...................................................... 25 2.7.4 重新排列附加标签的视图.......................................... 26 2.7.5 最大化.......................................................... 27 2.8 菜单和工具列.......................................................... 28 2.8.1 菜单............................................................ 29 2.8.2 图标和按钮...................................................... 44 2.9 视景.................................................................. 49 2.9.1 新视景.......................................................... 49 2.9.2 新窗口.......................................................... 51 2.9.3 储存视景........................................................ 52 2.9.4 配置视景........................................................ 54 2.10 作业和标记........................................................... 55 2.10.1 不相关的作业................................................... 56 2.10.2 相关的作业..................................................... 56 2.10.3 开启档案....................................................... 58 2.11 书签................................................................. 58 2.11.1 新增和检视书签................................................. 59 2.11.2 使用书签....................................................... 61 2.11.3 移除书签....................................................... 61 2.12 快速视图(Fast View).................................................. 63 2.12.1 建立快速视图................................................... 63 2.12.2 使用快速视图................................................... 64 2.13 比较................................................................. 65 2.13.1 简单比较....................................................... 66 2.13.2 了解比较....................................................... 67 2.13.3 使用比较....................................................... 69 2.14 历史纪录............................................................. 71 2.15 回应 UI.............................................................. 73 3.喜好设定(Preferences) ...................................................... 76 3.1 工作台(Workbench)..................................................... 77 3.1.1 外观(Appearance)................................................ 79 3.1.2 功能(Capabilities).............................................. 80 3.1.3 颜色和字型(Colors and Fonts).................................... 82 3.1.4 比较/修正(Compare/Patch)........................................ 83 3.1.5 编辑器(Editors)................................................. 86 3.1.6 档案关联(File Associations)..................................... 87 3.1.7 按键(Keys)...................................................... 90 3.1.8 标签装饰(Label Decorations)..................................... 99 3.1.9 链接资源(Linked Resources)...................................... 99 3.1.10 历史纪录(Local History)....................................... 101 3.1.11 视景.......................................................... 102 3.1.12 搜寻(Search).................................................. 104 3.1.13 启动和关闭(Startup and Shutdown).............................. 105 3.2 Ant ................................................................. 107 3.2.1 Ant 编辑器(Ant Editor) ........................................ 107 3.2.2 Ant 执行时期(Ant Runtime) ..................................... 109 3.3 建置次序(Build Order)................................................ 112 3.4 说明(Help)........................................................... 113 3.4.1 说明服务器(Help Server)........................................ 115 3.5 自动更新(Install/Update)............................................. 116 3.6 Java ................................................................ 117 3.6.1 外观(Appearance)............................................... 118 3.6.2 类别路径变量(Classpath variables).............................. 119 3.6.3 程序代码格式制作器(Code Formatter)............................. 120 3.6.4 程序代码产生(Code generation).................................. 122 3.6.5 编译器(Compiler)............................................... 124 3.6.6 Java 编辑器(Java editor) ...................................... 131 3.6.7 JRE 安装(JRE installations) ................................... 139 3.6.8 JUnit ......................................................... 140 3.6.9 新专案(New project)............................................ 141 3.6.10 组织汇入(Organize imports).................................... 141 3.6.11「重构」喜好设定(Refactoring preferences) ..................... 142 3.6.12 作业标示(Task Tags)........................................... 143 3.7 团队(Team)........................................................... 144 3.7.1 CVS ........................................................... 145 3.7.2 忽略的资源(Ignored Resources).................................. 150 3.7.3 档案内容(File Content)......................................... 151 4. Java 程序开发............................................................. 152 4.1 建立Java 项目........................................................ 152 4.2 建立Java 类别........................................................ 154 4.3 程序代码完成功能..................................................... 156 4.3.1 Code Completion ............................................... 156 4.3.2 Code Assist ................................................... 156 4.4 执行Java 程序........................................................ 158 4.5 Java 实时运算簿页面(Java Scrapbook Page)............................. 160 4.6 自订开发环境......................................................... 167 4.6.1 程序代码格式................................................... 167 4.6.2 程序代码产生模板............................................... 169 4.6.3 Javadoc 批注................................................... 171 4.7 产生 getter 与 setter................................................ 176 4.8 建立 JAR 档案........................................................ 177 4.8.1 建立新的 JAR 档案.............................................. 177 4.8.2 设定进阶选项................................................... 179 4.8.3 定义 JAR 檔的 manifest......................................... 180 4.8.4 重新产生 JAR 檔................................................ 183 4.9.建立 Javadoc 文件................................................... 185 4.9.1 选取产生 Javadoc 用的类型...................................... 185 4.9.2 为标准 doclet 配置 Javadoc 自变量.............................. 186 4.9.3 配置 Javadoc 自变量............................................ 187 4.10 工作集(Working Sets)................................................ 188 4.10.1 新增工作集.................................................... 189 4.10.2 隐藏「导览器」视图中的档案.................................... 191 4.10.3 显示「导览器」视图中的档案.................................... 192 5.除错...................................................................... 194 5.1 错误的程序........................................................... 194 5.2 设定岔断点(Breakpoints).............................................. 195 5.3 逐步除错............................................................. 200 5.3.1 Step Into ..................................................... 200 5.3.2 Step Over ..................................................... 201 5.3.3 Step Return ................................................... 201 5.3.4 Drop to Frame ................................................. 201 5.3.5 Use Step Filters/Step Debug ................................... 201 5.4 继续执行............................................................. 203 5.5 设定岔断点的Hit Count ............................................... 205 5.6 岔断点组态设定....................................................... 212 5.7 监视点(Watchpoint)................................................... 214 5.8 方法岔断断点(Method Breakpoint)...................................... 217 5.9 异常岔断点(Exception Breakpoint)..................................... 220 5.10 Java 表示式及变更某些值............................................. 222 6.重构(Refactoring) ......................................................... 225 6.1 重新命名............................................................. 225 6.1.1 区域变量(Local Variable)....................................... 225 6.1.2 字段(Field).................................................... 227 6.1.3 方法(Method)................................................... 229 6.1.4 类别(Class)或是接口(Interface)................................. 231 6.1.5 套件(Package).................................................. 233 6.2 撷取(Extracting)..................................................... 235 6.2.1 撷取常数(Extracting a Constant)................................ 235 6.2.2 撷取区域变量(Extracting a Local Variable)...................... 239 6.2.3 撷取方法(Extracting a Method).................................. 242 6.3 列入(Inlining)....................................................... 247 6.3.1 列入常数(Inlining a Constant).................................. 248 6.3.2 列入区域变量(Inlining a Local Variable)........................ 250 6.3.3 列入方法(Inlining a Method).................................... 252 6.4 变更方法签章(Signature).............................................. 255 6.5 移动Java 元素(Moving Java Elements).................................. 258 6.5.1 字段(Field).................................................... 259 6.5.2 Static Members ................................................ 260 6.6 自行封装字段(Self Encapsulating a Field)............................. 263 7.要诀和技巧(Tips and Tricks) ............................................... 267 7.1 编辑程序文件(Editing Source)......................................... 267 ...展开收缩
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.