private static final long serialVersionUID = 1L;
public Panel getPanel(String panelId)
{
Gifkikker panel = new Gifkikker(panelId);
SecureComponentHelper.setSecurityCheck(panel, new ContainerSecurityCheck(panel));
return panel;
}
public boolean isVisible()
{
// @TODO what todo with the new isVisible method ?
return true;
}
public IModel<String> getTitle()
{
return new Model<String>("Gifkikker");
}
public Class< ? extends Panel> getPanel()
{
return Gifkikker.class;
}
});
tabs.add(new ISecureTab()
{
private static final long serialVersionUID = 1L;
public Panel getPanel(String panelId)
{
Heineken panel = new Heineken(panelId);
SecureComponentHelper.setSecurityCheck(panel, new ContainerSecurityCheck(panel));
return panel;
}
public boolean isVisible()
{
// @TODO what todo with the new isVisible method ?
return true;
}
public IModel<String> getTitle()
{
return new Model<String>("Heineken");
}
public Class< ? extends Panel> getPanel()
{
return Heineken.class;
}
});
tabs.add(new ISecureTab()
{
private static final long serialVersionUID = 1L;
public Panel getPanel(String panelId)
{
Grolsch panel = new Grolsch(panelId);
SecureComponentHelper.setSecurityCheck(panel, new ContainerSecurityCheck(panel));
return panel;
}
public boolean isVisible()
{