/**
  * Removes a configuration element created listener.
  *
  * @param listener the listener.
  */
 public void removeConfigurationElementCreatedListener(
     ConfigurationElementCreatedListener listener) {
   super.removeConfigurationElementCreatedListener(listener);
   for (SchemaElementPanel panel : panels) {
     panel.removeConfigurationElementCreatedListener(listener);
   }
 }
 /**
  * Tells whether the user chose to save the changes in the panel, to not save them or simply
  * canceled the selection in the tree.
  *
  * @return the value telling whether the user chose to save the changes in the panel, to not save
  *     them or simply canceled the selection in the tree.
  */
 public UnsavedChangesDialog.Result checkUnsavedChanges() {
   if (schemaElementPanel != null) {
     return schemaElementPanel.checkUnsavedChanges();
   }
   return UnsavedChangesDialog.Result.DO_NOT_SAVE;
 }
 /**
  * Method used to know if there are unsaved changes or not. It is used by the schema selection
  * listener when the user changes the selection.
  *
  * @return <CODE>true</CODE> if there are unsaved changes (and so the selection of the schema
  *     should be canceled) and <CODE>false</CODE> otherwise.
  */
 public boolean mustCheckUnsavedChanges() {
   return schemaElementPanel != null && schemaElementPanel.mustCheckUnsavedChanges();
 }
 /**
  * Removes an schema element selection listener.
  *
  * @param listener the schema element selection listener.
  */
 public void removeSchemaElementSelectionListener(SchemaElementSelectionListener listener) {
   for (SchemaElementPanel panel : panels) {
     panel.removeSchemaElementSelectionListener(listener);
   }
 }