|Re: Rendering MUIElement at Runtime [message #675276 is a reply to message #675161]
||Tue, 31 May 2011 02:21
| Kunal Prasad
Registered: September 2009
I am currently using E4 Version: 4.1.0, Build id: I20110422-0200.|
I was wondering if the renderer has any listener towards the application model. I mean whenever the model is modified or its set to dirty, the renderer will update itself to accommodate new/modified UI Elements, since explicitly calling renderer to update UI seems complex. Also I expected that if any user modifies the application model using ALT+SHIFT+F9, changes will reflect immediately, which is not the case now.
Right now, my intention is to add a new Menu to Main Menu e.g. Add "SVN" Menu and its children (Handled Menu-Items) just after "File" in the main menu. I am able to do this in the application model by code, but same is not reflected in UI. Suggest the steps to do so with kind of renderer needed to invoke. I guess visible flag set in the model for UI element should be sufficient to see if UI element needs to be rendered or not, explicitly setting it doesn't make sense setting same in the model. As of now, The visible and rendered flags are set for the UI Element in the application model, so I am looking for additional steps needed to display same in the GUI.
[Updated on: Tue, 31 May 2011 03:44]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01902 seconds