@Override
  public void actionPerformed(final ActionEvent e) {
    final MetaObjectNode mon = new MetaObjectNode(getCidsBean());

    if (MethodManager.getManager().checkPermission(mon, PermissionHolder.WRITEPERMISSION)) {
      ComponentRegistry.getRegistry().showComponent(ComponentRegistry.ATTRIBUTE_EDITOR);
      ComponentRegistry.getRegistry().getAttributeEditor().setTreeNode(mon);
    } else {
      LOG.warn("insufficient permission to edit breaking edge"); // NOI18N
    }
  }
  /**
   * DOCUMENT ME!
   *
   * @param e DOCUMENT ME!
   */
  @Override
  public void actionPerformed(final ActionEvent e) {
    final WizardDescriptor wizard = new WizardDescriptor(getPanels());
    wizard.setTitleFormat(new MessageFormat("{0}")); // NOI18N
    wizard.setTitle(
        NbBundle.getMessage(
            ImportGeoCPMWizardAction.class, "ImportGeoCPMWizardAction.wizard.title")); // NOI18N

    final Dialog dialog = DialogDisplayer.getDefault().createDialog(wizard);
    dialog.pack();
    dialog.setLocationRelativeTo(ComponentRegistry.getRegistry().getMainWindow());
    dialog.setVisible(true);
    dialog.toFront();

    final boolean cancelled = wizard.getValue() != WizardDescriptor.FINISH_OPTION;

    if (cancelled) {
      for (final Object o : getPanels()) {
        if (o instanceof Cancellable) {
          ((Cancellable) o).cancel();
        }
      }
    }
    // there is no need to do anything, when finished successfully
  }