Dynamically Enable/Disable Navigation Tabs

Hello,
I would like to dynamically enable/disable the Navigation buttons based on user selection in a view. For example lets say, I have three tabs Search, Videos and Images. When a item in selected the Search view based on few rules enable/disable the Videos and Images tab at runtime.
I’m using the Vaadin 7 and Navigator class for creating navigation between the views.

Any ideas on how this can be implemented using vaadin?