2 * Created on 22-jul-2003
5 package com.quantum.actions;
7 import com.quantum.ImageStore;
8 import com.quantum.Messages;
9 import com.quantum.adapters.DatabaseAdapter;
10 import com.quantum.view.bookmark.EntityNode;
12 import org.eclipse.ui.IViewPart;
14 public class PrevSequenceAction extends BaseSequenceAction {
19 public PrevSequenceAction(IViewPart view) {
20 super(Messages.getString(PrevSequenceAction.class.getName() + ".text"), view);
21 setImageDescriptor(ImageStore.getImageDescriptor(ImageStore.GRID));
30 protected String getQuery(EntityNode sequence, String name, DatabaseAdapter adapter) {
31 return adapter.getPrevValue(name, sequence.getEntity().getSchema());