public PythonProjectNode(PythonProjectPackage pkg)
        {
            this.package = pkg;
            this.CanFileNodesHaveChilds = true;
            this.OleServiceProvider.AddService(typeof(VSLangProj.VSProject), new OleServiceProvider.ServiceCreatorCallback(this.CreateServices), false);
            this.SupportsProjectDesigner = true;

            //Store the number of images in ProjectNode so we know the offset of the python icons.
            ImageOffset = this.ImageHandler.ImageList.Images.Count;
            foreach (Image img in PythonImageList.Images)
            {
                this.ImageHandler.AddImage(img);
            }

            InitializeCATIDs();
        }
示例#2
0
        public PythonProjectNode(PythonProjectPackage pkg)
        {
            this.package = pkg;
            this.CanFileNodesHaveChilds = true;
            this.OleServiceProvider.AddService(typeof(VSLangProj.VSProject), new OleServiceProvider.ServiceCreatorCallback(this.CreateServices), false);
            this.SupportsProjectDesigner = true;

            //Store the number of images in ProjectNode so we know the offset of the python icons.
            ImageOffset = this.ImageHandler.ImageList.Images.Count;
            foreach (Image img in PythonImageList.Images)
            {
                this.ImageHandler.AddImage(img);
            }

            InitializeCATIDs();
        }
示例#3
0
 public EditorFactory(PythonProjectPackage package)
 {
     this.package = package;
 }
 /// <summary>
 /// Constructor for PythonProjectFactory
 /// </summary>
 /// <param name="package">the package who created this object</param>
 public PythonProjectFactory(PythonProjectPackage package)
     : base(package)
 {
 }
示例#5
0
 /// <summary>
 /// Constructor for PythonProjectFactory
 /// </summary>
 /// <param name="package">the package who created this object</param>
 public PythonProjectFactory(PythonProjectPackage package)
     : base(package)
 {
 }
 public EditorFactory(PythonProjectPackage package)
 {
     this.package = package;
 }