public class ScriptingExtension extends Extension
| Constructor and Description |
|---|
ScriptingExtension() |
| Modifier and Type | Method and Description |
|---|---|
static void |
add_classpath(java.io.File path) |
static void |
add_classpath(java.lang.String path) |
static void |
add_classpath(java.net.URL url) |
void |
execute(java.lang.String actionCommand)
This method is executed when the user clicks on any of the
controls associated with this extension (menus, tools, etc).
|
void |
execute(java.lang.String command,
java.lang.Object[] args) |
PluginServices |
getPlugin() |
ScriptingUtils |
getScriptingUtils() |
void |
initialize()
Extension's initialization code should be here.
|
boolean |
isEnabled()
This method is invoked by Andami to check whether the extension
(and its associated controls) is enabled or disabled.
|
boolean |
isVisible()
This method is invoked by Andami to check whether the extension
(and its associated controls) is visible or hidden.
|
static void |
log(int level,
java.lang.String message)
Deprecated.
|
static void |
log(int level,
java.lang.String message,
java.lang.Throwable th)
Deprecated.
|
static void |
log(java.lang.String message)
Deprecated.
|
void |
postInitialize()
Extension's post-initialization code should be here.
|
@Deprecated public static void log(java.lang.String message)
@Deprecated
public static void log(int level,
java.lang.String message)
@Deprecated
public static void log(int level,
java.lang.String message,
java.lang.Throwable th)
public void initialize()
IExtensionpublic ScriptingUtils getScriptingUtils()
public void execute(java.lang.String actionCommand)
IExtensionactionCommand - An String specifying the action to
execute. This is useful when there are different
controls associated with the same extension.public void execute(java.lang.String command,
java.lang.Object[] args)
execute in interface IExtensionExecuteWithArgsexecute in class Extensionpublic void postInitialize()
IExtensioninitialize()
has been called for ALL the extensions.postInitialize in interface IExtensionpostInitialize in class Extensionpublic boolean isEnabled()
IExtensionpublic boolean isVisible()
IExtensionpublic static void add_classpath(java.net.URL url)
public static void add_classpath(java.io.File path)
public static void add_classpath(java.lang.String path)
public PluginServices getPlugin()