java.lang.Object
org.gjt.sp.jedit.EBMessage
org.gjt.sp.jedit.msg.EditorExitRequested
Message sent when jEdit starts the exit process. It is send before
the settings are saved and the buffers are closed. Listeners of this
message should be aware that jEdit might not exit truely, maybe because
of errors, or the user cancelled the "Save unsaved changed" dialog, or
jEdit is in background mode.
- Since:
- jEdit 3.1pre4
- Version:
- $Id: EditorExitRequested.java 12504 2008-04-22 23:12:43Z ezust $
- Author:
- Dirk Moebius
-
Constructor Summary
ConstructorDescriptionEditorExitRequested
(View view) Creates a new editor exiting started message. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Cancels the exit process.getView()
Returns the view involved.boolean
Check if the exit process has been cancelled.Methods inherited from class org.gjt.sp.jedit.EBMessage
getSource, paramString, toString
-
Constructor Details
-
EditorExitRequested
Creates a new editor exiting started message.- Parameters:
view
- The view from which this exit was called
-
-
Method Details
-
getView
Returns the view involved. -
cancelExit
public void cancelExit()Cancels the exit process. If a plugin calls this method, jEdit will not exit anymore -
hasBeenExitCancelled
public boolean hasBeenExitCancelled()Check if the exit process has been cancelled.
-