How to open my perspective on first run after user install my Eclipse function

I create Eclipse plugins and deliver them through the p2 repository as an Eclipse function.

One of my plugins makes its own perspective through the org.eclipse.ui.perspectives extension point, and it works great.

Everything works smoothly.

But I really want my perspective to open when the user launches their Eclipse after setting my function. And then in the second run this behavior goes away. I don’t want to annoy the user by opening their perspective every time Eclipse launches.

Is there an easy way to do this?

Thank you for your time.

+4
source share
1 answer

You can open a new perspective programmatically when starting the plugin. See the “Opening a New Perspective” section of this Eclipse Corner article .

+1
source

All Articles