public AddConnectionControl(IGraphFacade facade)
            : this()
        {
            this._facade = facade;

            this.DataContext = this;

            this.UpdateTermsListBox();
            this.UpdatePagesListBox();
            this.UpdateSentencesListBox(0);
        }
示例#2
0
 public override bool Undo(IGraphFacade facade)
 {
     return facade.RemoveTerm(this.Term);
 }
示例#3
0
 public override bool Do(IGraphFacade facade)
 {
     return facade.AddTerm(this.Term);
 }
示例#4
0
 public override bool Undo(IGraphFacade facade)
 {
     return this.Action.Do(facade);
 }
 public AddSentenceControl(IGraphFacade facade)
     : this()
 {
     this._facade = facade;
 }
示例#6
0
 public override bool Undo(IGraphFacade facade)
 {
     return facade.RemoveSentence(this.Page, this.Sentence);
 }
示例#7
0
 public abstract bool Undo(IGraphFacade facade);
示例#8
0
 public override bool Do(IGraphFacade facade)
 {
     return facade.AddSentence(this.Page, this.Sentence);
 }
 public ContentAwareGraphFacade(IGraphFacade graphFacade)
 {
     this._graphFacade = graphFacade;
 }
示例#10
0
 public AddTermControl(IGraphFacade facade)
     : this()
 {
     this._facade = facade;
 }
示例#11
0
 public override bool Undo(IGraphFacade facade)
 {
     return facade.Disconnect(this.Page, this.Sentence, this.Term);
 }
示例#12
0
 public override bool Do(IGraphFacade facade)
 {
     return facade.Connect(this.Page, this.Sentence, this.Term, this.ConnectionType);
 }