From 22ae0fa8c302d22071116abca27d2add3a0af991 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Tue, 16 Feb 2010 11:23:45 +0000 Subject: =?UTF-8?q?=E2=80=A2=20re-factored=20and=20outsourced=20the=20enti?= =?UTF-8?q?re=20CSV=20import=20field=20mapper=20sheet=20-=20changed=20the?= =?UTF-8?q?=20way=20to=20choose=20whether=20a=20source=20field=20should=20?= =?UTF-8?q?be=20imported=20or=20not=20by=20introducing=20a=20new=20table?= =?UTF-8?q?=20column=20'operators'=20-=20clicking=20at=20the=20'operator's?= =?UTF-8?q?=20header=20toggles=20all=20operators=20to=20'Import'=20or=20'D?= =?UTF-8?q?o=20not=20import'=20-=20added=20tooltips=20for=20each=20table?= =?UTF-8?q?=20cell;=20if=20file's=20first=20line=20are=20the=20headers=20s?= =?UTF-8?q?how=20them=20in=20the=20tooltips=20as=20well=20-=20added=20chec?= =?UTF-8?q?kbox=20"First=20line=20contains=20fields=20names"=20since=20it'?= =?UTF-8?q?ll=20be=20clear=20in=20this=20pane=20whether=20a=20file=20has?= =?UTF-8?q?=20a=20header=20line=20or=20not=20(will=20be=20sync=20with=20pr?= =?UTF-8?q?efs)=20-=20added=20the=20possibility=20to=20choose=20the=20impo?= =?UTF-8?q?rt=20method:=20INSERT=20INTO=20or=20REPLACE=20INTO=20=E2=80=A2?= =?UTF-8?q?=20deleted=20all=20old=20field=20mapper=20stuff=20from=20TableD?= =?UTF-8?q?ump=20and=20DBView.xib?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Notes: - tests are needed to be sure that this change does not cause mismatches while importing - symbols for Do (not) import are tendative - maybe use images - a further import method UPDATE plus an operator '=' will be added soon - chance to add a new global source variable will come soon - displaying of source field types will come soon - semi-automatically matching of source field names and header names will come soon - the GUI needs some improvements afterwards --- Interfaces/English.lproj/DBView.xib | 844 +----------------------------------- 1 file changed, 13 insertions(+), 831 deletions(-) (limited to 'Interfaces/English.lproj/DBView.xib') diff --git a/Interfaces/English.lproj/DBView.xib b/Interfaces/English.lproj/DBView.xib index 69fca47c..70e6c534 100644 --- a/Interfaces/English.lproj/DBView.xib +++ b/Interfaces/English.lproj/DBView.xib @@ -18,13 +18,13 @@ YES 740 740 - 1.2.2 + 1.2.5 YES - + YES @@ -1694,6 +1694,7 @@ NO NO NO + NO 0.0 0.0 @@ -8925,409 +8926,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 {3.40282e+38, 3.40282e+38} MYSQL_HELP_WINDOW - - 15 - 2 - {{262, 469}, {465, 294}} - 1886912512 - CSV Field Mapping - NSWindow - - View - - {3.40282e+38, 3.40282e+38} - {350, 250} - - - 256 - - YES - - - 10 - - YES - - - 256 - - YES - - - 268 - {{128, 16}, {160, 26}} - - YES - - -2076049856 - 2048 - - - 109199615 - 129 - - - 400 - 75 - - YES - - OtherViews - - YES - - - -1 - 1 - YES - YES - 2 - - - - - 268 - {{17, 22}, {109, 17}} - - YES - - 68288064 - 272630784 - Insert into table: - - - - - - - - {{1, 1}, {465, 60}} - - - - {{-1, 233}, {467, 62}} - - {0, 0} - - 67239424 - 0 - Box - - - - 3 - MCAwLjgwMDAwMDAxMTkAA - - - - 1 - 4 - 0 - NO - - 2 - MC45NDUwOTgxMDIxIDAuOTQ1MDk4MTAyMSAwLjk0NTA5ODEwMjEAA - - - - - 274 - - YES - - - 2304 - - YES - - - 256 - {423, 141} - - YES - - - 256 - {423, 17} - - - - - - -2147483392 - {{-22, 0}, {12, 17}} - - - - YES - - field - 210 - 15 - 1000 - - 75628096 - 2048 - Field - - - 3 - MC4zMzMzMzI5ODU2AA - - - - - 338820672 - 132096 - Text Cell - - - - - - 3 - YES - - - - value - 207 - 40 - 1000 - - 75628096 - 2048 - Value - - - - - - 338820672 - 132096 - Text Cell - - - - - - 3 - YES - YES - - - - 3 - 2 - - - 20 - 1379958784 - - - 1 - 1 - 15 - 0 - YES - 0 - - - {{1, 17}, {423, 141}} - - - - - 6 - - - - -2147483392 - {{413, 18}, {11, 140}} - - 256 - - _doScroller: - 0.9929078221321106 - - - - -2147483392 - {{-100, -100}, {227, 11}} - - 257 - - _doScroller: - 0.99047619104385376 - - - - 2304 - - YES - - - {{1, 0}, {423, 17}} - - - - - 4 - - - - {{20, 45}, {425, 159}} - - - 530 - - - - - - QSAAAEEgAABBsAAAQbAAAA - - - - 268 - {{17, 211}, {151, 13}} - - YES - - 67239424 - 4194304 - Please choose field mapping - - LucidaGrande-Bold - 10 - 16 - - - - - - - - - 289 - {{286, 6}, {82, 32}} - - YES - - 67239424 - 137887744 - Cancel - - - -2038284033 - 1 - - Helvetica - 13 - 16 - - - Gw - 200 - 25 - - - - - 289 - {{368, 6}, {83, 32}} - - 1 - YES - - 67239424 - 137887744 - Import - - - 1 - -2038284033 - 1 - - - DQ - 200 - 25 - - - - - 292 - {{20, 11}, {32, 24}} - - YES - - 604110336 - 134217728 - - - - -2030812929 - 34 - - NSImage - NSGoLeftTemplate - - - - 400 - 75 - - - - - 292 - {{51, 11}, {32, 24}} - - 1 - YES - - 67239424 - 134217728 - - - - 1 - -2030812929 - 34 - - NSImage - NSGoRightTemplate - - - - 400 - 75 - - - - - 290 - {{88, 16}, {199, 14}} - - YES - - 67239488 - 272763136 - x of y records - - - - - - - - {465, 294} - - {{0, 0}, {1920, 1178}} - {350, 272} - {3.40282e+38, 3.40282e+38} - 9 2 @@ -11352,7 +10950,10 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 YES 27 - + + NSImage + NSGoLeftTemplate + Back YES @@ -11360,7 +10961,10 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 27 - + + NSImage + NSGoRightTemplate + Forward 1 @@ -12787,86 +12391,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 4524 - - - recordCountLabel - - - - 4597 - - - - stepRow: - - - - 4598 - - - - stepRow: - - - - 4599 - - - - rowUpButton - - - - 4600 - - - - rowDownButton - - - - 4601 - - - - dataSource - - - - 4602 - - - - fieldMappingTableView - - - - 4603 - - - - changeTable: - - - - 4605 - - - - fieldMappingPopup - - - - 4606 - - - - fieldMappingSheet - - - - 4607 - filterTable: @@ -15564,22 +15088,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 6752 - - - closeFieldMapperSheet: - - - - 6758 - - - - closeFieldMapperSheet: - - - - 6759 - previousHistoryMenuItem @@ -17196,228 +16704,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 - - 4565 - - - YES - - - - CSV Field Mapping Sheet - - - 4566 - - - YES - - - - - - - - - - - - - 4567 - - - YES - - - - - - 4568 - - - YES - - - - - - 4569 - - - YES - - - - - - 4570 - - - YES - - - - - - 4571 - - - YES - - - - - - 4572 - - - YES - - - - - - 4573 - - - YES - - - - - - - 4574 - - - YES - - - - - - - - - 4575 - - - - - 4576 - - - - - 4577 - - - - - 4578 - - - YES - - - - - - - 4579 - - - YES - - - - - - 4580 - - - YES - - - - - - 4581 - - - - - 4582 - - - - - 4583 - - - YES - - - - - - 4584 - - - YES - - - - - - 4585 - - - - - 4586 - - - YES - - - - - - 4587 - - - - - 4588 - - - - - 4589 - - - - - 4590 - - - - - 4591 - - - - - 4592 - - - - - 4593 - - - 4702 @@ -22750,58 +22036,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 4521.IBPluginDependency 4522.IBPluginDependency 4523.IBPluginDependency - 4565.IBEditorWindowLastContentRect - 4565.IBPluginDependency - 4565.IBWindowTemplateEditedContentRect - 4565.ImportedFromIB2 - 4565.editorWindowContentRectSynchronizationRect - 4565.windowTemplate.hasMaxSize - 4565.windowTemplate.hasMinSize - 4565.windowTemplate.maxSize - 4565.windowTemplate.minSize - 4566.IBPluginDependency - 4566.ImportedFromIB2 - 4567.IBPluginDependency - 4568.IBPluginDependency - 4568.ImportedFromIB2 - 4569.IBPluginDependency - 4569.ImportedFromIB2 - 4570.IBPluginDependency - 4570.ImportedFromIB2 - 4571.IBPluginDependency - 4571.ImportedFromIB2 - 4572.IBPluginDependency - 4572.ImportedFromIB2 - 4573.IBPluginDependency - 4574.IBPluginDependency - 4574.ImportedFromIB2 - 4575.IBPluginDependency - 4576.IBPluginDependency - 4576.IBShouldRemoveOnLegacySave - 4577.IBPluginDependency - 4577.IBShouldRemoveOnLegacySave - 4578.IBPluginDependency - 4578.ImportedFromIB2 - 4579.IBPluginDependency - 4579.ImportedFromIB2 - 4580.IBPluginDependency - 4580.ImportedFromIB2 - 4581.IBPluginDependency - 4581.IBShouldRemoveOnLegacySave - 4582.IBPluginDependency - 4582.IBShouldRemoveOnLegacySave - 4583.IBPluginDependency - 4584.IBPluginDependency - 4585.IBPluginDependency - 4586.IBPluginDependency - 4587.IBEditorWindowLastContentRect - 4587.IBPluginDependency - 4588.IBPluginDependency - 4589.IBPluginDependency - 4590.IBPluginDependency - 4591.IBPluginDependency - 4592.IBPluginDependency - 4593.IBPluginDependency 4676.IBPluginDependency 4677.IBPluginDependency 4741.IBPluginDependency @@ -24374,58 +23608,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{315, 449}, {465, 294}} - com.apple.InterfaceBuilder.CocoaPlugin - {{315, 449}, {465, 294}} - - {{387, 725}, {432, 282}} - - - {3.40282e+38, 3.40282e+38} - {350, 250} - 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 - 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 - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{611, 880}, {113, 4}} - 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 com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -24487,10 +23669,10 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{95, 306}, {944, 550}} + {{95, 206}, {944, 550}} com.apple.InterfaceBuilder.CocoaPlugin - {{95, 306}, {944, 550}} + {{95, 206}, {944, 550}} {{62, 352}, {845, 504}} -- cgit v1.2.3