-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
18 changed files
with
379 additions
and
273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,46 @@ | ||
using System; | ||
using IdAceCodeEditor.Views; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.ObjectModel; | ||
using System.Text; | ||
using System.Windows; | ||
using System.Windows.Input; | ||
|
||
namespace IdAceCodeEditor | ||
{ | ||
public class DataSource | ||
{ | ||
public ObservableCollection<Framework> Frameworks{ get; set; } | ||
|
||
private ICommand _guideMeCommand; | ||
|
||
public ICommand GuideMeCommand | ||
{ | ||
get | ||
{ | ||
if (_guideMeCommand == null) | ||
{ | ||
_guideMeCommand = new RelayCommand( | ||
param => this.GuideMe(param), | ||
param => this.CanGuideMe() | ||
); | ||
} | ||
return _guideMeCommand; | ||
} | ||
} | ||
|
||
private bool CanGuideMe() | ||
{ | ||
return true; | ||
// Verify command can be executed here | ||
} | ||
|
||
private void GuideMe(object o) | ||
{ | ||
GuideMeWindow guideMe = new GuideMeWindow(this); | ||
guideMe.Owner = (Window)o; | ||
guideMe.ShowDialog(); | ||
|
||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
using System; | ||
using IdAceCodeEditor.Views; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.ObjectModel; | ||
using System.Text; | ||
using System.Windows.Input; | ||
|
||
namespace IdAceCodeEditor | ||
{ | ||
public class Framework | ||
{ | ||
public string Name { get; set; } | ||
public string DisplayName { get; set; } | ||
public ObservableCollection<Sample> Samples{ get; set; } | ||
public ObservableCollection<Sample> Samples { get; set; } | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.