/**
   * Returns the specific part of the action made on the entity.
   *
   * @return the specific part of the action made on the entity
   */
  protected ActionEditEntitySpecific getSpecificAction() {

    String sprite = spriteField.getSelectedId();
    if (!withSpriteField.isSelected()) {
      sprite = "_none";
    }

    String behavior = "map";
    if (messageField.isEnabled()) {
      behavior = "dialog#" + messageField.getText();
    } else if (itemField.isEnabled()) {
      behavior = "item#" + itemField.getSelectedId();
    }

    return new ActionEditEntitySpecific(entity, sprite, behavior);
  }
 /** Returns whether the user wants to update existing maps refering to this tile pattern. */
 public boolean isUpdateMapsChecked() {
   return updateMapsCheckBox.isSelected();
 }