@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); }*/ }
@Override protected final void initPageContent() { this.view = viewFactory.createEquipmentStatisticsView(); initNameRow(getProperties().getNameLabel(), getPageModel().getName()); addAdditionalContent(); }