Error in gettng editor (not sure of actual usage, but it's wrong!)
diff --git a/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/AssociationArtifactInternal.java b/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/AssociationArtifactInternal.java
index 626dea8..1b47468 100644
--- a/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/AssociationArtifactInternal.java
+++ b/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/AssociationArtifactInternal.java
@@ -109,7 +109,7 @@
         if (resource instanceof IFile ) {
             IFile file = (IFile) resource;
             IEditorDescriptor editorDescriptor = IDE.getDefaultEditor(file);
-            if (editorDescriptor==null || (!EDITOR_ID.equals(editorDescriptor))) 
+            if (editorDescriptor==null || (!EDITOR_ID.equals(editorDescriptor.getId()))) 
                 IDE.setDefaultEditor((IFile)resource, EDITOR_ID);
         }
     }
diff --git a/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/AssociationClassArtifactInternal.java b/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/AssociationClassArtifactInternal.java
index 059d301..8dffc73 100644
--- a/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/AssociationClassArtifactInternal.java
+++ b/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/AssociationClassArtifactInternal.java
@@ -85,7 +85,7 @@
         if (resource instanceof IFile ) {
             IFile file = (IFile) resource;
             IEditorDescriptor editorDescriptor = IDE.getDefaultEditor(file);
-            if (editorDescriptor==null || (!EDITOR_ID.equals(editorDescriptor))) 
+            if (editorDescriptor==null || (!EDITOR_ID.equals(editorDescriptor.getId()))) 
                 IDE.setDefaultEditor((IFile)resource, EDITOR_ID);
         }
     }
diff --git a/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/DatatypeArtifactInternal.java b/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/DatatypeArtifactInternal.java
index 69aceeb..33b505b 100644
--- a/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/DatatypeArtifactInternal.java
+++ b/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/DatatypeArtifactInternal.java
@@ -87,7 +87,7 @@
         if (resource instanceof IFile ) {
             IFile file = (IFile) resource;
             IEditorDescriptor editorDescriptor = IDE.getDefaultEditor(file);
-            if (editorDescriptor==null || (!EDITOR_ID.equals(editorDescriptor))) 
+            if (editorDescriptor==null || (!EDITOR_ID.equals(editorDescriptor.getId()))) 
                 IDE.setDefaultEditor((IFile)resource, EDITOR_ID);
         }
     }
diff --git a/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/DependencyArtifactInternal.java b/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/DependencyArtifactInternal.java
index 779b6dc..3c27da3 100644
--- a/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/DependencyArtifactInternal.java
+++ b/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/DependencyArtifactInternal.java
@@ -77,7 +77,7 @@
         if (resource instanceof IFile ) {
             IFile file = (IFile) resource;
             IEditorDescriptor editorDescriptor = IDE.getDefaultEditor(file);
-            if (editorDescriptor==null || (!EDITOR_ID.equals(editorDescriptor))) 
+            if (editorDescriptor==null || (!EDITOR_ID.equals(editorDescriptor.getId()))) 
                 IDE.setDefaultEditor((IFile)resource, EDITOR_ID);
         }
     }
diff --git a/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/EnumArtifactInternal.java b/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/EnumArtifactInternal.java
index 2cbfbe4..9724811 100644
--- a/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/EnumArtifactInternal.java
+++ b/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/EnumArtifactInternal.java
@@ -87,7 +87,7 @@
         if (resource instanceof IFile ) {
             IFile file = (IFile) resource;
             IEditorDescriptor editorDescriptor = IDE.getDefaultEditor(file);
-            if (editorDescriptor==null || (!EDITOR_ID.equals(editorDescriptor))) 
+            if (editorDescriptor==null || (!EDITOR_ID.equals(editorDescriptor.getId()))) 
                 IDE.setDefaultEditor((IFile)resource, EDITOR_ID);
         }
     }
diff --git a/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/EventArtifactInternal.java b/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/EventArtifactInternal.java
index 68b70fa..a29ab7f 100644
--- a/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/EventArtifactInternal.java
+++ b/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/EventArtifactInternal.java
@@ -86,7 +86,7 @@
         if (resource instanceof IFile ) {
             IFile file = (IFile) resource;
             IEditorDescriptor editorDescriptor = IDE.getDefaultEditor(file);
-            if (editorDescriptor==null || (!EDITOR_ID.equals(editorDescriptor))) 
+            if (editorDescriptor==null || (!EDITOR_ID.equals(editorDescriptor.getId()))) 
                 IDE.setDefaultEditor((IFile)resource, EDITOR_ID);
         }
     }
