com.sun.electric.tool.project
Class DisplayedCells

java.lang.Object
  extended by com.sun.electric.tool.project.DisplayedCells
All Implemented Interfaces:
java.io.Serializable

public class DisplayedCells
extends java.lang.Object
implements java.io.Serializable

This is the Project Management tool.

See Also:
Serialized Form

Constructor Summary
DisplayedCells()
          The constructor returna an object that captures the cells being displayed.
 
Method Summary
 java.util.Iterator<Cell> getCreatedCells()
          Method to return a list of cells that were created (those that were swapped-in).
 void swap(Cell oldVers, Cell newVers)
          Method to update the displayed cell list to account for a replacement.
 void updateWindows()
          Method to finish changes to displayed cells.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisplayedCells

public DisplayedCells()
The constructor returna an object that captures the cells being displayed. It is called on the client side, generally in the constructor of a Job. It captures the currently displayed windows, and returns this object that can be passed to the server for access during the "doIt()" method. During thd "doIt()" method, all replacements of cells can are marked by using "swap()". Finally, back on the client during the "terminateIt()" method, call "updateWindows()" to display the replacements.

Method Detail

swap

public void swap(Cell oldVers,
                 Cell newVers)
Method to update the displayed cell list to account for a replacement. This method is called during the "doIt()" (on the server).

Parameters:
oldVers - the old version of the cell.
newVers - the new version to display wherever the old version used to be.

updateWindows

public void updateWindows()
Method to finish changes to displayed cells. This method is called during the "terminateIt()" (back on the client).


getCreatedCells

public java.util.Iterator<Cell> getCreatedCells()
Method to return a list of cells that were created (those that were swapped-in).