没有合适的资源?快使用搜索试试~ 我知道了~
Eclipse-4-RCP-教程1
需积分: 0 0 下载量 197 浏览量
2022-08-08
22:37:12
上传
评论
收藏 2.97MB DOCX 举报
温馨提示
试读
150页
1.2. The Eclipse Platform project 1.3. What is the Eclipse e4 project 1.4. Provi
资源详情
资源评论
资源推荐
Eclipse 4 RCP - Tutorial
Building Eclipse RCP applications based on Eclipse 4
Lars Vogel
Version 6.7
Copyright © 2009 , 2010 , 2011 , 2012 Lars Vogel
05.11.2012
Revision History
Revision 0.1
14.02.2009
Lars
Vogel
created
Revision 0.2 - 6.7
16.02.2009 - 05.11.2012
Lars
Vogel
bug fixes and enhancements
Eclipse e4
This tutorial gives an overview about the Eclipse 4 application platform.
This tutorial describes the creation of Eclipse 4 based applications, e.g. Eclipse RCP applications. It describes the
modeled application concept and the new programming model which is based on annotations and dependency
injection.
Table of Contents
1. Eclipse 4
1.1. What is Eclipse 4?
1.2. The Eclipse Platform project
1.3. What is the Eclipse e4 project?
1.4. Provisional API
2. The Architecture of Eclipse
2.1. Eclipse based applications
2.2. Terminology
2.3. Important configuration files
3. Tutorial: Install Eclipse 4.2 for RCP development
3.1. Prerequisites
3.2. Download and Install Eclipse 4.2
3.3. Install the Eclipse 4 tooling
4. Tutorial: Eclipse 4 application using the wizard
4.1. Overview
4.2. Create project
4.3. Launch
5. Eclipse 4 application model
5.1. What is the application model?
5.2. Where is the application model defined?
5.3. How is the model connected to my Java classes?
5.4. URI in the model
5.5. Application model editor
5.6. Supplementary
5.7. Model access at runtime
5.8. Meta-model of the application model
5.9. Creation of the runtime application model
6. Supplementary model attributes
6.1. Tags
6.2. Persisted State
7. Overview of available model elements
8. Identifiers for model elements
8.1. Identifiers for model elements
8.2. Best practices for naming conventions
9. Tutorial: Create an Eclipse plug-in
9.1. Create a plug-in project
9.2. Validate the result
10. Feature project
11. Tutorial: From Plug-in to Eclipse 4 application
11.1. Create product configuration
11.2. Create a feature project
11.3. Enter feature dependencies in product
11.4. Create Application model
11.5. Add model elements to the application model
11.6. Start application
11.7. Add plug-in dependencies
12. Important user interface model elements
12.1. Windows
12.2. Parts
12.3. Perspective
12.4. PartStacks and PartSashContainers
13. Configure the deletion of persisted model data
14. Tutorial: Modeling a User Interface
14.1. Create modeled user interface
14.2. Adding model elements
14.3. Create Java classes and connect to the model
14.4. Test
14.5. Layout
15. Dependency Injection and Annotations
15.1. What is Dependency Injection?
15.2. Define dependencies in Eclipse
15.3. Dependency injection in Eclipse 4
16. Scope of injection
16.1. What can be injected?
16.2. Key/values pairs and Context Variables
16.3. How are objects searched?
16.4. What are the relevant classes and interfaces
16.5. Who creates the context for model elements?
17. Behavior Annotations
17.1. API definition via inheritance
17.2. API definition via annotations
17.3. Lifecycle Hooks
18. Tutorial: Using dependency injection
18.1. Getting a Composite
18.2. Validation
19. Exercise: Define Part Lifecycle
19.1. Overview
19.2. Using @PostConstruct and @PreDestroy
19.3. @Focus
19.4. Validate
20. Commands, Handlers, Menus, Toolbars and Popups
20.1. Overview
20.2. Default commands
20.3. Menus and Toolbar
20.4. View Menus
20.5. Popup Menu - Context Menu
20.6. Scope of handlers
20.7. Several methods with @Execute
20.8. Passing parameters to commands
20.9. Core expressions
20.10. Evaluate your own values in Core expressions
20.11. Naming schema for command and handler IDs
21. Tutorial: Defining and using Commands and Handlers
21.1. Overview
21.2. Defining Commands
21.3. Defining Handler classes
21.4. Defining Handlers in your model
21.5. Adding a Menu
21.6. Adding a Toolbar
21.7. Closing the application
21.8. Simulate save
22. Key bindings
22.1. Overview
22.2. BindingContext entries using by JFace
22.3. Define Shortcuts
22.4. Key Bindings for a Part
22.5. Activating Bindings
22.6. Issues with Keybinding
23. Application model modifications at runtime
23.1. Creating model elements
23.2. Modifying existing model elements
24. Example for changing the application model
24.1. Example: Dynamically create a new Window
24.2. Example: Dynamically create a new Part
25. Model Addons
25.1. Overview
25.2. Framework Addons
25.3. Additional SWT addons
25.4. Relationship to other services
26. Accessing and extending the Eclipse Context
26.1. Accessing the context
26.2. OSGi services
26.3. Objects and Context Variables
26.4. Model Addons
26.5. RunAndTrack
26.6. Context Functions
27. Using dependency injection for your own Java objects
27.1. Overview
27.2. Using dependency injection to get your own objects
27.3. Using dependency injection to create objects
28. Relevant tags in the application model
29. Eclipse 4 Best Practice
29.1. Extending the Eclipse Context
29.2. Application communication
29.3. Static vs. dynamic application model
剩余149页未读,继续阅读
xhmoon
- 粉丝: 15
- 资源: 329
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0