Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] MPart.getContext() is null

On Mon, Feb 20, 2012 at 12:08 PM, Tom Schindl <tom.schindl@xxxxxxxxxxxxxxx> wrote:
a model object only gets a context once it is renderer which is not the
case for you.

You could e.g. push the value into the window or perspective context
which the part context will be derived from.

Or what we often do, add a UIEventTopic listener for the context attribute.  When it becomes set on your MPart, you can fill in any pre-reqs.

PW


--
Paul Webster
Hi floor.  Make me a sammich! - GIR

Back to the top