On Mon, Jan 20, 2014 at 8:00 AM, Tom Schindl <[email protected]>wrote:
> Hi, > > Well the model is the backing state of the UI which is represented by > the visible-attribute and the renderer should act according to this > attribute. > > Now we have the situation that this value is calculated based upon 2 > informations: > a) the value of the attribute > b) the value of the expression > > visibleWhen is in the model, but it is used by our renderer to set the visible flag on the model elements (which then drives the visibility). So arguably it doesn't have to be the renderer that cares about visibleWhen (although in our case the renderer makes visibleWhen callouts when a menu is about to show, but that updates the model visible flag which then updates the SWT widgets) Later, PW -- Paul Webster Hi floor. Make me a sammich! - GIR
_______________________________________________ e4-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/e4-dev
