package eu.dnetlib.client.resources;

import java.util.LinkedHashMap;

import eu.dnetlib.client.shared.Filtering;
import eu.dnetlib.client.shared.ResourceThumb;
import eu.dnetlib.client.shared.StartUpComponents;

public class SecondaryTab extends Tab {

	private final LinkedHashMap<String, ResourceThumb> recommendedResourceThumbMap = new LinkedHashMap<String, ResourceThumb>();

	public SecondaryTab(String type, String topTitle, String topId, String bottomTitle, String bottomId, StartUpComponents startUpComponents) {
		super(type, topTitle, topId, bottomTitle, bottomId, startUpComponents);
		filter = new Filtering(topId, bottomId, resourceThumbMap, recommendedResourceThumbMap, startUpComponents, true);
		panel.addStyleName("secondTabContent");
		fillPanel();
	}

	public LinkedHashMap<String, ResourceThumb> getRecommendedResourceThumbMap() {
		return recommendedResourceThumbMap;
	}
}