public IProjectTree CreateTree( string caption, IProjectPropertiesContext itemContext, IPropertySheet propertySheet = null, IRule browseObjectProperties = null, ProjectImageMoniker icon = null, ProjectImageMoniker expandedIcon = null, bool visible = true, ProjectTreeFlags?flags = default(ProjectTreeFlags?)) { // Note that all the parameters are specified so we can force this call to an // overload of NewTree available prior to 15.5 versions of CPS. Once a 15.5 build // is publicly available we can move this to an overload with default values for // most of the parameters, and we'll only need to pass the interesting ones. return(NewTree( caption: caption, item: itemContext, propertySheet: propertySheet, browseObjectProperties: browseObjectProperties, icon: icon, expandedIcon: expandedIcon, visible: visible, flags: flags, isLinked: false)); }
public IProjectTree SetProperties(string caption = null, string filePath = null, IRule browseObjectProperties = null, ProjectImageMoniker icon = null, ProjectImageMoniker expandedIcon = null, bool? visible = null, ProjectTreeFlags?flags = null, IProjectPropertiesContext context = null, IPropertySheet propertySheet = null, bool?isLinked = null, bool resetFilePath = false, bool resetBrowseObjectProperties = false, bool resetIcon = false, bool resetExpandedIcon = false) { Icon = icon ?? Icon; ExpandedIcon = expandedIcon ?? ExpandedIcon; BrowseObjectProperties = browseObjectProperties ?? BrowseObjectProperties; Caption = caption ?? Caption; return(this); }
public IProjectTree CreateTree( string caption, IProjectPropertiesContext itemContext, IPropertySheet propertySheet = null, IRule browseObjectProperties = null, ProjectImageMoniker icon = null, ProjectImageMoniker expandedIcon = null, bool visible = true, ProjectTreeFlags?flags = default(ProjectTreeFlags?)) { return(NewTree( caption: caption, item: itemContext, propertySheet: propertySheet, browseObjectProperties: browseObjectProperties, icon: icon, expandedIcon: expandedIcon, visible: visible, flags: flags)); }
public IProjectTree CreateTree( string caption, IProjectPropertiesContext itemContext, IPropertySheet propertySheet = null, IRule browseObjectProperties = null, ProjectImageMoniker icon = null, ProjectImageMoniker expandedIcon = null, bool visible = true, ProjectTreeFlags?flags = default) { return(new TestProjectTree { Caption = caption, FilePath = itemContext.File ?? caption, BrowseObjectProperties = browseObjectProperties, Icon = icon, ExpandedIcon = expandedIcon, Visible = visible, Flags = flags ?? ProjectTreeFlags.Empty, IsProjectItem = true }); }
public IProjectItemTree SetItem(IProjectPropertiesContext context, IPropertySheet propertySheet, bool isLinked) { return(null); }
IProjectItemTree IProjectItemTree.SetProperties(string caption, string filePath, IRule browseObjectProperties, ProjectImageMoniker icon, ProjectImageMoniker expandedIcon, bool?visible, ProjectTreeFlags?flags, IProjectPropertiesContext context, IPropertySheet propertySheet, bool?isLinked, bool resetFilePath, bool resetBrowseObjectProperties, bool resetIcon, bool resetExpandedIcon) { throw new NotImplementedException(); }
public IProjectItemTree SetPropertySheet(IPropertySheet propertySheet) { throw new NotImplementedException(); }
public IProjectTree2 SetProperties(string caption = null, string filePath = null, IRule browseObjectProperties = null, ProjectImageMoniker icon = null, ProjectImageMoniker expandedIcon = null, bool?visible = null, ProjectTreeFlags?flags = null, IProjectPropertiesContext context = null, IPropertySheet propertySheet = null, bool?isLinked = null, bool resetFilePath = false, bool resetBrowseObjectProperties = false, bool resetIcon = false, bool resetExpandedIcon = false, int?displayOrder = null) { throw new NotImplementedException(); }
public IProjectTree SetProperties(string caption = null, string filePath = null, IRule browseObjectProperties = null, ProjectImageMoniker icon = null, ProjectImageMoniker expandedIcon = null, bool?visible = default, ProjectTreeFlags?flags = default, IProjectPropertiesContext context = null, IPropertySheet propertySheet = null, bool?isLinked = default, bool resetFilePath = false, bool resetBrowseObjectProperties = false, bool resetIcon = false, bool resetExpandedIcon = false) { if (caption != null) { Caption = caption; } if (filePath != null) { FilePath = filePath; } if (visible != null) { Visible = visible.Value; } if (flags != null) { Flags = flags.Value; } return(this); }
IProjectItemTree IProjectTree.SetItem(IProjectPropertiesContext context, IPropertySheet propertySheet, bool isLinked) { throw new NotImplementedException(); }