if (!confirmReadOnly("Check Rename", "The selected element is marked as read-only. Do you still wish to rename it?"))
if (!confirmReadOnly(ReorgMessages.getString("renameAction.checkRename.title"), ReorgMessages.getString("renameAction.checkRename.message")))
	public void doActionPerformed() {		Object element= getStructuredSelection().getFirstElement();		if (isReadOnlyResource(element)) {			if (!confirmReadOnly("Check Rename", 					"The selected element is marked as read-only. Do you still wish to rename it?"))					return;		}		if (fRefactoringSupport != null) {			fRefactoringSupport.rename(element);			fRefactoringSupport= null;			return;		}			renameElement(element);	}