|
|
|
Re: Best Way to Create Custom Form Based on Selected Object in Tree [message #493798 is a reply to message #493279] |
Wed, 28 October 2009 04:02 |
Richard Catlin Messages: 50 Registered: July 2009 |
Member |
|
|
Ed,
I have found EMF to be powerful yet fairly complex. I do have to say that the framework is attainable. I have only known about Eclipse and its frameworks for less than 5 months. I have read the EMF book, the Modeling Project book, Eclipse Plugins, and BIRT.
I am fairly versed on EMF Model, Model Query, and EMF.Edit. Yet find that the RCP integration portion to EMF.Edit is still complex and doesn't have many "getting started" examples.
I know that understanding how PropertySheet works will shed light on it for me, but PropertySheet is very complex and after days of reading the code, I'm not sure how close I am to getting it (the light bulb going off).
You say that implementing IPropertySheetPage is all I have to do, but I am confused. I realize that I want to stay in the same paradigm, and use EMF.Edit and the EditingDomain to access the model, like PropertySheet does.
I find a disjoint (and maybe I'm wrong) between the EMF book and the Eclipse Plugins book. It seems the Eclipse Plugins book is not focused on using EMF as its model, but catering to the "easier" SessionFacades and models, such as EJBs and JPA.
Is there a simpler example than PropertySheet to demonstrate to me how to implement IPropertySheetPage for EMF.Edit access to the model?
Regards,
Richard
|
|
|
Re: Best Way to Create Custom Form Based on Selected Object in Tree [message #493805 is a reply to message #493798] |
Wed, 28 October 2009 06:30 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
Richard,
Comments below.
Richard Catlin wrote:
> Ed,
>
> I have found EMF to be powerful yet fairly complex.
Simple things tend not be be so powerful, nor if well used, to remain
simple.
> I do have to say that the framework is attainable. I have only known
> about Eclipse and its frameworks for less than 5 months. I have read
> the EMF book, the Modeling Project book, Eclipse Plugins, and BIRT.
>
> I am fairly versed on EMF Model, Model Query, and EMF.Edit. Yet find
> that the RCP integration portion to EMF.Edit is still complex and
> doesn't have many "getting started" examples.
If only someone would write one. :-)
>
> I know that understanding how PropertySheet works will shed light on
> it for me, but PropertySheet is very complex and after days of reading
> the code, I'm not sure how close I am to getting it (the light bulb
> going off).
And much of that is JFace underlying implementations... I hope you're
using the debugger to step through the code to dynamically analyze the
behavior rather than trying to figure out how it works just by looking
at static code.
>
> You say that implementing IPropertySheetPage is all I have to do, but
> I am confused. I realize that I want to stay in the same paradigm,
> and use EMF.Edit and the EditingDomain to access the model, like
> PropertySheet does.
>
> I find a disjoint (and maybe I'm wrong) between the EMF book and the
> Eclipse Plugins book. It seems the Eclipse Plugins book is not
> focused on using EMF as its model, but catering to the "easier"
> SessionFacades and models, such as EJBs and JPA.
I'm sure that's true.
>
> Is there a simpler example than PropertySheet to demonstrate to me how
> to implement IPropertySheetPage for EMF.Edit access to the model?
No, I think implementing that will necessarily be complex. It makes
you more of a framework builder than a casual user of an existing
framework.
>
> Regards,
> Richard
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04288 seconds