List:Commits« Previous MessageNext Message »
From:rburnett Date:November 25 2008 5:20pm
Subject:Connector/NET commit: r1465 - in trunk/MySql.VisualStudio: . CtcComponents DDEX Nodes
View as plain text  
Modified:
   trunk/MySql.VisualStudio/CtcComponents/Guids.h
   trunk/MySql.VisualStudio/CtcComponents/PkgCmd.ctc
   trunk/MySql.VisualStudio/CtcComponents/PkgCmdID.h
   trunk/MySql.VisualStudio/DDEX/MySqlDataViewSupport.xml
   trunk/MySql.VisualStudio/Nodes/BaseNode.cs
   trunk/MySql.VisualStudio/PkgCmdID.cs
Log:
removed clone from this release.  we will look at bringing it back in a future release if users really use it

Modified: trunk/MySql.VisualStudio/CtcComponents/Guids.h
===================================================================
--- trunk/MySql.VisualStudio/CtcComponents/Guids.h	2008-11-20 22:49:24 UTC (rev 1464)
+++ trunk/MySql.VisualStudio/CtcComponents/Guids.h	2008-11-25 17:20:32 UTC (rev 1465)
@@ -35,6 +35,8 @@
 
 #define DavinciCommandSet       { 0x732ABE75, 0xCD80, 0x11D0, { 0xA2, 0xDB, 0x00, 0xAA, 0x00, 0xA3, 0xEF, 0xFF } }
 
+#define TableDesignerToolbar    { 0x732ABE74, 0xCD80, 0x11D0, { 0xA2, 0xDB, 0x00, 0xAA, 0x00, 0xA3, 0xEF, 0xFF } }
+
 #define StandardCommandSet      { 0x5efc7975, 0x14bc, 0x11cf  { 0x9b, 0x2b, 0x00, 0xaa, 0x00, 0x57, 0x38, 0x19 } }
 
 #define TableEditorGuid         { 0x7363513B, 0x298D, 0x49eb, { 0xB9, 0xD9, 0x26, 0x4C, 0xE6, 0xC4, 0x75, 0x40 } }

Modified: trunk/MySql.VisualStudio/CtcComponents/PkgCmd.ctc
===================================================================
--- trunk/MySql.VisualStudio/CtcComponents/PkgCmd.ctc	2008-11-20 22:49:24 UTC (rev 1464)
+++ trunk/MySql.VisualStudio/CtcComponents/PkgCmd.ctc	2008-11-25 17:20:32 UTC (rev 1465)
@@ -110,5 +110,6 @@
 CMDPLACEMENT_END
 
 VISIBILITY_SECTION
-	DavinciCommandSet:29, TableEditorGuid;
-VISIBILITY_END
\ No newline at end of file
+	CMDSETID_StandardCommandSet97:109, TableEditorGuid;
+	TableDesignerToolbar:107, TableEditorGuid;
+VISIBILITY_END

Modified: trunk/MySql.VisualStudio/CtcComponents/PkgCmdID.h
===================================================================
--- trunk/MySql.VisualStudio/CtcComponents/PkgCmdID.h	2008-11-20 22:49:24 UTC (rev 1464)
+++ trunk/MySql.VisualStudio/CtcComponents/PkgCmdID.h	2008-11-25 17:20:32 UTC (rev 1465)
@@ -21,14 +21,11 @@
 ///////////////////////////////////////////////////////////////////////////////
 // Commands
 #define cmdidCreateTable 0x0100
-#define cmdidCloneTable  0x0103
 
 #define cmdidAlterView  0x0111
-#define cmdidCloneView  0x0113
 
 #define cmdidCreateProcedure 0x0120
 #define cmdidAlterProcedure  0x0121
-#define cmdidCloneProcedure  0x0123
 
 #define cmdidCreateFunction 0x0130
 

Modified: trunk/MySql.VisualStudio/DDEX/MySqlDataViewSupport.xml
===================================================================
--- trunk/MySql.VisualStudio/DDEX/MySqlDataViewSupport.xml	2008-11-20 22:49:24 UTC (rev 1464)
+++ trunk/MySql.VisualStudio/DDEX/MySqlDataViewSupport.xml	2008-11-25 17:20:32 UTC (rev 1465)
@@ -435,7 +435,6 @@
           <Parameter value="Table"/>
         </CommandBinding>
         <CommandBinding name="CreateTrigger" guid="B87CB51F-8A01-4c5e-BF3E-5D0565D5397D" cmdid="320" handler="MySql.Data.VisualStudio.MySqlDataViewCommandHandler" />
-        <CommandBinding name="CloneTable" guid="B87CB51F-8A01-4c5e-BF3E-5D0565D5397D" cmdid="259" handler="MySql.Data.VisualStudio.MySqlDataViewCommandHandler" />
         <CommandBinding name="Browse_Data" guid="501822E1-B5AF-11d0-B4DC-00A0C91506EF" cmdid="12384"
                         handler="Microsoft.VisualStudio.DataTools.DBPackage.VDT_OLEDB_CommandHandler_TableTools">
           <Parameter value="Open"/>
