I am developing a plugin with several custom perspectives. So I would like to open one by default on start.
I override WorkbenchWindowAdvisor#getInitialWindowPerspectiveId
after that specified the same perspective ID in the file plugin_customization.ini
like this org.eclipse.ui/defaultPerspectiveId=myPerspectiveId
but it does not help. Each time Eclipse opens last visited perspective.
Only if I specified in the run configuration program arguments -perspective myPerspectiveId
it works as expected.
How fix that without using program arguments? (for Eclipse Mars)