StackPanel ITreeViewItem.Header() { //string icon = string.Empty; //if (FileName != null && System.IO.Path.GetExtension(FileName).ToUpper() == ".FEATURE") // icon = "@FeatureFile_16X16.png"; //else // icon = "@Documents_16x16.png"; //StackPanel SP = TreeViewUtils.CreateItemHeader(FileName, icon, Ginger.SourceControl.SourceControlIntegration.GetItemSourceControlImage(Path, ref ItemSourceControlStatus)); //return SP; return(TreeViewUtils.NewRepositoryItemTreeHeader(null, FileName, eImageType.File, GetSourceControlImageByPath(Path), false)); }
StackPanel ITreeViewItem.Header() { //string ImageFile; //if (IsGingerDefualtFolder) //{ // ImageFile = "@Documents_16x16.png"; //} //else //{ // ImageFile = "@Folder2_16x16.png"; //} //return TreeViewUtils.CreateItemHeader(Folder, ImageFile, Ginger.SourceControl.SourceControlIntegration.GetItemSourceControlImage(Path, ref ItemSourceControlStatus)); return(TreeViewUtils.NewRepositoryItemTreeHeader(null, Folder, eImageType.Folder, GetSourceControlImageByPath(Path), false)); }
StackPanel ITreeViewItem.Header() { return(TreeViewUtils.NewRepositoryItemTreeHeader(mPOMModelFolder, nameof(RepositoryFolder <ApplicationPOMModel> .DisplayName), eImageType.Folder, eImageType.Null, false)); }
StackPanel ITreeViewItem.Header() { return(TreeViewUtils.NewRepositoryItemTreeHeader(mReportFolder, nameof(RepositoryFolder <HTMLReportTemplate> .DisplayName), eImageType.HtmlReport, GetSourceControlImage(mReportFolder), false)); }
StackPanel ITreeViewItem.Header() { return(TreeViewUtils.NewRepositoryItemTreeHeader(null, Folder, eImageType.Folder, GetSourceControlImageByPath(Path), false)); }
StackPanel ITreeViewItem.Header() { return(TreeViewUtils.NewRepositoryItemTreeHeader(ApplicationPOM, nameof(ApplicationPOM.Name), eImageType.Application, eImageType.Null, true, nameof(ApplicationPOM.IsDirty))); }
StackPanel ITreeViewItem.Header() { return(TreeViewUtils.NewRepositoryItemTreeHeader(mProjEnvironmentFolder, nameof(RepositoryFolder <ProjEnvironment> .DisplayName), eImageType.Folder, GetSourceControlImage(mProjEnvironmentFolder), false)); }
StackPanel ITreeViewItem.Header() { return(TreeViewUtils.NewRepositoryItemTreeHeader(mDataSourcesRepositoryFolder, nameof(RepositoryFolder <DataSourceBase> .DisplayName), eImageType.DataSource, GetSourceControlImage(mDataSourcesRepositoryFolder), false)); }