Esempio n. 1
0
        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));
        }
Esempio n. 2
0
        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));
        }
Esempio n. 3
0
 StackPanel ITreeViewItem.Header()
 {
     return(TreeViewUtils.NewRepositoryItemTreeHeader(mPOMModelFolder, nameof(RepositoryFolder <ApplicationPOMModel> .DisplayName), eImageType.Folder, eImageType.Null, false));
 }
Esempio n. 4
0
 StackPanel ITreeViewItem.Header()
 {
     return(TreeViewUtils.NewRepositoryItemTreeHeader(mReportFolder, nameof(RepositoryFolder <HTMLReportTemplate> .DisplayName), eImageType.HtmlReport, GetSourceControlImage(mReportFolder), false));
 }
Esempio n. 5
0
 StackPanel ITreeViewItem.Header()
 {
     return(TreeViewUtils.NewRepositoryItemTreeHeader(null, Folder, eImageType.Folder, GetSourceControlImageByPath(Path), false));
 }
Esempio n. 6
0
 StackPanel ITreeViewItem.Header()
 {
     return(TreeViewUtils.NewRepositoryItemTreeHeader(ApplicationPOM, nameof(ApplicationPOM.Name), eImageType.Application, eImageType.Null, true, nameof(ApplicationPOM.IsDirty)));
 }
Esempio n. 7
0
 StackPanel ITreeViewItem.Header()
 {
     return(TreeViewUtils.NewRepositoryItemTreeHeader(mProjEnvironmentFolder, nameof(RepositoryFolder <ProjEnvironment> .DisplayName), eImageType.Folder, GetSourceControlImage(mProjEnvironmentFolder), false));
 }
Esempio n. 8
0
 StackPanel ITreeViewItem.Header()
 {
     return(TreeViewUtils.NewRepositoryItemTreeHeader(mDataSourcesRepositoryFolder, nameof(RepositoryFolder <DataSourceBase> .DisplayName), eImageType.DataSource, GetSourceControlImage(mDataSourcesRepositoryFolder), false));
 }