How to programmatically reset perspective in Eclipse

Is there a way to programmatically reset perspective in Eclipse?

+3


source to share


2 answers


To reset in perspective use IWorkbenchPage#resetPerspective()

. The method will reset the current perspective to the state that is defined in the corresponding perspective descriptor.



+3


source


If you want to keep all your settings, just copy

.metadata / .plugins / org.eclipse.core.runtime / .settings



to the desired workspace directory

0


source







All Articles