Package ij.plugin
Class NewPlugin
java.lang.Object
ij.plugin.NewPlugin
- All Implemented Interfaces:
PlugIn
This class creates a new macro or the Java source for a new plugin.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
createMacro
(String name) void
createPlugin
(String name, int type, String methods) Returns the Editor the newly created macro or plugin was opened in.void
This method is called when the plugin is loaded.boolean
-
Field Details
-
MACRO
public static final int MACRO- See Also:
-
JAVASCRIPT
public static final int JAVASCRIPT- See Also:
-
PLUGIN
public static final int PLUGIN- See Also:
-
PLUGIN_FILTER
public static final int PLUGIN_FILTER- See Also:
-
PLUGIN_FRAME
public static final int PLUGIN_FRAME- See Also:
-
TEXT_FILE
public static final int TEXT_FILE- See Also:
-
TABLE
public static final int TABLE- See Also:
-
MACRO_TOOL
public static final int MACRO_TOOL- See Also:
-
PLUGIN_TOOL
public static final int PLUGIN_TOOL- See Also:
-
TEMPLATE
public static final int TEMPLATE- See Also:
-
-
Constructor Details
-
NewPlugin
public NewPlugin()
-
-
Method Details
-
run
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
-
createPlugin
-
showDialog
public boolean showDialog() -
getEditor
Returns the Editor the newly created macro or plugin was opened in.
-