public FeaturesConfigurationTab(
      final OfbizFacetConfiguration originalConfiguration, final FacetEditorContext editorContext) {
    this.originalConfiguration = originalConfiguration;

    disablePropertiesKeys.setSelected(originalConfiguration.isPropertiesKeysDisabled());

    final Module module = editorContext.getModule();
    // final String version = OfbizVersionDetector.detectStrutsVersion(module);
    final String version = "11.04";
    if (version != null) {
      versionComboBox.setModel(new DefaultComboBoxModel(new String[] {version}));
      versionComboBox.getModel().setSelectedItem(version);
      versionComboBox.setEnabled(false);
      return;
    }
  }
 public void apply() {
   originalConfiguration.setPropertiesKeysDisabled(disablePropertiesKeys.isSelected());
   originalConfiguration.setModified();
 }
 public boolean isModified() {
   return originalConfiguration.isPropertiesKeysDisabled() != disablePropertiesKeys.isSelected();
 }