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;
* Implements action for "View Table"
*/
public class ViewTableAction extends SelectionListenerAction {
- private IViewPart view;
private Entity entity;
public ViewTableAction(IViewPart view) {
- super(Messages.getString(ViewTableAction.class.getName() + ".text"));
- this.view = view;
+ super(Messages.getString(ViewTableAction.class, "text"));
setImageDescriptor(
- QuantumPlugin.getImageDescriptor("table.gif")); //$NON-NLS-1$
+ ImageStore.getImageDescriptor(ImageStore.OPEN_TABLE));
}
public void run() {