Status: New Owner: ---- Labels: Type-Defect Priority-Medium
New issue 912 by chisvasi...@gmail.com: Glamour presentations should update their own actions when receiving GLMPresentationUpdated http://code.google.com/p/moose-technology/issues/detail?id=912
Right now when a presentation receives GLMPresentationUpdated it does not update its own actions. For example bellow is some code to see this behaviour. When the action from the composite presentation is triggered it updates the action from the contained presentations but not its action.
Also if there is just one presentation in the composite then, due to how a composite with one presentation is implemented, it won't update any action.
|browser|
browser := GLMTabulator new. browser row: #aRow.
browser transmit to: #aRow; andShow: [ :composite | composite title: 'Composite'; updateOn: Announcement from: [ browser announcer ]; dynamicActions: [ :list || actions | actions := OrderedCollection new. actions add: ((GLMGenericAction new) action: [ :presentation :model | browser announce: Announcement]; icon: GLMUIThemeExtraIcons glamorousAdd; title: DateAndTime now asString; yourself). actions ]. composite list title: 'List 1'; updateOn: Announcement from: [ browser announcer ]; dynamicActions: [ :list || actions | actions := OrderedCollection new. actions add: ((GLMGenericAction new) action: [ :presentation :model | browser announce: Announcement]; icon: GLMUIThemeExtraIcons glamorousAdd; title: DateAndTime now asString; yourself). actions ]. composite list title: 'List 2']. browser openOn: (1 to: 10)
Updates: Labels: Component-Glamour Milestone-4.8
Comment #1 on issue 912 by tu...@tudorgirba.com: Glamour presentations should update their own actions when receiving GLMPresentationUpdated http://code.google.com/p/moose-technology/issues/detail?id=912
(No comment was entered for this change.)
Comment #2 on issue 912 by tu...@tudorgirba.com: Glamour presentations should update their own actions when receiving GLMPresentationUpdated http://code.google.com/p/moose-technology/issues/detail?id=912
Is this working already?
Comment #3 on issue 912 by chisvasi...@gmail.com: Glamour presentations should update their own actions when receiving GLMPresentationUpdated http://code.google.com/p/moose-technology/issues/detail?id=912
Not yeat. I haven't figured out a clean solution for the moment.
Updates: Labels: -Milestone-4.8
Comment #4 on issue 912 by tu...@tudorgirba.com: Glamour presentations should update their own actions when receiving GLMPresentationUpdated http://code.google.com/p/moose-technology/issues/detail?id=912
This will likely not make it for 4.8.