Exemplo n.º 1
0
 @Override
 public void readValuesTo(PHP php) {
   php.setInlined(myInlined.isSelected());
   php.setServer(myServer.isSelected());
   php.setOop(myOop.isSelected());
   php.setRest(myRest.isSelected());
   php.setNsglobal(StringUtils.trimToNull(myNsglobal.getText()));
   php.setValidate(myValidate.isSelected());
   php.setJson(myJson.isSelected());
 }
Exemplo n.º 2
0
 @Override
 public void setValues(PHP php) {
   myInlined.setSelected(php.isInlined());
   myServer.setSelected(php.isServer());
   myOop.setSelected(php.isOop());
   myRest.setSelected(php.isRest());
   myNsglobal.setText(php.getNsglobal());
   myValidate.setSelected(php.isValidate());
   myJson.setSelected(php.isJson());
 }