I am new to eclipse RCP if i close the view while application is running, the view does not load next time when I run the application. Its somewhat like the application is saving its last state and does not go back to initial state. How do I make the application go back to initial state?
Asked
Active
Viewed 32 times
1 Answers
0
If you want your RCP to start in its original state each time it is started specify the -clearPersistedState
option.
You can specify this in your .product file on the 'Launching' tab in 'Program Arguments' section.
Note: This option is for Eclipse 4.x

greg-449
- 109,219
- 232
- 102
- 145
-
Platform UI also provides an option to reset perspective (Window menu). – Basilevs Mar 01 '15 at 09:09
-
@Basilevs This is a RCP which may not have the reset perspective menu – greg-449 Mar 01 '15 at 09:10