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(); }
public CommonEditorFactory(CommonProjectPackage package, bool promptEncodingOnLoad) { _package = package; _promptEncodingOnLoad = promptEncodingOnLoad; }
public CommonEditorFactory(CommonProjectPackage package) { _package = package; }
public JEditorFactoryPromptForEncoding(CommonProjectPackage package) : base(package, true) { }
public JEditorFactory(CommonProjectPackage package, bool promptForEncoding) : base(package, promptForEncoding) { }
public JEditorFactory(CommonProjectPackage package) : base(package) { }