com.sun.electric.tool.routing
Class AutoStitch

java.lang.Object
  extended by com.sun.electric.tool.routing.AutoStitch

public class AutoStitch
extends java.lang.Object

Class which implements the Auto Stitching tool.


Nested Class Summary
static class AutoStitch.AutoOptions
          Class to package Preferences for the server.
 
Method Summary
static void autoStitch(boolean highlighted, boolean forced)
          Method to do auto-stitching.
static void runAutoStitch(Cell cell, java.util.List<NodeInst> nodesToStitch, java.util.List<ArcInst> arcsToStitch, Job job, PolyMerge stayInside, java.awt.geom.Rectangle2D limitBound, boolean forced, AutoStitch.AutoOptions prefs, boolean showProgress)
          This is the public interface for Auto-stitching when done in batch mode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

autoStitch

public static void autoStitch(boolean highlighted,
                              boolean forced)
Method to do auto-stitching.

Parameters:
highlighted - true to stitch only the highlighted objects. False to stitch the entire current cell.
forced - true if the stitching was explicitly requested (and so results should be printed).

runAutoStitch

public static void runAutoStitch(Cell cell,
                                 java.util.List<NodeInst> nodesToStitch,
                                 java.util.List<ArcInst> arcsToStitch,
                                 Job job,
                                 PolyMerge stayInside,
                                 java.awt.geom.Rectangle2D limitBound,
                                 boolean forced,
                                 AutoStitch.AutoOptions prefs,
                                 boolean showProgress)
This is the public interface for Auto-stitching when done in batch mode.

Parameters:
cell - the cell in which to stitch.
nodesToStitch - a list of NodeInsts to stitch (null to use all in the cell).
arcsToStitch - a list of ArcInsts to stitch (null to use all in the cell).
job - the Job running this, for aborting.
stayInside - is the area in which to route (null to route arbitrarily).
limitBound - if not null, only consider connections that occur in this area.
forced - true if the stitching was explicitly requested (and so results should be printed).
prefs - routing preferences.
showProgress - true to show progress.