From c4bd975b837184ed6742968982e1298d3f9ead7f Mon Sep 17 00:00:00 2001 From: Bibiko Date: Tue, 24 Aug 2010 09:53:32 +0000 Subject: =?UTF-8?q?=E2=80=A2=20added=20context=20menu=20for=20Copy,=20Copy?= =?UTF-8?q?=20with=20Header,=20Copy=20as=20SQL=20Insert=20to=20Custom=20Qu?= =?UTF-8?q?ery=20table?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Interfaces/English.lproj/DBView.xib | 150 +++++++++++++++++++++++++++++++++++- Source/SPCustomQuery.h | 2 +- Source/SPCustomQuery.m | 1 + 3 files changed, 149 insertions(+), 4 deletions(-) diff --git a/Interfaces/English.lproj/DBView.xib b/Interfaces/English.lproj/DBView.xib index d35fb900..256df5df 100644 --- a/Interfaces/English.lproj/DBView.xib +++ b/Interfaces/English.lproj/DBView.xib @@ -23,7 +23,9 @@ YES - + + + YES @@ -10184,6 +10186,59 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 + + + + YES + + + Copy + + 2147483647 + + + 2001 + + + + Copy with Column Names + + 2147483647 + + + 2002 + + + + Copy as SQL INSERT + + 2147483647 + + + 2003 + + + + YES + YES + YES + + + 2147483647 + + + + + + YES + Delete Row + + 2147483647 + + + + + @@ -14570,6 +14625,38 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 7466 + + + menu + + + + 7479 + + + + copy: + + + + 7481 + + + + copy: + + + + 7482 + + + + copy: + + + + 7483 + @@ -20477,6 +20564,45 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 + + 7467 + + + YES + + + + + + + + Table Custom Query Menu + + + 7468 + + + + + 7469 + + + + + 7470 + + + + + 7473 + + + + + 7472 + + + @@ -21665,6 +21791,15 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 7463.IBAttributePlaceholdersKey 7463.IBPluginDependency 7464.IBPluginDependency + 7467.IBEditorWindowLastContentRect + 7467.IBPluginDependency + 7468.IBPluginDependency + 7468.ImportedFromIB2 + 7469.IBPluginDependency + 7469.ImportedFromIB2 + 7470.IBPluginDependency + 7472.IBPluginDependency + 7473.IBPluginDependency 748.IBPluginDependency 748.ImportedFromIB2 749.IBPluginDependency @@ -23001,7 +23136,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{337, 160}, {943, 549}} + {{-142, 249}, {943, 549}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -23291,6 +23426,15 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + {{584, 533}, {228, 93}} + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -23333,7 +23477,7 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 - 7466 + 7483 diff --git a/Source/SPCustomQuery.h b/Source/SPCustomQuery.h index 0081ce5c..e2333c2d 100644 --- a/Source/SPCustomQuery.h +++ b/Source/SPCustomQuery.h @@ -47,7 +47,7 @@ #define SP_HISTORY_SAVE_MENUITEM_TAG 300001 #define SP_HISTORY_CLEAR_MENUITEM_TAG 300002 -@class SPQueryFavoriteManager, SPDataStorage, BWSplitView; +@class SPCopyTable, SPQueryFavoriteManager, SPDataStorage, BWSplitView; @interface SPCustomQuery : NSObject { diff --git a/Source/SPCustomQuery.m b/Source/SPCustomQuery.m index 8c2d7e83..01ff517b 100644 --- a/Source/SPCustomQuery.m +++ b/Source/SPCustomQuery.m @@ -44,6 +44,7 @@ #import "SPDataStorage.h" #import "SPAlertSheets.h" #import "SPMainThreadTrampoline.h" +#import "SPCopyTable.h" #import -- cgit v1.2.3