macos
Class MacOSPlugin

java.lang.Object
org.gjt.sp.jedit.EditPlugin
org.gjt.sp.jedit.EBPlugin
macos.MacOSPlugin
- All Implemented Interfaces:
- org.gjt.sp.jedit.EBComponent
- public class MacOSPlugin
- extends org.gjt.sp.jedit.EBPlugin
| Nested classes inherited from class org.gjt.sp.jedit.EditPlugin |
org.gjt.sp.jedit.EditPlugin.Broken, org.gjt.sp.jedit.EditPlugin.Deferred, org.gjt.sp.jedit.EditPlugin.JAR |
|
Field Summary |
private Delegate |
delegate
|
private boolean |
osok
|
(package private) static boolean |
started
|
| Fields inherited from class org.gjt.sp.jedit.EBPlugin |
|
| Fields inherited from class org.gjt.sp.jedit.EditPlugin |
|
|
Method Summary |
void |
handleMessage(org.gjt.sp.jedit.EBMessage message)
Handles a message sent on the EditBus. |
private boolean |
osok()
|
void |
start()
jEdit calls this method when the plugin is being activated, either
during startup or at any other time. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
started
static boolean started
osok
private boolean osok
delegate
private Delegate delegate
MacOSPlugin
public MacOSPlugin()
start
public void start()
- Description copied from class:
org.gjt.sp.jedit.EditPlugin
- jEdit calls this method when the plugin is being activated, either
during startup or at any other time. A plugin can get activated for
a number of reasons:
- The plugin is written for jEdit 4.1 or older, in which case it
will always be loaded at startup.
- The plugin has its
activate property set to
startup, in which case it will always be loaded at
startup.
- One of the properties listed in the plugin's
activate property is set to true,
in which case it will always be loaded at startup.
- One of the plugin's classes is being accessed by another plugin,
a macro, or a BeanShell snippet in a plugin API XML file.
Note that this method is always called from the event dispatch
thread, even if the activation resulted from a class being loaded
from another thread. A side effect of this is that some of your
plugin's code might get executed before this method finishes
running.
When this method is being called for plugins written for jEdit 4.1
and below, no views or buffers are open. However, this is not the
case for plugins using the new API. For example, if your plugin adds
tool bars to views, make sure you correctly handle the case where
views are already open when the plugin is loaded.
If your plugin must be loaded on startup, take care to have this
method return as quickly as possible.
The default implementation of this method does nothing.
handleMessage
public void handleMessage(org.gjt.sp.jedit.EBMessage message)
- Description copied from class:
org.gjt.sp.jedit.EBPlugin
- Handles a message sent on the EditBus.
osok
private boolean osok()