View Javadoc

1   package org.starobjects.wicket.ui.components.entity.tabbed;
2   
3   import org.starobjects.wicket.model.models.EntityModel;
4   import org.starobjects.wicket.ui.ComponentType;
5   import org.starobjects.wicket.ui.tabs.TabAbstract;
6   
7   /**
8    * Tab holding the entity summary details.
9    */
10  class EntitySummaryTab extends TabAbstract<EntityModel> {
11  
12  	private static final long serialVersionUID = 1L;
13  
14  	public EntitySummaryTab(String id, EntityModel entityModel)
15      {
16          super(id, entityModel);
17  		addOrReplace(ComponentType.ENTITY_SUMMARY, entityModel);
18      }
19  }