@Override
 protected void initPageContent() {
   this.view = viewFactory.createTypeChoiceView();
   String label = properties.getOffensiveLabel();
   addStatisticsTypeRow(label, EquipmentStatisticsType.CloseCombat);
   addStatisticsTypeRow("", EquipmentStatisticsType.RangedCombat); // $NON-NLS-1$
   view.addHorizontalLine();
   addStatisticsTypeRow(properties.getDefensiveLabel(), EquipmentStatisticsType.Armor);
   addStatisticsTypeRow("", EquipmentStatisticsType.Shield); // $NON-NLS-1$
   view.addHorizontalLine();
   addStatisticsTypeRow(properties.getOtherLabel(), EquipmentStatisticsType.TraitModifying);
   addStatisticsTypeRow("", EquipmentStatisticsType.Artifact);
   /* if (editModel != null &&
   	editModel.getMaterialComposition() == MaterialComposition.Variable)
   {
   	//view.addHorizontalLine();
   	view.addCheckBox(properties.getMaterialToggleLabel(),
   			new ItemListener()
   			{
   	@Override
   	public void itemStateChanged(ItemEvent e) {
   		materialSpecific = e.getStateChange() == ItemEvent.DESELECTED;
   		inputListener.changeOccurred();
   	}
   			}, !materialSpecific);
   }*/
 }
  private void addStatisticsTypeRow(String label, final EquipmentStatisticsType type) {
    Action action =
        new SmartAction(properties.getIcon(type)) {
          private static final long serialVersionUID = 1L;

          @Override
          protected void execute(Component parentComponent) {
            model.setEquipmentType(type);
          }
        };
    String typeLabel = properties.getLabel(type);
    view.addStatisticsRow(label, action, typeLabel, model.getEquipmentType() == type);
  }