forked from jakobehn/GitFlow.VS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTeamExplorerBaseNavigationLink.cs
67 lines (59 loc) · 1.66 KB
/
TeamExplorerBaseNavigationLink.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
using System;
using Microsoft.TeamFoundation.Controls;
namespace TeamExplorer.Common
{
/// <summary>
/// Team Explorer base navigation link class.
/// </summary>
public class TeamExplorerBaseNavigationLink : TeamExplorerBase, ITeamExplorerNavigationLink
{
/// <summary>
/// Constructor.
/// </summary>
public TeamExplorerBaseNavigationLink(IServiceProvider serviceProvider)
{
ServiceProvider = serviceProvider;
}
#region ITeamExplorerNavigationLink
/// <summary>
/// Get/set the item text.
/// </summary>
public string Text
{
get { return m_text; }
set { m_text = value; RaisePropertyChanged("Text"); }
}
private string m_text;
/// <summary>
/// Get/set the IsEnabled flag.
/// </summary>
public bool IsEnabled
{
get { return m_isEnabled; }
set { m_isEnabled = value; RaisePropertyChanged("IsEnabled"); }
}
private bool m_isEnabled = true;
/// <summary>
/// Get/set the IsVisible flag.
/// </summary>
public bool IsVisible
{
get { return m_isVisible; }
set { m_isVisible = value; RaisePropertyChanged("IsVisible"); }
}
private bool m_isVisible = true;
/// <summary>
/// Invalidate the link state.
/// </summary>
public virtual void Invalidate()
{
}
/// <summary>
/// Execute the link action.
/// </summary>
public virtual void Execute()
{
}
#endregion
}
}