Skip to content
Snippets Groups Projects
  • Ananya Bahadur's avatar
    39792012
    Helpers to override `buttonClicked` added. · 39792012
    Ananya Bahadur authored
    These changes were made to primarily to accommodate for the cyclops-stimulator. Since buttonClicked manipulates the DataViewport via AccessClass, a sub-class of VisualizerEditor cannot functionally override the method.
    Hence:
    
    * Added protected methods which manipulate DataViewport (via AccessClass)
    * moved the SelectorButtons into protected area, essential!
    * All of the additions are essential to the cyclops-stimulator.
    * There is NO change in the public interface.
    
    Now, my buttonClicked method can access the SelectorButtons, manipulate (anything about!!) DataViewport.
    Please remove the (new) comments from VisualizerEditor::buttonClicked (.cpp), they are not needed anymore.
    39792012
    History
    Helpers to override `buttonClicked` added.
    Ananya Bahadur authored
    These changes were made to primarily to accommodate for the cyclops-stimulator. Since buttonClicked manipulates the DataViewport via AccessClass, a sub-class of VisualizerEditor cannot functionally override the method.
    Hence:
    
    * Added protected methods which manipulate DataViewport (via AccessClass)
    * moved the SelectorButtons into protected area, essential!
    * All of the additions are essential to the cyclops-stimulator.
    * There is NO change in the public interface.
    
    Now, my buttonClicked method can access the SelectorButtons, manipulate (anything about!!) DataViewport.
    Please remove the (new) comments from VisualizerEditor::buttonClicked (.cpp), they are not needed anymore.