Пример #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()));
 }