diff --git a/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/ExceptionArtifactInternal.java b/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/ExceptionArtifactInternal.java
index ccec40d..7f2b95d 100644
--- a/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/ExceptionArtifactInternal.java
+++ b/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/ExceptionArtifactInternal.java
@@ -83,7 +83,7 @@
         if (resource instanceof IFile ) {
             IFile file = (IFile) resource;
             IEditorDescriptor editorDescriptor = IDE.getDefaultEditor(file);
-            if (editorDescriptor==null || (!EDITOR_ID.equals(editorDescriptor))) 
+            if (editorDescriptor==null || (!EDITOR_ID.equals(editorDescriptor.getId()))) 
                 IDE.setDefaultEditor((IFile)resource, EDITOR_ID);
         }
     }
diff --git a/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/PackageArtifactInternal.java b/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/PackageArtifactInternal.java
index 3134ae6..895d646 100644
--- a/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/PackageArtifactInternal.java
+++ b/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/PackageArtifactInternal.java
@@ -179,7 +179,7 @@
         if (resource instanceof IFile ) {
             IFile file = (IFile) resource;
             IEditorDescriptor editorDescriptor = IDE.getDefaultEditor(file);
-            if (editorDescriptor==null || (!EDITOR_ID.equals(editorDescriptor))) 
+            if (editorDescriptor==null || (!EDITOR_ID.equals(editorDescriptor.getId()))) 
                 IDE.setDefaultEditor((IFile)resource, EDITOR_ID);
         }
     }
diff --git a/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/QueryArtifactInternal.java b/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/QueryArtifactInternal.java
index e7eb177..33926a3 100644
--- a/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/QueryArtifactInternal.java
+++ b/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/QueryArtifactInternal.java
@@ -83,7 +83,7 @@
         if (resource instanceof IFile ) {
             IFile file = (IFile) resource;
             IEditorDescriptor editorDescriptor = IDE.getDefaultEditor(file);
-            if (editorDescriptor==null || (!EDITOR_ID.equals(editorDescriptor))) 
+            if (editorDescriptor==null || (!EDITOR_ID.equals(editorDescriptor.getId()))) 
                 IDE.setDefaultEditor((IFile)resource, EDITOR_ID);
         }
     }
diff --git a/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/SessionFacadeArtifactInternal.java b/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/SessionFacadeArtifactInternal.java
index 75900e0..9ca57d1 100644
--- a/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/SessionFacadeArtifactInternal.java
+++ b/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/SessionFacadeArtifactInternal.java
@@ -97,7 +97,7 @@
         if (resource instanceof IFile ) {
             IFile file = (IFile) resource;
             IEditorDescriptor editorDescriptor = IDE.getDefaultEditor(file);
-            if (editorDescriptor==null || (!EDITOR_ID.equals(editorDescriptor))) 
+            if (editorDescriptor==null || (!EDITOR_ID.equals(editorDescriptor.getId()))) 
                 IDE.setDefaultEditor((IFile)resource, EDITOR_ID);
         }
     }
diff --git a/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/UpdateProcedureArtifactInternal.java b/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/UpdateProcedureArtifactInternal.java
index 6ccbe25..85917de 100644
--- a/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/UpdateProcedureArtifactInternal.java
+++ b/plugins/org.eclipse.tigerstripe.workbench.base/src/java/org/eclipse/tigerstripe/workbench/internal/core/model/UpdateProcedureArtifactInternal.java
@@ -86,7 +86,7 @@
         if (resource instanceof IFile ) {
             IFile file = (IFile) resource;
             IEditorDescriptor editorDescriptor = IDE.getDefaultEditor(file);
-            if (editorDescriptor==null || (!EDITOR_ID.equals(editorDescriptor))) 
+            if (editorDescriptor==null || (!EDITOR_ID.equals(editorDescriptor.getId()))) 
                 IDE.setDefaultEditor((IFile)resource, EDITOR_ID);
         }
     }