[quote]
I know im being a little obtuse but TasksListPresenter is also a final class i 
cant extend it either way so i cant take the path you recomend, is there a way 
that allows the inclusion of changes creating a class? or are all the class 
final and wont allow me to extend them i would have to resort to change the 
core pulse each time i change the version of magnolia that im using?[/quote]

When I added a column to the task list view, I copied and modified this classes 
to my own needs:
- TaskQuery
- TaskQueryDefinition
- TaskListViewImpl

To provide my own implementation for these classes, I configured the IoC 
container of magnolia in the module descriptor. (see 
https://documentation.magnolia-cms.com/display/DOCS/Dependency+injection+and+inversion+of+control)

e.g to replace TaskListView:
[code]
<components>
  <id>admincentral</id>
  <component>
    <type>info.magnolia.ui.admincentral.shellapp.pulse.task.TasksListView</type>
    <implementation>de.myown.implementation.TasksListViewImpl</implementation>
  </component>
  <type-mapping>
   <type>info.magnolia.ui.admincentral.shellapp.pulse.task.TasksListView</type>
   <implementation>de.myown.implementation.TasksListViewImpl</implementation>
  </type-mapping>
..add component, type-mapping for TaskQueryDefinition, TaskQuery..
</components>
[/code]

This is one of the very few places, where magnolia is not easily extensible. 
You may have to adapt your code, if Magnolia changes something fundamentally in 
this area with an update.
You could start by copying the original classes and modify them slightly, to 
see if your own implementation is used.

Regards,
Florian

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=dbdc038c-f792-4698-b1c1-c1260eb0df74


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to