How do i change the scope of the Outliner?

I have been creating my own editor and I have been successful in adding an outliner but I can’t find a way to change what is being shown on the outliner list. All it shows is the same information as the main editor outliner.