Source code for the EMF book examples? [message #495939] |
Fri, 06 November 2009 17:47 |
|
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 #495989 is a reply to message #495948] |
Fri, 06 November 2009 22:17 |
|
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 #496022 is a reply to message #496008] |
Sat, 07 November 2009 09:01 |
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.02875 seconds