Execute code when loading an Eclipse perspective

Posted by Krt_Malta on Stack Overflow See other posts from Stack Overflow or by Krt_Malta
Published on 2010-05-08T22:01:57Z Indexed on 2010/05/08 22:08 UTC
Read the original article Hit count: 134

Filed under:

Hi,

I'm creating an Eclipse plug-in which amongst other things creates a new perspective. I want to I execute some code when the perspective loads. Previously I was doing this through createInitialLayout of IPerspectiveFactory but then I realized that this is for defining the page layout only and is usually called when when launching the perspective for the first time only.

Is this possible please?

Thanks and regards, Krt_Malta

© Stack Overflow or respective owner

Related posts about eclipse