Permalink
Browse files

Add getTabFolder method to SQLQueryDialog.

  • Loading branch information...
1 parent 037ffb8 commit 908d880359c566610c401058d397138deef89db3 jlindop committed Mar 25, 2008
@@ -39,16 +39,16 @@
private IFile _selectedFile;
private static final String sXMLWindowStateInfo =
-/* "<?xml version='1.0' encoding='UTF-8'?>" + "\n" +
+ "<?xml version='1.0' encoding='UTF-8'?>" + "\n" +
"<SQLQueryBuilder>" + "\n" +
- "<windowState version='1.0' height='435' width='668'>" + "\n" +
+ "<windowState version='1.0' height='700' width='700'>" + "\n" +
"<control name='SQLSourceViewer' isVisible='true' isHideable='true' height='81' width='641'/>" + "\n" +
"<control name='DesignViewer' isVisible='true' isHideable='true' height='106' width='654'/>" + "\n" +
"<control name='GraphControl' isVisible='true' isHideable='true' height='210' width='426'/>" + "\n" +
"<control name='OutlineViewer' isVisible='true' isHideable='false' height='214' width='200'/>" + "\n" +
"</windowState>" + "\n" +
"</SQLQueryBuilder>";
-*/
+
/*
"<?xml version='1.0' encoding='UTF-8'?>" + "\n" +
"<SQLQueryBuilder>" + "\n" +
@@ -60,13 +60,14 @@
"</windowState>" + "\n" +
"</SQLQueryBuilder>";
*/
+/*
"<?xml version='1.0' encoding='UTF-8'?>" + "\n" +
"<SQLQueryBuilder>" + "\n" +
"<windowState version='1.0'>" + "\n" +
"<control name='OutlineViewer' isVisible='false' isHideable='true'/>" + "\n" +
"</windowState>" + "\n" +
"</SQLQueryBuilder>";
-
+*/
private static final String sEditorInputUsageOptions =
"useWindowState=true";
@@ -409,5 +409,13 @@ public boolean close() {
public void executedSQL() {
_tabFolder.setSelection(_tabItemResults);
}
+
+ /**
+ * Returns the tab folder control that hosts the SQLBuilder and results view.
+ * @return
+ */
+ protected CTabFolder getTabFolder() {
+ return _tabFolder;
+ }
}

0 comments on commit 908d880

Please sign in to comment.