-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Begin work integrating the git app in
- Loading branch information
Showing
10 changed files
with
163 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "StructuredXmlEditor/Tools/GitTool"] | ||
path = StructuredXmlEditor/Tools/GitTool | ||
url = https://github.com/Lyeeedar/GitApp.git |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using GitApp; | ||
using StructuredXmlEditor.Data; | ||
|
||
namespace StructuredXmlEditor.Tools | ||
{ | ||
public class GitTool : ToolBase | ||
{ | ||
public ViewModelView View | ||
{ | ||
get | ||
{ | ||
if (m_view == null) | ||
{ | ||
m_view = new GitApp.ViewModelView(); | ||
} | ||
|
||
return m_view; | ||
} | ||
} | ||
private GitApp.ViewModelView m_view; | ||
|
||
public GitTool(Workspace workspace) : base(workspace, "Git Tool") | ||
{ | ||
DefaultPositionDocument = ToolPosition.Document; | ||
} | ||
} | ||
} |