Module ij
Package ij.plugin

Class NewPlugin

java.lang.Object
ij.plugin.NewPlugin
All Implemented Interfaces:
PlugIn

public class NewPlugin
extends java.lang.Object
implements PlugIn
This class creates a new macro or the Java source for a new plugin.
  • 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

    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()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait