How to create new button View (Time slicing)

Hello DUG users,

I wanted to add a new button “Approved Only” to the view button. Shown below

7140.view.jpg

I tried to look at the class > McsTimeSliceFormController. Do i need to add my new method in this class ? If so wll the change effect any other places ?

Please kindly give some pointers.

Thank you …