com.sun.electric.tool.user
Class CellChangeJobs

java.lang.Object
  extended by com.sun.electric.tool.user.CellChangeJobs

public class CellChangeJobs
extends java.lang.Object

Class for Jobs that make changes to the cells.


Nested Class Summary
static class CellChangeJobs.DeleteCell
          Class to delete a cell in a new thread.
static class CellChangeJobs.DeleteCellGroup
          Class to rename a cell in a new thread.
static class CellChangeJobs.DeleteManyCells
          This class implement the command to delete a list of cells.
static class CellChangeJobs.DuplicateCell
          This class implement the command to duplicate a cell.
static class CellChangeJobs.ExtractCellInstances
          This class implement the command to extract the contents of cell instances.
static class CellChangeJobs.GraphCells
          This class implement the command to make a graph of the cells.
static class CellChangeJobs.NewCellVersion
          This class implement the command to make a new version of a cell.
static class CellChangeJobs.PackageCell
          This class implement the command to delete unused old versions of cells.
static class CellChangeJobs.RenameCell
          Class to rename a cell in a new thread.
static class CellChangeJobs.RenameCellGroup
          Class to rename a cell in a new thread.
 
Method Summary
static IdMapper copyRecursively(java.util.List<Cell> fromCells, Library toLib, boolean verbose, boolean move, boolean allRelatedViews, boolean copySubCells, boolean useExisting)
          Method to recursively copy cells between libraries.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

copyRecursively

public static IdMapper copyRecursively(java.util.List<Cell> fromCells,
                                       Library toLib,
                                       boolean verbose,
                                       boolean move,
                                       boolean allRelatedViews,
                                       boolean copySubCells,
                                       boolean useExisting)
Method to recursively copy cells between libraries.

Parameters:
fromCells - the original cells being copied.
toLib - the destination library to copy the cell.
verbose - true to display extra information.
move - true to move instead of copy.
allRelatedViews - true to copy all related views (schematic cell with layout, etc.) If false, only schematic/icon relations are copied.
copySubCells - true to recursively copy sub-cells. If true, "useExisting" must be true.
useExisting - true to use any existing cells in the destination library instead of creating a cross-library reference. False to copy everything needed.
Returns:
address of a copied cell (null on failure).