* {@inheritDoc}
*/
@Override
protected void initUI() {
//User profile tab
addTab(TABALIAS_USER_PROFILE, new AbstractTab(new ResourceModel(MKEY_USER_PROFILE)) {
private static final long serialVersionUID = 1L;
@Override
public WebMarkupContainer getPanel(String containerId) {
return new UserProfilePanel(containerId);
}
});
//User summary tab
addTab(TABALIAS_USER_SUMMARY, new AbstractTab(new ResourceModel(MKEY_USER_SUMMARY)) {
private static final long serialVersionUID = 1L;
@Override
public WebMarkupContainer getPanel(String containerId) {
return new UserSummaryPanel(containerId);
}
});
//User messages tab
addTab(TABALIAS_USER_MESSAGES, new AbstractTab(new ResourceModel(MKEY_USER_MESSAGES)) {
private static final long serialVersionUID = 1L;
@Override
public WebMarkupContainer getPanel(String containerId) {
return new UserMessagesPanel(containerId);
}
});
//User skills tab
addTab(TABALIAS_USER_SKILLS, new AbstractTab(new ResourceModel(MKEY_USER_SKILLS)) {
private static final long serialVersionUID = 1L;
@Override
public WebMarkupContainer getPanel(String containerId) {
return new UserSkillsPanel(containerId);