Reputation: 757
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
Upvotes: 2
Views: 173
Reputation: 3621
In your org.eclipse.ui.views extension set the restorable attribute of view element to false
.
<extension>
<view
...
restorable="false">
</view>
</extension>
Upvotes: 5