public static void DisplayBehaviorForOperation(Repository repository, Method method)
        {
            string behavior = method.Behavior;

            if (behavior.StartsWith("{") & behavior.EndsWith("}"))
            {
                // get object according to behavior
                EA.Element el = repository.GetElementByGuid(behavior);
                // Activity
                if (el == null)
                {
                }
                else
                {
                    if (el.Type.Equals("Activity") || el.Type.Equals("Interaction") || el.Type.Equals("StateMachine"))
                    {
                        HoUtil.OpenBehaviorForElement(repository, el);
                    }
                }
            }
        }