예제 #1
0
        public CommonProjectNode(CommonProjectPackage/*!*/ package, ImageList/*!*/ imageList)
        {
            Contract.Assert(package != null);
            Contract.Assert(imageList != null);

            _package = package;
            CanFileNodesHaveChilds = true;
            OleServiceProvider.AddService(typeof(VSLangProj.VSProject), new OleServiceProvider.ServiceCreatorCallback(CreateServices), false);
            SupportsProjectDesigner = true;
            _imageList = imageList;

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

            InitializeCATIDs();
        }
예제 #2
0
 public CommonEditorFactory(CommonProjectPackage package, bool promptEncodingOnLoad)
 {
     _package = package;
     _promptEncodingOnLoad = promptEncodingOnLoad;
 }
예제 #3
0
 public CommonEditorFactory(CommonProjectPackage package)
 {
     _package = package;
 }
예제 #4
0
 public JEditorFactoryPromptForEncoding(CommonProjectPackage package)
     : base(package, true)
 {
 }
예제 #5
0
 public JEditorFactory(CommonProjectPackage package, bool promptForEncoding)
     : base(package, promptForEncoding)
 {
 }
예제 #6
0
 public JEditorFactory(CommonProjectPackage package)
     : base(package)
 {
 }