Q:

Stop opening viewparts windows on eclipse restart

I am writing an Eclipse plug-in. My plugin is opening a viewpart window and draw a graph inside. I am running the plug-in and opening the viewpart window and then just closing Eclipse. So What I want is that viewpart window not opened again by default on the next startup of Eclipse. Can anyone tell me how to do that please?
Kind Regards,
Kyriakos

A:

In your org.eclipse.ui.views extension set the restorable attribute of view element to false.
<extension>
    <view
        ...
        restorable="false">
    </view>
</extension>

