/** Initalisiert die grafischen Elemente der Konfigurationsmaske */
  public void initComponents() {
    super.initComponents();

    cPathActive =
        CWComponentFactory.createCheckBox(
            getModel().getPathPanelActiveModel(), "Anzeigepfad aktivieren");
    cbPathPosition = CWComponentFactory.createComboBox(getModel().getPathPanelPositionSelection());

    getComponentContainer().addComponent(cPathActive).addComponent(cbPathPosition);

    cPathActive.addItemListener(
        cbPathActiveListener =
            new ItemListener() {
              public void itemStateChanged(ItemEvent e) {
                //                if(e.getStateChange() == ItemEvent.SELECTED) {
                //                    cbPathPosition.setEnabled(true);
                //                } else {
                //                    cbPathPosition.setEnabled(false);
                //                }
                cbPathPosition.setEnabled(cPathActive.isSelected());
              }
            });
    cbPathPosition.setEnabled(cPathActive.isSelected());
  }
 @Override
 public void dispose() {
   cPathActive.removeItemListener(cbPathActiveListener);
   super.dispose();
 }