public bool OnAccept(string inputMessage)
{
// Do the cloning
string potentialNewNodeName = inputMessage.Trim();
if (potentialNewNodeName.Length <= 1)
{
MessageBox.Show("You must enter a name longer than 1 character for the clone!");
return false;
}
if (potentialNewNodeName.Equals(mNode.Name))
{
MessageBox.Show("You must enter a new unique name for the clone!");
return false;
}
GameMasterDataManager.GetInstance().CloneNode(mViewer, mNode, potentialNewNodeName);
return true;
}