Developing Data Centric RCP Applications Part III – The Model
7. March 2008
If we want to provide a data structure, we need to create
- a meta model using the EMF
- an extension point schema.
Data Structure
After taking a closer look at the data structure, you may want to classify them as follows:
- Core data (PDF files)
- Core meta data (meta data describing a PDF file)
- Data generated by users
Then there is the data needed internally for configuration purposes, such as available update sites, locally installed data vs. data to be accessed online etc.
Thus, the model generated with the EMF is divided up into three logical parts:
- Application-specific data model
- Data model for handling content structures
- Meta data model


After generating the corresponding classes, you can go on to define the extension points which describe a specific data unit.. This data will be not be editable later and will be distributed via an update server.Note that even at this early stage you are able to generate content units based on PDE tooling. The advantage is that very early on in the process you can generate productive data, and this does not necessarily require the expert knowledge of a programmer.Furthermore, you can flexibly respond to changing data structures.
EMF Edit
In addition, the EMF Edit framework offers adapters that enable developers to represent the generated data model in an Eclipse application. This saves having to implement Jface Viewers, which means enormous time savings compared with the traditional approach to Viewer generation.
Application status
At this point we have an application which allows us to browse the information units registered as extension points.


Outlook
In the next sequel we will focus on how to use functionalities which is shipped with the IDE plugins of Eclipse, and how to use several functionalities under the hood; so the next articles become more code orientated.


[…] As already mentioned in my last posting we are building an application that uses OSGi bundles to distribute information, i.e. read-only information. The requirement in most cases, however, is to be able to supplement this information. Our example application allows users to append further documents to an information unit defined by an Extension Point. These are saved to the workspace and linked to the information units using the Eclipse Adapter mechanism. […]
Pingback by rich client 2.0 » Developing Data Centric RCP Applications Part IV – Reuse of IDE features — 13. March 2008 @ 18:58
I can not find information about user (login) and can not access to this project as result.
Thank you
Comment by Siarhei Berdachuk — 23. April 2008 @ 09:40