I’m working on a package which has a custom subclass of
ScrollView, let’s call it
I can serialize and deserialize the data correctly, but how on earth, in my top level controller code, do I find the actual
MyContentView instance after deserialization? I can find the HTML using
atom.workspaceView.find('.my-content-view') but this doesn’t seem to be connected to the view instance in any way. I can see that there is something like
atom.workspace.getPanes()[x].items which contains my instance but am I supposed to just do a linear search to find it?