Difference between revisions of "Tutorial: Model Development"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
== Step 1: Customize Model Browser == | == Step 1: Customize Model Browser == | ||
+ | To customize the model browser for the movie production case, we cannot directly use the existing view added to the perspective in the previous part of the tutorial. We need to create a new ''view'' extension to parametrize the view properly. | ||
+ | |||
+ | Lets add the new view extension. | ||
+ | * Open '''com.acme.movie.ui''' / '''META-INF/MANIFEST.MF''' >> '''Extensions''' | ||
+ | * Add a new extension, org.eclipse.ui.views | ||
+ | * A node will appear, select it, right click new >> view. Select it. | ||
== Step 2: Add Context Menu Actions for Model Browser == | == Step 2: Add Context Menu Actions for Model Browser == |
Revision as of 12:45, 20 October 2010
In this part of the tutorial we will focus on implementing the basic functionality for the following parts of the UI:
- Model Browser for modelling movie production cases
- Basic context menu actions for the browser
- Add > Movie Project
- Add > Casting Plan
- Add > Role
- Basic context menu actions for the browser
- Property View for editing properties of model entities
- Movie Database Library for searching available movies, actors, directors, etc.
Step 1: Customize Model Browser
To customize the model browser for the movie production case, we cannot directly use the existing view added to the perspective in the previous part of the tutorial. We need to create a new view extension to parametrize the view properly.
Lets add the new view extension.
- Open com.acme.movie.ui / META-INF/MANIFEST.MF >> Extensions
- Add a new extension, org.eclipse.ui.views
- A node will appear, select it, right click new >> view. Select it.