protected void doubleClicked() {
   super.doubleClicked();
   // open custom editor pane if one exists
   WorkDefinition workDefinition = getWorkDefinition();
   if (workDefinition instanceof WorkDefinitionExtension) {
     String editor = ((WorkDefinitionExtension) workDefinition).getCustomEditor();
     if (editor != null) {
       Work work = openEditor(editor, workDefinition);
       if (work != null) {
         SetWorkCommand setCommand = new SetWorkCommand();
         setCommand.setPropertyValue(work);
         CommandStack stack = getViewer().getEditDomain().getCommandStack();
         stack.execute(setCommand);
       }
     }
   }
 }