IASScope thisScope = getContainingScope();
IASScope nodeScope = node.getContainingScope();
if (thisScope != null && nodeScope != null)
{
IScopedDefinition thisDef = thisScope.getDefinition();
IScopedDefinition nodeDef = nodeScope.getDefinition();
if (thisDef instanceof AppliedVectorDefinition && nodeDef instanceof AppliedVectorDefinition)
{
String thisElementQName = ((AppliedVectorDefinition)thisDef).getQualifiedName();
String nodeElementQName = ((AppliedVectorDefinition)nodeDef).getQualifiedName();