- java.lang.Object
-
- ij.plugin.NewPlugin
-
-
Field Summary
Fields Modifier and Type Field Description static int
JAVASCRIPT
static int
MACRO
static int
MACRO_TOOL
static int
PLUGIN
static int
PLUGIN_FILTER
static int
PLUGIN_FRAME
static int
PLUGIN_TOOL
static int
TABLE
static int
TEMPLATE
static int
TEXT_FILE
-
Constructor Summary
Constructors Constructor Description NewPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createMacro(java.lang.String name)
void
createPlugin(java.lang.String name, int type, java.lang.String methods)
Editor
getEditor()
Returns the Editor the newly created macro or plugin was opened in.void
run(java.lang.String arg)
This method is called when the plugin is loaded.boolean
showDialog()
-
-
-
Field Detail
-
MACRO
public static final int MACRO
- See Also:
- Constant Field Values
-
JAVASCRIPT
public static final int JAVASCRIPT
- See Also:
- Constant Field Values
-
PLUGIN
public static final int PLUGIN
- See Also:
- Constant Field Values
-
PLUGIN_FILTER
public static final int PLUGIN_FILTER
- See Also:
- Constant Field Values
-
PLUGIN_FRAME
public static final int PLUGIN_FRAME
- See Also:
- Constant Field Values
-
TEXT_FILE
public static final int TEXT_FILE
- See Also:
- Constant Field Values
-
TABLE
public static final int TABLE
- See Also:
- Constant Field Values
-
MACRO_TOOL
public static final int MACRO_TOOL
- See Also:
- Constant Field Values
-
PLUGIN_TOOL
public static final int PLUGIN_TOOL
- See Also:
- Constant Field Values
-
TEMPLATE
public static final int TEMPLATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
run
public void run(java.lang.String arg)
Description copied from interface:PlugIn
This method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt.
-
createMacro
public void createMacro(java.lang.String name)
-
createPlugin
public void createPlugin(java.lang.String name, int type, java.lang.String methods)
-
showDialog
public boolean showDialog()
-
getEditor
public Editor getEditor()
Returns the Editor the newly created macro or plugin was opened in.
-
-