Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Source code for the EMF book examples?
Source code for the EMF book examples? [message #495939] Fri, 06 November 2009 17:47 Go to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi,
I wonder if the source code for the examples in the EMF book is available from somewhere. I'm particularly interested in
the "Customizing Views" chapter.

Thanks,
Thomas Hallgren
Re: Source code for the EMF book examples? [message #495948 is a reply to message #495939] Fri, 06 November 2009 18:24 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Thomas,

The Downloads tab at
http://www.informit.com/store/product.aspx?isbn=978032133188 5 provides that.


Thomas Hallgren wrote:
> Hi,
> I wonder if the source code for the examples in the EMF book is
> available from somewhere. I'm particularly interested in the
> "Customizing Views" chapter.
>
> Thanks,
> Thomas Hallgren
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Source code for the EMF book examples? [message #495989 is a reply to message #495948] Fri, 06 November 2009 22:17 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Ed,
Thanks. I downloaded that. Unfortunately, I didn't find what I was looking for. Chapter 19.2.3 mentions a hand-coded
TransientSupplierItemProvider class (common for the OrdersItemProvider and CustomersItemProvider). The text says "Most
of the other methods in TransientSupplierItemProvider are simple method overrides that substitute arguments before
calling the super version of the same method.". The problem is that there's a fair amount of methods there and I might
need several such classes. I'm trying to figure out exactly what methods that I need to override but I don't find this
class in the example source.

Regards,
Thomas Hallgren


On 11/06/2009 07:24 PM, Ed Merks wrote:
> Thomas,
>
> The Downloads tab at
> http://www.informit.com/store/product.aspx?isbn=978032133188 5 provides
> that.
>
>
> Thomas Hallgren wrote:
>> Hi,
>> I wonder if the source code for the examples in the EMF book is
>> available from somewhere. I'm particularly interested in the
>> "Customizing Views" chapter.
>>
>> Thanks,
>> Thomas Hallgren
>>
Re: Source code for the EMF book examples? [message #496008 is a reply to message #495989] Sat, 07 November 2009 00:21 Go to previous messageGo to next message
David Steinberg is currently offline David SteinbergFriend
Messages: 489
Registered: July 2009
Senior Member
Thomas Hallgren wrote on Fri, 06 November 2009 17:17
Chapter 19.2.3 mentions a hand-coded
TransientSupplierItemProvider class (common for the OrdersItemProvider and CustomersItemProvider). The text says "Most of the other methods in TransientSupplierItemProvider are simple method overrides that substitute arguments before calling the super version of the same method.". The problem is that there's a fair amount of methods there and I might need several such classes. I'm trying to figure out exactly what methods that I need to override but I don't find this class in the example source.



Hi Thomas,

TransientSupplierItemProvider is nested in SupplierItemProvider. It seems the text doesn't explicitly state that. Sorry for the confusion.

Cheers,
Dave
Re: Source code for the EMF book examples? [message #496022 is a reply to message #496008] Sat, 07 November 2009 09:01 Go to previous message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Thanks Dave.
I found it. Stared me blind on file names.

Regards,
Thomas Hallgren

On 11/07/2009 01:21 AM, Dave Steinberg wrote:
> Thomas Hallgren wrote on Fri, 06 November 2009 17:17
>> Chapter 19.2.3 mentions a hand-coded TransientSupplierItemProvider
>> class (common for the OrdersItemProvider and CustomersItemProvider).
>> The text says "Most of the other methods in
>> TransientSupplierItemProvider are simple method overrides that
>> substitute arguments before calling the super version of the same
>> method.". The problem is that there's a fair amount of methods there
>> and I might need several such classes. I'm trying to figure out
>> exactly what methods that I need to override but I don't find this
>> class in the example source.
>
>
> Hi Thomas,
>
> TransientSupplierItemProvider is nested in SupplierItemProvider. It
> seems the text doesn't explicitly state that. Sorry for the confusion.
>
> Cheers,
> Dave
>
Previous Topic:EMF/CDO Multi-threaded server process
Next Topic:ECrossReferenceAdapter ClassCastException -- global/resourceSet-spec. Package Registry?
Goto Forum:
  


Current Time: Fri Apr 19 06:56:39 GMT 2024

Powered by FUDForum. Page generated in 0.02875 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top