updating SQL plugin with latest Quantum code
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.sql / src / net / sourceforge / phpdt / sql / actions / EditBookmarkAction.java
index 7d204fe..901fc34 100644 (file)
@@ -1,10 +1,5 @@
 package net.sourceforge.phpdt.sql.actions;
 
-import net.sourceforge.phpdt.sql.IConstants;
-import net.sourceforge.phpdt.sql.view.BookmarkView;
-import net.sourceforge.phpdt.sql.view.bookmark.BookmarkNode;
-import net.sourceforge.phpdt.sql.wizards.BookmarkWizard;
-
 import org.eclipse.jface.action.Action;
 import org.eclipse.jface.action.IAction;
 import org.eclipse.jface.viewers.ISelection;
@@ -12,15 +7,16 @@ import org.eclipse.jface.wizard.WizardDialog;
 import org.eclipse.ui.IViewActionDelegate;
 import org.eclipse.ui.IViewPart;
 
+import net.sourceforge.phpdt.sql.view.BookmarkView;
+import net.sourceforge.phpdt.sql.view.bookmark.BookmarkNode;
+import net.sourceforge.phpdt.sql.wizards.BookmarkWizard;
+
 /**
  * @author root
  *
- * To change this generated comment edit the template variable "typecomment":
- * Window>Preferences>Java>Templates.
- * To enable and disable the creation of type comments go to
- * Window>Preferences>Java>Code Generation.
+ *     Edits a bookmark
  */
-public class EditBookmarkAction extends Action  implements IViewActionDelegate, IConstants {
+public class EditBookmarkAction extends Action  implements IViewActionDelegate {
    IViewPart view;
        /**
         * @see org.eclipse.ui.IViewActionDelegate#init(IViewPart)
@@ -37,9 +33,7 @@ public class EditBookmarkAction extends Action  implements IViewActionDelegate,
                run();
        }
        public void run() {
-    if (DEBUG) {
-               System.out.println("Wizard..");
-    }
+               System.out.println("Wizard.."); //$NON-NLS-1$
                BookmarkWizard wizard = new BookmarkWizard();
                
                BookmarkNode b = BookmarkView.getInstance().getCurrentBookmark();