Sets the Control for this model. @param control
(Control control)
| 70 | * @param control |
| 71 | */ |
| 72 | @Override |
| 73 | public void setControl(Control control) { |
| 74 | stopAnimation(); |
| 75 | this.control = control; |
| 76 | if(control==null) { |
| 77 | return; |
| 78 | } |
| 79 | initMyControl(); |
| 80 | } |
| 81 | |
| 82 | /** |
| 83 | * Initializes this model and its control. |
no test coverage detected