/* $Id: BookmarkListAction.java 163 2011-05-15 15:57:51Z shayashi $ */
package smart_gs.menu.action;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;

import smart_gs.logical.ResourceBasket;
import smart_gs.swingui.ResourceList;

@SuppressWarnings("serial")
public class ResourceListAction extends AbstractAction {
	
	ResourceBasket resourceBasket;
	boolean isBookmarkList;
	
	public ResourceListAction(ResourceBasket resourceBasket, boolean isBookmarkList) {
		this.resourceBasket = resourceBasket;
		this.isBookmarkList = isBookmarkList;
	}
	

	@Override
	public void actionPerformed(ActionEvent e) {
		new ResourceListSelectionFrame(this.resourceBasket,isBookmarkList).showResourceSelectionFrame();
	}
}