|Re: Where is the RCP source when using EMF? [message #513960 is a reply to message #513934]
||Thu, 11 February 2010 18:59
| Ed Merks
Registered: July 2009
Herb Miller wrote:
> I wanted to modify the GUI with some forms for data entry instead of
> the default property sheet, so I needed to override/change some of the
> GUI code produced by RCP.
The EEF project has nice forms. I'm not sure it works with RCP. I
imagine it should work fine there...
> Plus, I am going to need to know how to hook up the model data to the
> forms so the model can be updated correctly.
EEF would take care of that...
> I think I found the GUI hooks. The RCP translation builds a new file
> called MyAppEditorAdvisor. There seems to be a lot of GUI stuff in
> that file (Perspective, createInitialLayout, WorkbenchAdvisor,
> WindowAdvisor, etc.). I will have to figure out how to use these
> properly in order to change the GUI, correct?
Yes, to change the overall layout of the perspective.
> How hard will it be to hook up any new forms I create for the GUI to
> the model data?
If EEF isn't your thing, the data binding integration with EMF should be
useful. Tom Schindl has some very nice blogs about how to use that.
Powered by FUDForum
. Page generated in 0.04063 seconds