public void setProduct ( OperaProduct product ) { options . get ( PRODUCT ) . setValue ( product ) ; // Switch context of arguments OperaArguments arguments ; if ( getProduct ( ) . is ( OperaProduct . DESKTOP ) ) { arguments = new OperaDesktopArguments ( ) ; } else { arguments = new OperaCoreArguments ( ) ; } options . get ( ARGUMENTS ) . setValue ( arguments . merge ( arguments ( ) ) ) ; }
Sets the product currently used for example desktop or core .