~ubuntu-branches/ubuntu/vivid/electric/vivid

« back to all changes in this revision

Viewing changes to com/sun/electric/tool/placement/general/RowCol.java

  • Committer: Package Import Robot
  • Author(s): Markus Koschany
  • Date: 2014-07-08 21:54:23 UTC
  • mfrom: (1.1.6) (3.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20140708215423-4zrgsca1e28tzcoc
Tags: 9.05+dfsg-1
* Imported Upstream version 9.05+dfsg.
* Add signing-key.pgp and check for valid upstream tarballs with uscan's
  pgpsigurlmangle feature.
* Move the package to Git.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
import com.sun.electric.tool.Job;
28
28
import com.sun.electric.tool.placement.PlacementAdapter;
29
29
import com.sun.electric.tool.placement.PlacementFrame;
 
30
import com.sun.electric.tool.placement.PlacementAdapter.PlacementExport;
30
31
import com.sun.electric.util.math.Orientation;
31
32
 
32
33
import java.awt.geom.Rectangle2D;
68
69
         * @param allNetworks a list of all networks that connect the nodes.
69
70
         * @param cellName the name of the cell being placed.
70
71
         */
71
 
        public void runPlacement(List<PlacementNode> placementNodes, List<PlacementNetwork> allNetworks, String cellName, Job job)
 
72
        public void runPlacement(List<PlacementNode> placementNodes, List<PlacementNetwork> allNetworks, List<PlacementExport> exportsToPlace,
 
73
                String cellName, Job job)
72
74
        {
73
75
                // determine whether this is row or column placement
74
76
                makeStacksEven = getBooleanParam("makeStacksEven");
212
214
                for(PlacementNode p : placementNodes)
213
215
                {
214
216
                        PlacementAdapter.PlacementNode papn = (PlacementAdapter.PlacementNode)p;
 
217
                        if (papn.getOriginal() == null)
 
218
                        {
 
219
                                System.out.println("Original node of '" + papn + "' not found in column placement");
 
220
                                continue;
 
221
                        }
215
222
                        if (!papn.getOriginal().isCellInstance()) continue;
216
223
                        if (widths != null) widths.add(new Double(p.getWidth()));
217
224
                        if (heights != null) heights.add(new Double(p.getHeight()));