aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPGeometryDataView.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-10-08 12:31:32 +0000
committerBibiko <bibiko@eva.mpg.de>2010-10-08 12:31:32 +0000
commit271b47b558c0fdbf23c68d29163185127ac5d4f3 (patch)
treebf937b5c6990ddc8a4f50fd19267408210846d2e /Source/SPGeometryDataView.m
parent73dca377472fe466ac5b2b2d0ba13ae109863f59 (diff)
downloadsequelpro-271b47b558c0fdbf23c68d29163185127ac5d4f3.tar.gz
sequelpro-271b47b558c0fdbf23c68d29163185127ac5d4f3.tar.bz2
sequelpro-271b47b558c0fdbf23c68d29163185127ac5d4f3.zip
• improved issues for tooltip in Content and Custom tables
- added not yet supported MCPGeometryData view - removed @try clauses, instead make usage of pthread_mutex_lock etc. approach • adjusted autodetectWidthForColumnDefinition: for SPCopyTable to calculate the width by taking the WKT string of MCPGeometryData • added SPGeometryDataView class which will be used for displaying GEOMETRY data as image (for tooltips, inside field editor sheet) [not yet implemented]
Diffstat (limited to 'Source/SPGeometryDataView.m')
-rw-r--r--Source/SPGeometryDataView.m50
1 files changed, 50 insertions, 0 deletions
diff --git a/Source/SPGeometryDataView.m b/Source/SPGeometryDataView.m
new file mode 100644
index 00000000..8cfaf767
--- /dev/null
+++ b/Source/SPGeometryDataView.m
@@ -0,0 +1,50 @@
+//
+// $Id$
+//
+// SPGeometryDataView.h
+// sequel-pro
+//
+// Created by Hans-Jörg Bibiko on October 08, 2010
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// More info at <http://code.google.com/p/sequel-pro/>
+
+#import "SPGeometryDataView.h"
+
+
+@implementation SPGeometryDataView
+
+/**
+ * Initialize SPGeometryDataView object
+ */
+- (id)initWithFrame:(NSRect)frame
+{
+ if ( self = [super initWithFrame:frame] )
+ {
+ ;
+ }
+ return self;
+}
+
+/**
+ * dealloc
+ */
+- (void)dealloc
+{
+ [super dealloc];
+}
+
+@end