Example #1
0
  private void initControls() {
    UiElement element = getUiElement();
    if (element == null) {
      return;
    }

    name.setText(element.getName());
    comment.setText(element.getComment());
  }
Example #2
0
  private void initDefaults() {
    UiElement element = getUiElement();
    if (element == null) {
      return;
    }

    initialName = element.getName();
    initialComment = element.getComment();
  }