public void renameProperty(MonitoredProperty property)
public void renameProperty(InspectableProperty property)
public void renameProperty(MonitoredProperty property){	String message = "Enter new property name of '"+property.getName()+"':";	int type = JOptionPane.QUESTION_MESSAGE;	while (true)	{		String reply = JOptionPane.showInputDialog( null,			                           message,			                           "Rename property...",			                            type);		if (reply!=null)		{			if (!templateData.getProperties().containsKey(reply))			{				com.cosylab.vdct.undo.ComposedAction composedAction = 												new com.cosylab.vdct.undo.ComposedAction();				Object value = templateData.getProperties().get(property.getName());				templateData.removeProperty(property.getName());				composedAction.addAction(new DeleteTemplatePropertyAction(this, property.getName()));				templateData.addProperty(reply, value.toString());				composedAction.addAction(new CreateTemplatePropertyAction(this, reply));				com.cosylab.vdct.undo.UndoManager.getInstance().addAction(composedAction);				updateTemplateFields();				InspectorManager.getInstance().updateObject(this);				unconditionalValidation();				com.cosylab.vdct.events.CommandManager.getInstance().execute("RepaintWorkspace");			}			else			{				message = "Property '"+reply+"' already exists. Enter other name:";				type = JOptionPane.WARNING_MESSAGE;				continue;			}				}				break;	}}