Package org.gjt.sp.jedit
Class PerspectiveManager
- java.lang.Object
-
- org.gjt.sp.jedit.PerspectiveManager
-
public class PerspectiveManager extends java.lang.ObjectManages persistence of open buffers and views across jEdit sessions.- Since:
- jEdit 4.2pre1
-
-
Constructor Summary
Constructors Constructor Description PerspectiveManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisPerspectiveDirty()We only autosave the perspective if it has changed, to avoid spinning up the disk on laptops.static booleanisPerspectiveEnabled()We disable saving of the perspective while the 'close all' dialog is showing.static ViewloadPerspective(boolean restoreFiles)static voidsavePerspective(boolean autosave)static voidsetPerspectiveDirty(boolean dirty)We only autosave the perspective if it has changed, to avoid spinning up the disk on laptops.static voidsetPerspectiveEnabled(boolean enabled)We disable saving of the perspective while the 'close all' dialog is showing.
-
-
-
Method Detail
-
isPerspectiveDirty
public static boolean isPerspectiveDirty()
We only autosave the perspective if it has changed, to avoid spinning up the disk on laptops.- Since:
- jEdit 4.2pre13
-
setPerspectiveDirty
public static void setPerspectiveDirty(boolean dirty)
We only autosave the perspective if it has changed, to avoid spinning up the disk on laptops.- Since:
- jEdit 4.2pre13
-
isPerspectiveEnabled
public static boolean isPerspectiveEnabled()
We disable saving of the perspective while the 'close all' dialog is showing.- Since:
- jEdit 4.3pre2
-
setPerspectiveEnabled
public static void setPerspectiveEnabled(boolean enabled)
We disable saving of the perspective while the 'close all' dialog is showing.- Since:
- jEdit 4.3pre2
-
loadPerspective
public static View loadPerspective(boolean restoreFiles)
-
savePerspective
public static void savePerspective(boolean autosave)
-
-