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

            this.DataContext = this;

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