- java.lang.Object
-
- ij.plugin.NewPlugin
-
-
Field Summary
Fields Modifier and Type Field Description static intJAVASCRIPTstatic intMACROstatic intMACRO_TOOLstatic intPLUGINstatic intPLUGIN_FILTERstatic intPLUGIN_FRAMEstatic intPLUGIN_TOOLstatic intTABLEstatic intTEMPLATEstatic intTEXT_FILE
-
Constructor Summary
Constructors Constructor Description NewPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateMacro(String name)voidcreatePlugin(String name, int type, String methods)EditorgetEditor()Returns the Editor the newly created macro or plugin was opened in.voidrun(String arg)This method is called when the plugin is loaded.booleanshowDialog()
-
-
-
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(String arg)
Description copied from interface:PlugInThis 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(String name)
-
showDialog
public boolean showDialog()
-
getEditor
public Editor getEditor()
Returns the Editor the newly created macro or plugin was opened in.
-
-