StackPanel ITreeViewItem.Header() { string ImageFileName = "tab16x16.png"; // TODO:replace to black button style string Title = this.ElementInfo.ElementTitle; return(TreeViewUtils.CreateItemHeader(Title, ImageFileName)); }
StackPanel ITreeViewItem.Header() { if (IsGingerDefualtFolder) { if (WorkSpace.Instance.BetaFeatures.BFUseSolutionRepositry) { return(TreeViewUtils.CreateItemHeader(mRepositoryFolder.FolderName, "@WorkFlow_16x16.png", Ginger.SourceControl.SourceControlIntegration.GetItemSourceControlImage(Path, ref ItemSourceControlStatus))); } else { return(TreeViewUtils.CreateItemHeader(Folder, "@WorkFlow_16x16.png", Ginger.SourceControl.SourceControlIntegration.GetItemSourceControlImage(Path, ref ItemSourceControlStatus))); } } else { if (WorkSpace.Instance.BetaFeatures.BFUseSolutionRepositry) { return(TreeViewUtils.CreateItemHeader(mRepositoryFolder.FolderName, "@Folder2_16x16.png", Ginger.SourceControl.SourceControlIntegration.GetItemSourceControlImage(Path, ref ItemSourceControlStatus))); } else { return(TreeViewUtils.CreateItemHeader(Folder, "@Folder2_16x16.png", Ginger.SourceControl.SourceControlIntegration.GetItemSourceControlImage(Path, ref ItemSourceControlStatus))); } } }
StackPanel ITreeViewItem.Header() { string ImageFile = "@Folder2_16x16.png"; // TODO: find icon for Apps string Path = "?"; return(TreeViewUtils.CreateItemHeader(mApplicationPlatform.AppName, ImageFile, SourceControlUI.GetItemSourceControlImage(Path, ref ItemSourceControlStatus))); }
StackPanel ITreeViewItem.Header() { string ImageFileName = "@HorizentalScroller_16x16.png"; // TODO: create DIV icons string Title = this.ElementInfo.ElementTitle; return(TreeViewUtils.CreateItemHeader(Title, ImageFileName)); }
StackPanel ITreeViewItem.Header() { string ImageFileName = "@MenuItem_16x16.png"; string Title = UIAElementInfo.ElementTitle; return(TreeViewUtils.CreateItemHeader(Title, ImageFileName)); }
StackPanel ITreeViewItem.Header() { //TODO: put text icon string ImageFileName = "Button16x16.png"; return(TreeViewUtils.CreateItemHeader(Name, ImageFileName)); }
StackPanel ITreeViewItem.Header() { //TODO: put label icon string ImageFileName = "@Label_16x16.png"; return(TreeViewUtils.CreateItemHeader(Name, ImageFileName)); }
StackPanel ITreeViewItem.Header() { string ImageFileName = "@RadioButton_16x16.png"; string Title = this.ElementInfo.ElementTitle; return(TreeViewUtils.CreateItemHeader(Title, ImageFileName)); }
StackPanel ITreeViewItem.Header() { // TODO: put ? or unknown string ImageFileName = "@Folder_16x16.png"; return(TreeViewUtils.CreateItemHeader(ElementInfo.ElementTitle, ImageFileName)); }
StackPanel ITreeViewItem.Header() { string ImageFileName = "@Label_16x16.png"; // TODO: replace me with page image string Title = this.ElementInfo.ElementTitle; return(TreeViewUtils.CreateItemHeader(Title, ImageFileName)); }
StackPanel ITreeViewItem.Header() { string ImageFileName = "@Window_16x16.png"; string Title = "Page"; return(TreeViewUtils.CreateItemHeader(Title, ImageFileName)); }
StackPanel ITreeViewItem.Header() { //TODO: Pput better icon for generic control string ImageFileName = "@Agent_16x16.png"; string Title = AndroidElementInfo.ElementTitle; return(TreeViewUtils.CreateItemHeader(Title, ImageFileName)); }
StackPanel ITreeViewItem.Header() { if (Folder == "Subject") { return(TreeViewUtils.CreateItemHeader(Folder, "@WorkFlow_16x16.png")); } else { return(TreeViewUtils.CreateItemHeader(Folder, "@Folder_16x16.png")); } }
StackPanel ITreeViewItem.Header() { if (DSDetails.DSType == DataSourceBase.eDSType.MSAccess) { return(TreeViewUtils.CreateItemHeader(DSDetails.Name, "@AccessDataSource_16x16.png", Ginger.SourceControl.SourceControlIntegration.GetItemSourceControlImage(Path, ref ItemSourceControlStatus), DSDetails, DataSourceBase.Fields.Name)); } else { return(TreeViewUtils.CreateItemHeader(DSDetails.Name, "@DataSource_16x16.png", Ginger.SourceControl.SourceControlIntegration.GetItemSourceControlImage(Path, ref ItemSourceControlStatus), DSDetails, DataSourceBase.Fields.Name)); } }
StackPanel ITreeViewItem.Header() { if (System.IO.Path.GetFileName(FileName).ToUpper().StartsWith("VIDEO")) { return(TreeViewUtils.CreateItemHeader(System.IO.Path.GetFileNameWithoutExtension(FileName), "@Video_16x16.png")); } else { return(TreeViewUtils.CreateItemHeader(System.IO.Path.GetFileNameWithoutExtension(FileName), "@WebFile_16x16.png")); } }
StackPanel ITreeViewItem.Header() { string ImageFile; if (IsGingerDefualtFolder) { ImageFile = "@Documents_16x16.png"; } else { ImageFile = "@Folder2_16x16.png"; } return(TreeViewUtils.CreateItemHeader(Folder, ImageFile, SourceControlIntegration.GetItemSourceControlImage(Path, ref ItemSourceControlStatus))); }
StackPanel ITreeViewItem.Header() { string ImageFile; if (IsGingerDefualtFolder) { ImageFile = "@ExecutionRes_16x16.png"; } else { ImageFile = "@Folder2_16x16.png"; } return(TreeViewUtils.CreateItemHeader(Folder, ImageFile, Ginger.SourceControl.SourceControlUI.GetItemSourceControlImage(Path, ref ItemSourceControlStatus))); }
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); }
StackPanel ITreeViewItem.Header() { // return TreeViewUtils.CreateItemHeader(mAgentsFolder, nameof(RepositoryFolder<Agent>.DisplayName), eImageType.Folder, GetSourceControlImage(mAgentsFolder), false); 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))); }
StackPanel ITreeViewItem.Header() { //if root item if (Folder == "Root") { return(TreeViewUtils.CreateItemHeader(Folder, "@WorkFlow_16x16.png")); } else { if (!String.IsNullOrWhiteSpace(TestSetName)) { return(TreeViewUtils.CreateItemHeader(TestSetName, "@TestSet_16x16.png")); } else { return(TreeViewUtils.CreateItemHeader(Folder, "@Folder_16x16.png")); } } }
StackPanel ITreeViewItem.Header() { string ImageFileName = "@TextBox_16x16.png"; return(TreeViewUtils.CreateItemHeader(Name, ImageFileName)); }
StackPanel ITreeViewItem.Header() { // create binded SP return(TreeViewUtils.CreateItemHeader(ReportTemplate.Name, "@Report_16x16.png", Ginger.SourceControl.SourceControlIntegration.GetItemSourceControlImage(Path, ref ItemSourceControlStatus))); }
StackPanel ITreeViewItem.Header() { return(TreeViewUtils.CreateItemHeader("Shared Repository", "@SharedRepository_16x16.png", Ginger.SourceControl.SourceControlUI.GetItemSourceControlImage(Path, ref ItemSourceControlStatus))); }
StackPanel ITreeViewItem.Header() { return(TreeViewUtils.CreateItemHeader(UIAElementInfo.ElementTitle, ElementInfo.GetElementTypeImage(eElementType.TextBox))); }
StackPanel ITreeViewItem.Header() { return(TreeViewUtils.CreateItemHeader(Folder, "@Folder2_16x16.png")); }
StackPanel ITreeViewItem.Header() { return(TreeViewUtils.CreateItemHeader("Legacy Report", "@Report_16x16.png", Ginger.SourceControl.SourceControlIntegration.GetItemSourceControlImage(Path, ref ItemSourceControlStatus))); }
StackPanel ITreeViewItem.Header() { //TODO: put text icon return(TreeViewUtils.CreateItemHeader(Name, ElementInfo.GetElementTypeImage(eElementType.Button))); }
StackPanel ITreeViewItem.Header() { return(TreeViewUtils.CreateItemHeader(Name, "@WorkFlow_16x16.png")); }
StackPanel ITreeViewItem.Header() { return(TreeViewUtils.CreateItemHeader(Name, ElementInfo.GetElementTypeImage(eElementType.ComboBox))); }
StackPanel ITreeViewItem.Header() { return(TreeViewUtils.CreateItemHeader(mProjEnvironmentFolder, nameof(RepositoryFolder <ProjEnvironment> .DisplayName), eImageType.Folder, GetSourceControlImage(mProjEnvironmentFolder), false)); }