{
addOrReplace(new Label("status", ""));
List<ITab> tabs = new ArrayList<ITab>();
ITab detailsTab = new AbstractTab(new ResourceModel("pam.details.tabs.pd_details"))
{
public Panel getPanel(String panelId)
{
return new DetailsPanel(panelId, paNodeBean);
}
};
tabs.add(detailsTab);
ITab metadataTab = new AbstractTab(new ResourceModel("pam.details.tabs.pd_metadata"))
{
public Panel getPanel(String panelId)
{
return new MetadataPanel(panelId, paNodeBean);
}
};
tabs.add(metadataTab);
ITab preferencesTab = new AbstractTab(new ResourceModel("pam.details.tabs.pd_preferences"))
{
public Panel getPanel(String panelId)
{
return new PreferencePanel(panelId, paNodeBean);
}
};
tabs.add(preferencesTab);
ITab languagesTab = new AbstractTab(new ResourceModel("pam.details.tabs.pd_languages"))
{
public Panel getPanel(String panelId)
{
return new LanguagesPanel(panelId, paNodeBean);
}
};
tabs.add(languagesTab);
ITab parametersTab = new AbstractTab(new ResourceModel("pam.details.tabs.pd_parameters"))
{
public Panel getPanel(String panelId)
{
return new ParameterPanel(panelId, paNodeBean);
}
};
tabs.add(parametersTab);
ITab securityTab = new AbstractTab(new ResourceModel("pam.details.tabs.pd_security"))
{
public Panel getPanel(String panelId)
{
return new SecurityPanel(panelId, paNodeBean);
}
};
tabs.add(securityTab);
ITab supportsTab = new AbstractTab(new ResourceModel("pam.details.tabs.pd_content_type"))
{
public Panel getPanel(String panelId)
{
return new SupportsPanel(panelId, paNodeBean);
}