@Override
 public void cleanOperationsRefToDeletedElement(GPBeanTreeModel gpBeanTreeModel) {
   this.modifiedLayersMap.remove(gpBeanTreeModel);
   if (gpBeanTreeModel instanceof FolderTreeNode) {
     FolderTreeNode folder = (FolderTreeNode) gpBeanTreeModel;
     for (ModelData element : folder.getChildren()) {
       this.cleanOperationsRefToDeletedElement((GPBeanTreeModel) element);
     }
   }
 }
 @Override
 public void componentSelected(MenuEvent ce) {
   GPBeanTreeModel item = (GPBeanTreeModel) this.treePanel.getSelectionModel().getSelectedItem();
   if (item instanceof FolderTreeNode) {
     FolderTreeNode selectedFolder = (FolderTreeNode) item;
     if (!selectedFolder.isLoaded()) {
       this.selectedElement = (FolderTreeNode) item;
       this.confirmExpandingMessage();
     } else {
       this.execute(selectedFolder.getChildren(), selectedFolder.getLabel());
     }
   } else {
     throw new IllegalArgumentException(
         "The CreateFolderViewportAction can " + "take only folder and not layer");
   }
 }