private void activatePart(){
  if (!isFocused()) {
    setFocus(true);
    if (delegate != null) {
      delegate.activatePart();
    }
  }
}

private void activatePart ( ) { if ( ! isFocused ( ) ) { setFocus ( true ) ; if ( delegate != null ) { delegate . activatePart ( ) ; } } }
ensures the view is activated when clicking the mouse .
