I implemented a Properties View in my own editor in eclipse and I start this view using the code:
IPartListener2 to listen for all part events.
IPartService partService = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getPartService(); partService.addPartListener(listener);
You will get events for all parts so you will have to check the event is for your part. The listener gets events for all the state changes of a part (open, closed, activated, brought to top, ....)
There is also a very similar
IPartListener2 should be used if possible.