Package ij.plugin

Examples of ij.plugin.NewPlugin


          line = line.substring(2);
        sb.append(line);
        sb.append('\n');
      }
    }
    NewPlugin np = (NewPlugin)IJ.runPlugIn("ij.plugin.NewPlugin", new String(sb));
    Editor ed = np.getEditor();
    String title = getTitle();
    if (title.equals("Macro.txt")||title.equals("Macro.ijm"))
      title = "Converted_Macro";
    if (title.endsWith(".txt")||title.endsWith(".ijm")) title = title.substring(0, title.length()-4);
    if (title.indexOf('_')==-1) title += "_";
View Full Code Here

TOP

Related Classes of ij.plugin.NewPlugin

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.