package jadx.gui.ui.startpage;

import javax.swing.Icon;

import jadx.gui.treemodel.JClass;
import jadx.gui.treemodel.JNode;
import jadx.gui.ui.panel.ContentPanel;
import jadx.gui.ui.tab.TabbedPane;
import jadx.gui.utils.Icons;
import jadx.gui.utils.NLS;

public class StartPageNode extends JNode {
	private static final long serialVersionUID = 8983134608645736174L;

	@Override
	public boolean hasContent() {
		return true;
	}

	@Override
	public ContentPanel getContentPanel(TabbedPane tabbedPane) {
		return new StartPagePanel(tabbedPane, this);
	}

	@Override
	public String makeString() {
		return NLS.str("start_page.title");
	}

	@Override
	public Icon getIcon() {
		return Icons.START_PAGE;
	}

	@Override
	public JClass getJParent() {
		return null;
	}

	@Override
	public boolean supportsQuickTabs() {
		return false;
	}
}
