added file extension php5
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / actions / ViewTableAction.java
index 45c6a7d..91b9916 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.model.Entity;
 import com.quantum.view.bookmark.EntityNode;
 import com.quantum.view.tableview.TableView;
@@ -18,9 +18,9 @@ public class ViewTableAction extends SelectionListenerAction {
     private Entity entity;
     
        public ViewTableAction(IViewPart view) {
-        super(Messages.getString(ViewTableAction.class.getName() + ".text"));
+        super(Messages.getString(ViewTableAction.class, "text"));
         setImageDescriptor(
-            QuantumPlugin.getImageDescriptor("table.gif")); //$NON-NLS-1$
+                       ImageStore.getImageDescriptor(ImageStore.OPEN_TABLE));
        }
 
        public void run() {