package net.gtaun.wl.common.dialog;

import net.gtaun.shoebill.Shoebill;
import net.gtaun.shoebill.common.dialog.AbstractDialog;
import net.gtaun.shoebill.object.Player;
import net.gtaun.util.event.EventManager;

public class AbstractInputDialog extends net.gtaun.shoebill.common.dialog.AbstractInputDialog
{
	public AbstractInputDialog(Player player, Shoebill shoebill, EventManager rootEventManager)
	{
		super(player, shoebill, rootEventManager);
	}

	public AbstractInputDialog(Player player, Shoebill shoebill, EventManager rootEventManager, AbstractDialog parentDialog)
	{
		super(player, shoebill, rootEventManager, parentDialog);
	}

	public AbstractInputDialog(Player player, Shoebill shoebill, EventManager rootEventManager, boolean passwordMode)
	{
		super(player, shoebill, rootEventManager, passwordMode);
	}
	
	public AbstractInputDialog(Player player, Shoebill shoebill, EventManager rootEventManager, boolean passwordMode, AbstractDialog parentDialog)
	{
		super(player, shoebill, rootEventManager, passwordMode, parentDialog);
	}

	public AbstractInputDialog(Player player, Shoebill shoebill, EventManager rootEventManager, String caption, String message)
	{
		super(player, shoebill, rootEventManager, caption, message);
	}

	public AbstractInputDialog(Player player, Shoebill shoebill, EventManager rootEventManager, String caption, String message, AbstractDialog parentDialog)
	{
		super(player, shoebill, rootEventManager, caption, message, parentDialog);
	}

	public AbstractInputDialog(Player player, Shoebill shoebill, EventManager rootEventManager, String caption, String message, boolean passwordMode)
	{
		super(player, shoebill, rootEventManager, caption, message, passwordMode);
	}
	
	public AbstractInputDialog(Player player, Shoebill shoebill, EventManager rootEventManager, String caption, String message, boolean passwordMode, AbstractDialog parentDialog)
	{
		super(player, shoebill, rootEventManager, caption, message, passwordMode, parentDialog);
	}
	
	@Override
	protected void onClickCancel()
	{
		player.playSound(1084, player.getLocation());
		showParentDialog();
	}
}

@@ -302,16 +302,46 @@
 ialog%0A%7B%0A
+%09protected String append;%0A%09%0A%09%0A
 %09public 
@@ -2011,16 +2011,149 @@
 );%0A%09%7D%0A%09%0A
+%09protected void show(String text)%0A%09%7B%0A%09%09if (append != null) super.show(this.message + %22%5Cn%5Cn%22 + append);%0A%09%09else super.show(text);%0A%09%7D%0A%09%0A
 %09@Overri

添加附加信息，用于显示提示。