ref #10186: remove conversation holder
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / view / e4 / details / DetailsPartE4.java
index e3fbf613ebcece2c96c21f5a85c90fff1e03aebb..fd44c2a8587bf7f8402e16114a37772215678937 100644 (file)
@@ -19,7 +19,6 @@ import org.eclipse.jface.viewers.StructuredSelection;
 import org.eclipse.swt.SWTException;
 import org.eclipse.swt.widgets.Composite;
 
-import eu.etaxonomy.cdm.api.conversation.IConversationEnabled;
 import eu.etaxonomy.cdm.model.description.Feature;
 import eu.etaxonomy.taxeditor.l10n.Messages;
 import eu.etaxonomy.taxeditor.model.AbstractUtility;
@@ -74,12 +73,7 @@ public class DetailsPartE4 extends AbstractCdmEditorPartE4 implements IPartConte
                 showEmptyPage();
                 return;
             }
-            if(!(partObject instanceof ISelectionElementEditingPart) &&
-                    partObject instanceof IConversationEnabled && ((IConversationEnabled) partObject).getConversationHolder()==null) {
-                //TODO show specific message (refactor EmptyElement to allow specific messages)
-                showEmptyPage();
-                return;
-            }
+
             // do not show details for feature nodes TODO strange check to avoid having shown the distribution map for every FeatureNodeContainer
             if(structuredSelection.getFirstElement() instanceof FeatureNodeContainer){
                 // do show the map for distributions
@@ -96,9 +90,7 @@ public class DetailsPartE4 extends AbstractCdmEditorPartE4 implements IPartConte
             viewer.setSelection(structuredSelection, false);
 
             showViewer(structuredSelection, activePart, viewer);
-
-
-
+            
             return;
         }
         else{