|
|
|
@ -35,6 +35,7 @@ public class Plugin implements Serializable {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Get plugin version.
|
|
|
|
|
*
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public String getVersion() {
|
|
|
|
@ -43,6 +44,7 @@ public class Plugin implements Serializable {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Set plugin version.
|
|
|
|
|
*
|
|
|
|
|
* @param v
|
|
|
|
|
*/
|
|
|
|
|
public void setVersion(String v) {
|
|
|
|
@ -51,6 +53,7 @@ public class Plugin implements Serializable {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Get the plugin package name.
|
|
|
|
|
*
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public String getPackage() {
|
|
|
|
@ -59,6 +62,7 @@ public class Plugin implements Serializable {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Set the plugin package name.
|
|
|
|
|
*
|
|
|
|
|
* @param pkg
|
|
|
|
|
*/
|
|
|
|
|
public void setPackage(String pkg) {
|
|
|
|
@ -67,6 +71,7 @@ public class Plugin implements Serializable {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Get the plugin author name.
|
|
|
|
|
*
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public String getAuthor() {
|
|
|
|
@ -75,6 +80,7 @@ public class Plugin implements Serializable {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Set the plugin author name.
|
|
|
|
|
*
|
|
|
|
|
* @param s
|
|
|
|
|
*/
|
|
|
|
|
public void setAuthor(String s) {
|
|
|
|
@ -83,6 +89,7 @@ public class Plugin implements Serializable {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Get the plugin website.
|
|
|
|
|
*
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public String getWebsite() {
|
|
|
|
@ -91,6 +98,7 @@ public class Plugin implements Serializable {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Set the plugin website.
|
|
|
|
|
*
|
|
|
|
|
* @param url
|
|
|
|
|
*/
|
|
|
|
|
public void setWebsite(String url) {
|
|
|
|
@ -99,6 +107,7 @@ public class Plugin implements Serializable {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Get extra text data.
|
|
|
|
|
*
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public String getOther() {
|
|
|
|
@ -107,6 +116,7 @@ public class Plugin implements Serializable {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Set extra text data.
|
|
|
|
|
*
|
|
|
|
|
* @param o
|
|
|
|
|
*/
|
|
|
|
|
public void setOther(String o) {
|
|
|
|
@ -115,6 +125,7 @@ public class Plugin implements Serializable {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Get the plugin icon.
|
|
|
|
|
*
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public ImageIcon getIcon() {
|
|
|
|
@ -123,6 +134,7 @@ public class Plugin implements Serializable {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Set the plugin icon.
|
|
|
|
|
*
|
|
|
|
|
* @param i
|
|
|
|
|
*/
|
|
|
|
|
public void setIcon(ImageIcon i) {
|
|
|
|
@ -131,6 +143,7 @@ public class Plugin implements Serializable {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Get the plugin code.
|
|
|
|
|
*
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public String getScript() {
|
|
|
|
@ -139,6 +152,7 @@ public class Plugin implements Serializable {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Set the plugin code.
|
|
|
|
|
*
|
|
|
|
|
* @param s
|
|
|
|
|
*/
|
|
|
|
|
public void setScript(String s) {
|
|
|
|
@ -147,6 +161,7 @@ public class Plugin implements Serializable {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* See getTitle().
|
|
|
|
|
*
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@Override
|
|
|
|
@ -156,6 +171,7 @@ public class Plugin implements Serializable {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Get the plugin short name/title.
|
|
|
|
|
*
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public String getTitle() {
|
|
|
|
@ -164,6 +180,7 @@ public class Plugin implements Serializable {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Set the plugin short name/title.
|
|
|
|
|
*
|
|
|
|
|
* @param n
|
|
|
|
|
*/
|
|
|
|
|
public void setTitle(String n) {
|
|
|
|
@ -172,6 +189,7 @@ public class Plugin implements Serializable {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Get the plugin description text.
|
|
|
|
|
*
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public String getDesc() {
|
|
|
|
@ -180,6 +198,7 @@ public class Plugin implements Serializable {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Set the plugin description text.
|
|
|
|
|
*
|
|
|
|
|
* @param d
|
|
|
|
|
*/
|
|
|
|
|
public void setDesc(String d) {
|
|
|
|
@ -188,6 +207,7 @@ public class Plugin implements Serializable {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Get the long title/short description.
|
|
|
|
|
*
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public String getLongTitle() {
|
|
|
|
@ -196,6 +216,7 @@ public class Plugin implements Serializable {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Set the long title/short description.
|
|
|
|
|
*
|
|
|
|
|
* @param t
|
|
|
|
|
*/
|
|
|
|
|
public void setLongTitle(String t) {
|
|
|
|
@ -204,6 +225,7 @@ public class Plugin implements Serializable {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Get the script language.
|
|
|
|
|
*
|
|
|
|
|
* @return LANG_JS or LANG_PY
|
|
|
|
|
*/
|
|
|
|
|
public int getLang() {
|
|
|
|
@ -212,6 +234,7 @@ public class Plugin implements Serializable {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Set the script language.
|
|
|
|
|
*
|
|
|
|
|
* @param l LANG_JS or LANG_PY
|
|
|
|
|
*/
|
|
|
|
|
public void setLang(int l) {
|
|
|
|
|