-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrcp_020_model.yaml
More file actions
58 lines (57 loc) · 3.21 KB
/
rcp_020_model.yaml
File metadata and controls
58 lines (57 loc) · 3.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
categoryId: 1722 # CATEGORY NAME
name: Application model
questions:
- description: What is the application model?
choices:
- The application model describes the possible elements of your RCP application, e.g., the number of windows and views
- The application model contains the application elements and their state for your application, e.g., the current number of windows and views, it is updated at runtime
- The application model contains the static application elements for your application, e.g., the current number of windows and views, it is defined at development time
-
hint:
explanation: The application model defines the current status of your application at runtime, it is based on your application model definition but updated at runtime and can be queried and adjusted at runtime via API.
correctChoice: 1
- description: Which element is needed in your application model to prevent the runtime to shutdown your application?
choices:
- At least one part
- At least one window
- At least one menu
-
hint:
explanation: The runtime shutdowns the Eclipse application if the last window is closed (or if none is opened).
correctChoice: 1
- description: The application model...
choices:
- is updated at runtime via the user actions or via API calls and its latest state to stored and restored if the application starts again
- is statically defines as a file by the developer
- is updated at runtime via the user actions and its latest state to stored and restored if the application starts again
-
hint:
explanation:
correctChoice: 0
- description: What is the main purpose of the Eclipse application model?
choices:
- To define the class hierarchy for Eclipse plug-ins
- To configure the build process of the Eclipse product
- To describe and control the structure and behavior of the UI and core services of the application
- To define the list of available plug-ins and features
hint: The model is used at both design-time and runtime to manage the application’s UI structure.
explanation: The application model represents the structure and behavior of the application’s UI, including windows, parts, menus, and handlers.
correctChoice: 2
- description: What is a Part in the Eclipse application model?
choices:
- A part defines a handler for keyboard shortcuts
- A part represents a UI element, typically used for displaying or editing content
- A part is used to group several plug-ins into a UI container
- A part defines a command parameter in the command framework
hint: Think of editors and views.
explanation: Parts are key UI components in Eclipse RCP applications, used for content display like views or editors.
correctChoice: 1
- description: Which of the following is NOT an element of the Eclipse application model?
choices:
- Perspective
- Command
- Extension point
- Part
hint: One of these elements is not part of the model but of the traditional plug-in mechanism.
explanation: Extension points belong to the OSGi-based plug-in infrastructure, not to the application model.
correctChoice: 2