예제 #1
0
  @Override
  public void textChange(TextChangeEvent event) {
    setDirty(true);
    if (event.getComponent() != translated || currentItem == null) return;

    de.jutzig.jabylon.properties.Property copy = EcoreUtil.copy(currentItem.getTargetProperty());
    copy.setValue(event.getText());
    applyValidation(copy);
  }
예제 #2
0
 @Override
 public void textChange(TextChangeEvent event) {
   if (event.getSource().equals(txtUsuario)
       || event.getSource().equals(txtNombres)
       || event.getSource().equals(txtApellidoPaterno)
       || event.getSource().equals(txtApellidoMaterno)
       || event.getSource().equals(txtCargo)
       || event.getSource().equals(txtCargoDescripcion)) formHasChanged();
 }
예제 #3
0
 @Override
 public void textChange(TextChangeEvent event) {
   String s = event.getText();
   if (s == null) ;
   else {
     int num = s.trim().length();
     count.setValue("" + num + "/140");
   }
 }
 @Override
 public String getValue() {
   return event.getText();
 }
예제 #5
0
 @Override
 public void textChange(final TextChangeEvent event) {
   saveButton.setEnabled(isSaveButtonEnabledAfterValueChange(field, event.getText()));
 }