com.sun.electric.tool.user.tecEdit
Class LibToTech

java.lang.Object
  extended by com.sun.electric.tool.user.tecEdit.LibToTech

public class LibToTech
extends java.lang.Object

This class creates technologies from technology libraries.


Constructor Summary
LibToTech()
           
 
Method Summary
 Technology makeTech(java.lang.String newName, java.lang.String fileName, TechConversionResult error)
          Method to convert the current Library to a Technology.
static void makeTechFromLib()
          Method to convert the current library to a technology in a new job.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LibToTech

public LibToTech()
Method Detail

makeTechFromLib

public static void makeTechFromLib()
Method to convert the current library to a technology in a new job. Starts with a dialog to control the process.


makeTech

public Technology makeTech(java.lang.String newName,
                           java.lang.String fileName,
                           TechConversionResult error)
Method to convert the current Library to a Technology.

Parameters:
newName - the name of the Technology to create.
fileName - the name of the XML file to write (null to skip XML output).
error - the structure for storing error status.
Returns:
the new Technology. Returns null on error (and fills in "error").