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;
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.BOOKMARK));
}
public void run() {