diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-10-08 19:57:21 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-10-08 19:57:21 +0000 |
commit | 8b4c46a01eab8f390ff4ab8ec5b78d8055ff4f34 (patch) | |
tree | 4a50ee43cccab449686c08d6626ccf4015086ae5 /Source/SPTableContent.m | |
parent | deea4b3347eed9d145bffcb0baf75544f99b6f14 (diff) | |
download | sequelpro-8b4c46a01eab8f390ff4ab8ec5b78d8055ff4f34.tar.gz sequelpro-8b4c46a01eab8f390ff4ab8ec5b78d8055ff4f34.tar.bz2 sequelpro-8b4c46a01eab8f390ff4ab8ec5b78d8055ff4f34.zip |
• some further work on displaying geometry fields as image
- to enable the very first approach simply uncomment code in SPTableContent tableView:toolTipForCell:rect:tableColumn:row:mouseLocation: for MCPGeometryData class
Diffstat (limited to 'Source/SPTableContent.m')
-rw-r--r-- | Source/SPTableContent.m | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m index 50ce0617..3aa154a7 100644 --- a/Source/SPTableContent.m +++ b/Source/SPTableContent.m @@ -51,6 +51,7 @@ #import "SPAlertSheets.h" #import "SPMainThreadTrampoline.h" #import "SPHistoryController.h" +#import "SPGeometryDataView.h" @implementation SPTableContent @@ -3349,7 +3350,14 @@ } } else if ([theValue isKindOfClass:[MCPGeometryData class]]) { - ; // TODO + // SPGeometryDataView *v = [[SPGeometryDataView alloc] initWithCoordinates:[theValue coordinates]]; + // image = [v image]; + // if(image) { + // [SPTooltip showWithObject:image atLocation:pos ofType:@"image"]; + // [v release]; + // return nil; + // } + // [v release]; } // Show the cell string value as tooltip (including line breaks and tabs) |