aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableContent.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-10-08 19:57:21 +0000
committerBibiko <bibiko@eva.mpg.de>2010-10-08 19:57:21 +0000
commit8b4c46a01eab8f390ff4ab8ec5b78d8055ff4f34 (patch)
tree4a50ee43cccab449686c08d6626ccf4015086ae5 /Source/SPTableContent.m
parentdeea4b3347eed9d145bffcb0baf75544f99b6f14 (diff)
downloadsequelpro-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.m10
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)