Example #1
0
 protected override LimnorContextMenuCollection GetMenuData()
 {
     if (LocalPointer == null)
     {
         throw new DesignerException("Calling GetMenuData with null local variable");
     }
     return(LimnorContextMenuCollection.GetMenuCollection(LocalPointer));           //, runAt);
 }
Example #2
0
        protected override LimnorContextMenuCollection GetMenuData()
        {
            IClassWrapper a = Variable;

            if (a == null)
            {
                throw new DesignerException("Calling GetMenuData without an array variable");
            }
            return(LimnorContextMenuCollection.GetMenuCollection(a));
        }
        public LimnorContextMenuCollection GetObjectMenuData(object obj)
        {
            LimnorXmlDesignerLoader2 l = this.Loader as LimnorXmlDesignerLoader2;
            IClass ic = l.GetRootId().CreateMemberPointer(obj);

            if (ic != null)
            {
                return(LimnorContextMenuCollection.GetMenuCollection(ic));
            }
            return(null);
        }
Example #4
0
 protected override LimnorContextMenuCollection GetMenuData()
 {
     return(LimnorContextMenuCollection.GetMenuCollection(ClassPointer));
 }
 protected virtual LimnorContextMenuCollection CreateMenuData()
 {
     return(LimnorContextMenuCollection.GetMenuCollection(this.ClassPointer));
 }
 public LimnorContextMenuCollection GetMenuData(IClass owner)
 {
     return(LimnorContextMenuCollection.GetMenuCollection(owner));
 }