@@ -537,7 +536,6 @@
           <Parameter value="View"/>
         </CommandBinding>
 
-        <CommandBinding name="CloneView" guid="B87CB51F-8A01-4c5e-BF3E-5D0565D5397D" cmdid="275" handler="MySql.Data.VisualStudio.MySqlDataViewCommandHandler" />
         <CommandBinding name="BrowseOrEditData" guid="B87CB51F-8A01-4c5e-BF3E-5D0565D5397D" cmdid="352" handler="MySql.Data.VisualStudio.MySqlDataViewCommandHandler" />
         <CommandBinding name="Browse_Data" guid="501822E1-B5AF-11d0-B4DC-00A0C91506EF" cmdid="12384" 
                         handler="Microsoft.VisualStudio.DataTools.DBPackage.VDT_OLEDB_CommandHandler_TableTools">
@@ -992,7 +990,6 @@
       <CommandBindings defaultCommand="AlterStoredProcedure">
         <CommandBinding name="AlterStoredProcedure" guid="B87CB51F-8A01-4c5e-BF3E-5D0565D5397D" cmdid="289" handler="MySql.Data.VisualStudio.MySqlDataViewCommandHandler" />
         <CommandBinding name="DeleteProcedure" guid="B87CB51F-8A01-4c5e-BF3E-5D0565D5397D" cmdid="337" handler="MySql.Data.VisualStudio.MySqlDataViewCommandHandler" />
-        <CommandBinding name="CloneStoredProcedure" guid="B87CB51F-8A01-4c5e-BF3E-5D0565D5397D" cmdid="291" handler="MySql.Data.VisualStudio.MySqlDataViewCommandHandler" />
         <!-- global data menus -->
         <CommandBinding name="NewQuery" guid="501822E1-B5AF-11d0-B4DC-00A0C91506EF" cmdid="13608" handler="884DD964-5327-461f-9F06-6484DD540F8F">
           <Parameter value="NewQuery"/>

Modified: trunk/MySql.VisualStudio/Nodes/BaseNode.cs
===================================================================
--- trunk/MySql.VisualStudio/Nodes/BaseNode.cs	2008-11-20 22:49:24 UTC (rev 1464)
+++ trunk/MySql.VisualStudio/Nodes/BaseNode.cs	2008-11-25 17:20:32 UTC (rev 1465)
@@ -107,12 +107,6 @@
                 case PkgCmdIDList.cmdDelete:
 					Drop();
 					break;
-
-				case PkgCmdIDList.cmdCloneTable:
-				case PkgCmdIDList.cmdCloneProcedure:
-				case PkgCmdIDList.cmdCloneView:
-					Clone();
-					break;
 			}
 		}
 
@@ -166,10 +160,6 @@
             }
         }
 
-        public virtual void Clone() 
-        { 
-        }
-
         protected virtual string GenerateUniqueName()
         {
             DbConnection conn = (DbConnection)HierarchyAccessor.Connection.GetLockedProviderObject();
@@ -208,6 +198,7 @@
 			IVsWindowFrame winFrame = null;
 
 			object editor = GetEditor();
+            editorGuid = editor.GetType().GUID;
             object coreEditor = (editor is TextBufferEditor) ?
                 (editor as TextBufferEditor).CodeWindow : editor;
 
@@ -215,6 +206,8 @@
 			IntPtr dataPunk = Marshal.GetIUnknownForObject(this);
             Guid viewGuid = VSConstants.LOGVIEWID_TextView;
 
+            commandGroupGuid = editorGuid;
+
 			// Initialize IDE editor infrastracture
 			int result = shell.InitializeEditorInstance(
 				(uint)0,                // Initialization flags. We need default behavior here
@@ -292,8 +285,5 @@
         }
 
         #endregion
-
-
-
 	}
 }

Modified: trunk/MySql.VisualStudio/PkgCmdID.cs
===================================================================
--- trunk/MySql.VisualStudio/PkgCmdID.cs	2008-11-20 22:49:24 UTC (rev 1464)
+++ trunk/MySql.VisualStudio/PkgCmdID.cs	2008-11-25 17:20:32 UTC (rev 1465)
@@ -8,16 +8,13 @@
     {
         public const uint cmdCreateTable =        0x100;
         public const uint cmdAlterTable =        0x101;
-        public const uint cmdCloneTable =        0x103;
 
 		public const uint cmdCreateView = 0x110;
 		public const uint cmdAlterView = 0x111;
 		public const uint cmdDropView = 0x112;
-		public const uint cmdCloneView = 0x113;
 
 		public const uint cmdCreateProcedure = 0x120;
 		public const uint cmdAlterProcedure = 0x121;
-		public const uint cmdCloneProcedure = 0x123;
 
 		public const uint cmdCreateFunction = 0x130;
 

Thread
Connector/NET commit: r1465 - in trunk/MySql.VisualStudio: . CtcComponents DDEX Nodesrburnett25 Nov