Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] Q: Uniqueness of model element ids

On 29-Jan-2010, at 2:32 PM, Remy Suen wrote:
> An MApplicationElement should be unique within some scope. For a part, this might be a perspective or a window (two 'Problems' view each opened in two different windows share the same id). For a command, this would be the entire application.
> 
> There is no code that actually enforces this at the moment, i.e. the renderer will not crash if you try to render a stack that has two views with the same id. However, let me put it on the table now that I'm pretty sure no modern JVM has telepathy implemented so please don't come to me if you have two parts with the same id and the part service gives you X back when you really wanted Y.

I have encountered a problem when having a handler and command share the same id.

Brian.

--
On bike helmets: "If you think your hair is more important than your brain, you're probably right."  (B. J. Wawrykow)



Back to the top