1) Added handling of conditional breakpoint to addBreakoint method.
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / actions / NewBookmarkAction.java
index b3dbd19..106580d 100644 (file)
@@ -1,7 +1,7 @@
 package com.quantum.actions;
 
+import com.quantum.ImageStore;
 import com.quantum.Messages;
-import com.quantum.QuantumPlugin;
 import com.quantum.wizards.BookmarkWizard;
 
 import org.eclipse.jface.action.Action;
@@ -17,9 +17,9 @@ public class NewBookmarkAction extends Action {
 
     public NewBookmarkAction(IViewPart view) {
         this.view = view;
-        setText(Messages.getString(getClass().getName() + ".text")); //$NON-NLS-1$
-        setToolTipText(Messages.getString(getClass().getName() + ".text")); //$NON-NLS-1$
-        setImageDescriptor(QuantumPlugin.getImageDescriptor("bookmarks.gif")); //$NON-NLS-1$
+        setText(Messages.getString(getClass(), "text")); //$NON-NLS-1$
+        setToolTipText(Messages.getString(getClass(), "text")); //$NON-NLS-1$
+        setImageDescriptor(ImageStore.getImageDescriptor(ImageStore.NEW_BOOKMARK));
     }
 
     public void run() {