|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gjt.sp.jedit.PerspectiveManager
public class PerspectiveManager
Manages persistence of open buffers and views across jEdit sessions.
| Constructor Summary | |
|---|---|
PerspectiveManager()
|
|
| Method Summary | |
|---|---|
static boolean |
isPerspectiveDirty()
We only autosave the perspective if it has changed, to avoid spinning up the disk on laptops. |
static boolean |
isPerspectiveEnabled()
We disable saving of the perspective while the 'close all' dialog is showing. |
static View |
loadPerspective(boolean restoreFiles)
|
static void |
savePerspective(boolean autosave)
|
static void |
setPerspectiveDirty(boolean dirty)
We only autosave the perspective if it has changed, to avoid spinning up the disk on laptops. |
static void |
setPerspectiveEnabled(boolean enabled)
We disable saving of the perspective while the 'close all' dialog is showing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PerspectiveManager()
| Method Detail |
|---|
public static boolean isPerspectiveDirty()
public static void setPerspectiveDirty(boolean dirty)
public static boolean isPerspectiveEnabled()
public static void setPerspectiveEnabled(boolean enabled)
public static View loadPerspective(boolean restoreFiles)
public static void savePerspective(boolean autosave)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||