refactored resourceEditor code to encapsulate the inner splitpane in the Resource Editor.