fix open resource from editor for Eclipse Juno