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;
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 enable and disable the creation of type comments go to
* Window>Preferences>Java>Code Generation.
*/
-public class EditBookmarkAction extends Action implements IViewActionDelegate {
+public class EditBookmarkAction extends Action implements IViewActionDelegate, IConstants {
IViewPart view;
/**
* @see org.eclipse.ui.IViewActionDelegate#init(IViewPart)
run();
}
public void run() {
+ if (DEBUG) {
System.out.println("Wizard..");
+ }
BookmarkWizard wizard = new BookmarkWizard();
BookmarkNode b = BookmarkView.getInstance().getCurrentBookmark();