{
        // Does this part provide an editing domain?
        //
        if (workbenchPart instanceof IEditingDomainProvider)
        {
          editingDomain = ((IEditingDomainProvider)workbenchPart).getEditingDomain();
        }
      }