Added more Wikipedia configurations
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / actions / PHPOpenSQLTableEditorAction.java
index 9074af8..011993c 100644 (file)
@@ -4,7 +4,7 @@
  * the Common Public License v1.0 which accompanies this distribution, and is
  * available at http://www.eclipse.org/legal/cpl-v10.html
  * 
- * Contributors: Klaus Hartlage - www.eclipseproject.de
+ * Contributors: www.phpeclipse.de
  ******************************************************************************/
 package net.sourceforge.phpeclipse.actions;
 
@@ -17,7 +17,7 @@ import java.util.ArrayList;
 import net.sourceforge.phpeclipse.PHPeclipsePlugin;
 import net.sourceforge.phpeclipse.phpeditor.PHPEditor;
 import net.sourceforge.phpeclipse.ui.WebUI;
-import net.sourceforge.phpeclipse.ui.overlaypages.Util;
+import net.sourceforge.phpeclipse.ui.overlaypages.ProjectPrefUtil;
 
 import org.eclipse.core.resources.IContainer;
 import org.eclipse.core.resources.IFile;
@@ -209,7 +209,7 @@ public class PHPOpenSQLTableEditorAction extends ActionDelegate implements
     // Get The Database bookmark from the Quantum SQL plugin:
     BookmarkCollection sqlBookMarks = BookmarkCollection.getInstance();
     if (sqlBookMarks != null) {
-      String bookmarkString = Util.getMiscProjectsPreferenceValue(project,
+      String bookmarkString = ProjectPrefUtil.getMiscProjectsPreferenceValue(project,
           WebUI.PHP_BOOKMARK_DEFAULT);
       if (bookmarkString != null && !bookmarkString.equals("")) {
         Bookmark bookmark = sqlBookMarks.find(bookmarkString);
@@ -246,7 +246,7 @@ public class PHPOpenSQLTableEditorAction extends ActionDelegate implements
               if (sqlList.size() == 1) {
                 adapter = bookmark.getAdapter();
                 entity = entityFactory.create(bookmark, null, (String) sqlList
-                    .get(0), Entity.TABLE_TYPE);
+                    .get(0), Entity.TABLE_TYPE, false);
                 String query = adapter.getTableQuery(entity.getQualifiedName());
 
                 try {
@@ -278,7 +278,7 @@ public class PHPOpenSQLTableEditorAction extends ActionDelegate implements
                     for (int i = 0; i < locations.length; i++) {
                       adapter = bookmark.getAdapter();
                       entity = entityFactory.create(bookmark, null,
-                          (String) locations[i], Entity.TABLE_TYPE);
+                          (String) locations[i], Entity.TABLE_TYPE, false);
                       String query = adapter.getTableQuery(entity
                           .getQualifiedName());