|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.sdedit.editor.apple.AppInstaller
public abstract class AppInstaller
Proxy class for installing an ApplicationListener that receives events generated by MacOS and sends them to the editor.
If the application runs on MacOS, there should be a class that actually performs the installation, with the name ApplicationListenerImpl, located in the same package as this class.
| Constructor Summary | |
|---|---|
protected |
AppInstaller()
Constructor. |
| Method Summary | |
|---|---|
protected abstract File |
fileToLoad()
Returns a file to be loaded, if a MacOS requests a file to be opened at startup. |
static File |
getFileToLoad()
If an ApplicationListener has been successfully installed and if it has received an event saying that a file is to be loaded at startup time, this file is returned, otherwise null |
static void |
installApplication(Editor editor)
Installs an ApplicationListener that receives application events generated by MacOS or does nothing if not running MacOS. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AppInstaller()
| Method Detail |
|---|
public static void installApplication(Editor editor)
editor - the Editor instanceprotected abstract File fileToLoad()
public static File getFileToLoad()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||