drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/flow/ruleflow/editor/editpart/WorkItemEditPart.java
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);
                }
            }
        }
    }
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);
                }
            }
        }
    }
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 ) ; } } } }
}
}