|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.scijava.AbstractContextual
org.scijava.plugin.AbstractRichPlugin
org.scijava.app.AbstractApp
public abstract class AbstractApp
Abstract superclass of App
implementations.
Constructor Summary | |
---|---|
AbstractApp()
|
Method Summary | |
---|---|
void |
about()
Displays information about the application. |
File |
getBaseDirectory()
Gets the application's root directory. |
String |
getInfo(boolean mem)
Gets a string with information about the application. |
Manifest |
getManifest()
Gets the manifest containing metadata about the application. |
POM |
getPOM()
Gets the Maven POM containing metadata about the application. |
String |
getSystemProperty()
A system property which, if set, overrides the base directory of the application. |
String |
getTitle()
Gets the title of the application. |
String |
getVersion()
Gets the version of the application. |
void |
prefs()
Displays application preferences. |
void |
quit()
Quits the application. |
Methods inherited from class org.scijava.plugin.AbstractRichPlugin |
---|
compareTo, getInfo, getPriority, setInfo, setPriority, toString |
Methods inherited from class org.scijava.AbstractContextual |
---|
context, getContext, setContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.scijava.app.App |
---|
getArtifactId, getGroupId |
Methods inherited from interface org.scijava.Contextual |
---|
context, getContext, setContext |
Methods inherited from interface org.scijava.Prioritized |
---|
getPriority, setPriority |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface org.scijava.plugin.HasPluginInfo |
---|
getInfo, setInfo |
Constructor Detail |
---|
public AbstractApp()
Method Detail |
---|
public String getTitle()
App
getTitle
in interface App
public String getVersion()
App
SciJava conforms to the Semantic Versioning specification.
getVersion
in interface App
getVersion
in interface Versioned
major.minor.micro
format.public POM getPOM()
App
getPOM
in interface App
public Manifest getManifest()
App
NB: This metadata may be null if run in a development environment.
getManifest
in interface App
public String getInfo(boolean mem)
App
getInfo
in interface App
mem
- If true, memory usage information is included.public String getSystemProperty()
App
getSystemProperty
in interface App
public File getBaseDirectory()
App
getBaseDirectory
in interface App
public void about()
App
about
in interface App
public void prefs()
App
prefs
in interface App
public void quit()
App
quit
in interface App
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |