public Operation getOperationByGUID(string guid)
{
Operation operation = this.factory.createElement(this.wrappedModel.GetMethodByGuid(guid)) as Operation;
if (operation == null)
{
List<OperationTag> tags = this.getOperationTagsWithValue(guid);
foreach ( OperationTag tag in tags)
{
if (tag != null && tag.name == "ea_guid")
{
operation = tag.owner as Operation;
}
}
}
return operation;
}