From a2ca866232b626e7e10eefe32872dc8cb7de066f Mon Sep 17 00:00:00 2001 From: Michael Becker Date: Fri, 6 Sep 2019 19:52:32 -0400 Subject: [PATCH] Abstract implementation requirements have changed --- .../Editors/Contact/ContactEditor.cs | 15 ++++------- .../ContactGroup/ContactGroupEditor.cs | 13 ++++------ .../Editors/FamilyTree/FamilyTreeEditor.cs | 14 +++-------- .../Multimedia/Picture/PictureEditor.cs | 25 ++++++++----------- .../Editors/Syntax/SyntaxEditor.cs | 13 ++++------ 5 files changed, 29 insertions(+), 51 deletions(-) diff --git a/CSharp/Plugins.UserInterface/UniversalEditor.Plugins.AddressBook.UserInterface/Editors/Contact/ContactEditor.cs b/CSharp/Plugins.UserInterface/UniversalEditor.Plugins.AddressBook.UserInterface/Editors/Contact/ContactEditor.cs index e106038a..8205a153 100644 --- a/CSharp/Plugins.UserInterface/UniversalEditor.Plugins.AddressBook.UserInterface/Editors/Contact/ContactEditor.cs +++ b/CSharp/Plugins.UserInterface/UniversalEditor.Plugins.AddressBook.UserInterface/Editors/Contact/ContactEditor.cs @@ -299,19 +299,14 @@ namespace UniversalEditor.Editors.Contact } } - - - public override void Copy () + public override void UpdateSelections() { - throw new NotImplementedException (); + throw new NotImplementedException(); } - public override void Paste () + + protected override EditorSelection CreateSelectionInternal(object content) { - throw new NotImplementedException (); - } - public override void Delete () - { - throw new NotImplementedException (); + throw new NotImplementedException(); } } } diff --git a/CSharp/Plugins.UserInterface/UniversalEditor.Plugins.AddressBook.UserInterface/Editors/ContactGroup/ContactGroupEditor.cs b/CSharp/Plugins.UserInterface/UniversalEditor.Plugins.AddressBook.UserInterface/Editors/ContactGroup/ContactGroupEditor.cs index 26bf8679..c1a407a6 100644 --- a/CSharp/Plugins.UserInterface/UniversalEditor.Plugins.AddressBook.UserInterface/Editors/ContactGroup/ContactGroupEditor.cs +++ b/CSharp/Plugins.UserInterface/UniversalEditor.Plugins.AddressBook.UserInterface/Editors/ContactGroup/ContactGroupEditor.cs @@ -9,17 +9,14 @@ namespace UniversalEditor.Plugins.AddressBook.UserInterface.Editors.ContactGroup { } - public override void Copy () + public override void UpdateSelections() { - throw new NotImplementedException (); + throw new NotImplementedException(); } - public override void Paste () + + protected override EditorSelection CreateSelectionInternal(object content) { - throw new NotImplementedException (); - } - public override void Delete () - { - throw new NotImplementedException (); + throw new NotImplementedException(); } } } diff --git a/CSharp/Plugins.UserInterface/UniversalEditor.Plugins.Genealogy.UserInterface/Editors/FamilyTree/FamilyTreeEditor.cs b/CSharp/Plugins.UserInterface/UniversalEditor.Plugins.Genealogy.UserInterface/Editors/FamilyTree/FamilyTreeEditor.cs index f98b99de..6f671cb3 100644 --- a/CSharp/Plugins.UserInterface/UniversalEditor.Plugins.Genealogy.UserInterface/Editors/FamilyTree/FamilyTreeEditor.cs +++ b/CSharp/Plugins.UserInterface/UniversalEditor.Plugins.Genealogy.UserInterface/Editors/FamilyTree/FamilyTreeEditor.cs @@ -6,19 +6,13 @@ namespace UniversalEditor.Editors.FamilyTree { public class FamilyTreeEditor : Editor { - public override void Copy () + public override void UpdateSelections() { - throw new System.NotImplementedException (); + throw new NotImplementedException(); } - - public override void Delete () + protected override EditorSelection CreateSelectionInternal(object content) { - throw new System.NotImplementedException (); - } - - public override void Paste () - { - throw new System.NotImplementedException (); + throw new NotImplementedException(); } private static EditorReference _er = null; diff --git a/CSharp/Plugins.UserInterface/UniversalEditor.Plugins.Multimedia.UserInterface/Editors/Multimedia/Picture/PictureEditor.cs b/CSharp/Plugins.UserInterface/UniversalEditor.Plugins.Multimedia.UserInterface/Editors/Multimedia/Picture/PictureEditor.cs index 289bfe30..96ea7356 100644 --- a/CSharp/Plugins.UserInterface/UniversalEditor.Plugins.Multimedia.UserInterface/Editors/Multimedia/Picture/PictureEditor.cs +++ b/CSharp/Plugins.UserInterface/UniversalEditor.Plugins.Multimedia.UserInterface/Editors/Multimedia/Picture/PictureEditor.cs @@ -42,25 +42,20 @@ namespace UniversalEditor.Editors.Multimedia.Picture return _er; } - public override void Copy() - { - throw new NotImplementedException(); - } - - public override void Delete() - { - throw new NotImplementedException(); - } - - public override void Paste() - { - throw new NotImplementedException(); - } - protected override void OnObjectModelChanged(EventArgs e) { base.OnObjectModelChanged(e); this.da.Picture = (this.ObjectModel as PictureObjectModel); } + + public override void UpdateSelections() + { + throw new NotImplementedException(); + } + + protected override EditorSelection CreateSelectionInternal(object content) + { + throw new NotImplementedException(); + } } } diff --git a/CSharp/Plugins.UserInterface/UniversalEditor.Plugins.SoftwareDevelopment.UserInterface/Editors/Syntax/SyntaxEditor.cs b/CSharp/Plugins.UserInterface/UniversalEditor.Plugins.SoftwareDevelopment.UserInterface/Editors/Syntax/SyntaxEditor.cs index 1b306c6d..737fdc51 100644 --- a/CSharp/Plugins.UserInterface/UniversalEditor.Plugins.SoftwareDevelopment.UserInterface/Editors/Syntax/SyntaxEditor.cs +++ b/CSharp/Plugins.UserInterface/UniversalEditor.Plugins.SoftwareDevelopment.UserInterface/Editors/Syntax/SyntaxEditor.cs @@ -59,17 +59,14 @@ namespace UniversalEditor.Plugins.SoftwareDevelopment.UserInterface.Editors.Synt Controls.Add (txt, new BoxLayout.Constraints (true, true)); } - public override void Copy () + public override void UpdateSelections() { - throw new NotImplementedException (); + throw new NotImplementedException(); } - public override void Paste () + + protected override EditorSelection CreateSelectionInternal(object content) { - throw new NotImplementedException (); - } - public override void Delete () - { - throw new NotImplementedException (); + throw new NotImplementedException(); } } }