public CustomInterfaceMethodPointer(InterfaceElementMethod method, IClass holder, IAction act)
 {
     _act     = act;
     _method  = method;
     _wholeId = DesignUtil.MakeDDWord(_method.MethodId, holder.ClassId);
     _holder  = holder;
 }
        public void OnReadFromXmlNode(IXmlCodeReader serializer, XmlNode node)
        {
            XmlNode dataNode = node.SelectSingleNode(XmlTags.XML_Data);

            if (dataNode != null)
            {
                _method = new InterfaceElementMethod();
                _method.OnReadFromXmlNode(serializer, dataNode);
            }
        }
Пример #3
0
 public MethodItemInterface(string key, IClass owner, InterfaceElementMethod method)
     : base(key, owner)
 {
     _method  = method;
     _pointer = owner.VariableCustomType;
     if (_pointer == null)
     {
         throw new DesignerException("VariableCustomType is null creating MethodItemInterface");
     }
 }
        public void NotifyMethodChange(InterfaceElementMethod m)
        {
            ClassPointer cp = GetHolder();

            if (cp != null && _owner != null)
            {
                ILimnorDesignPane pane = cp.Project.GetTypedData <ILimnorDesignPane>(cp.ClassId);
                if (pane != null)
                {
                    _owner.NotifyMethodChange(pane.Loader, m);
                }
            }
        }
 public MethodInfoInterface(InterfaceElementMethod method)
 {
     _method = method;
 }
 public void OnInterfaceMethodCreated(InterfaceElementMethod method)
 {
     _objExplorer.OnInterfaceMethodCreated(method);
 }
Пример #7
0
 public void OnInterfaceMethodCreated(InterfaceElementMethod method)
 {
 }
Пример #8
0
 public void OnInterfaceMethodChanged(InterfaceElementMethod method)
 {
 }
Пример #9
0
 public void OnInterfaceMethodDeleted(InterfaceElementMethod method)
 {
 }