Programmatically setting Eclipse ‘intro’ page in standby/sticky mode

If you are contributing custom Intro page in your Eclipse RCP, it is often the case that you will be contributing some of your own actions too. Sometimes after completion of these actions, you may want to put your intro page to standby or sticky mode. Here is the small code snippet, I think, will help you in this scenario,

IIntroPart introPart = PlatformUI.getWorkbench().getIntroManager().getIntro();
PlatformUI.getWorkbench().getIntroManager().setIntroStandby(introPart , true);

Also check ‘IIntroManager’ for other operations.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s