Package | Description |
---|---|
com.sun.electric.database |
Package for the Electric database.
|
com.sun.electric.database.change |
Package for handling changes to the Electric database.
|
com.sun.electric.database.constraint |
Package for handling constraint propagation in the Electric database.
|
com.sun.electric.database.hierarchy |
Package for hierarchy (cell instances inside of cells).
|
com.sun.electric.database.id |
Package for Ids in the Electric database.
|
com.sun.electric.tool |
Package for all synthesis and analysis tools.
|
com.sun.electric.tool.cvspm |
Package for the CVS tool which synchronizes circuitry using source-code control.
|
com.sun.electric.tool.drc |
Package for handling the design-rule checking tool.
|
com.sun.electric.tool.io.output | |
com.sun.electric.tool.project |
Package for handling the project management tool.
|
com.sun.electric.tool.routing |
Package for handling the Routing tools.
|
com.sun.electric.tool.user |
Package for handling the user-interface tool.
|
Modifier and Type | Method and Description |
---|---|
static Snapshot |
Snapshot.readSnapshot(IdReader reader,
Snapshot oldSnapshot) |
Snapshot |
Snapshot.with(Tool tool,
Environment environment,
CellBackup[] cellBackupsArray,
ERectangle[] cellBoundsArray,
LibraryBackup[] libBackupsArray)
Creates a new instance of Snapshot which differs from this Snapshot.
|
Snapshot |
Snapshot.withRenamedIds(IdMapper idMapper,
CellId fromGroup,
java.lang.String toGroup)
Returns Snapshot which differs from this Snapshot by renamed Ids.
|
Modifier and Type | Method and Description |
---|---|
static IdMapper |
IdMapper.consolidateExportIds(Snapshot snapshot) |
java.util.List<CellId> |
Snapshot.getChangedCells(Snapshot oldSnapshot) |
java.util.List<LibId> |
Snapshot.getChangedLibraries(Snapshot oldSnapshot) |
static Snapshot |
Snapshot.readSnapshot(IdReader reader,
Snapshot oldSnapshot) |
static IdMapper |
IdMapper.renameCell(Snapshot snapshot,
CellId oldCellId,
CellId newCellId) |
static IdMapper |
IdMapper.renameLibrary(Snapshot snapshot,
LibId oldLibId,
LibId newLibId) |
void |
Snapshot.writeDiffs(IdWriter writer,
Snapshot oldSnapshot) |
Modifier and Type | Field and Description |
---|---|
Snapshot |
DatabaseChangeEvent.newSnapshot |
Snapshot |
DatabaseChangeEvent.oldSnapshot |
Modifier and Type | Method and Description |
---|---|
void |
Changes.endBatch(Snapshot oldSnapshot,
Snapshot newSnapshot,
boolean undoRedo)
Method to annonunce database changes of a Job.
|
static int |
Undo.endChanges(Snapshot oldSnapshot,
Tool tool,
java.lang.String activity,
Snapshot newSnapshot)
Method to terminate the current batch of changes.
|
Constructor and Description |
---|
DatabaseChangeEvent(Snapshot oldSnapshot,
Snapshot newSnapshot) |
Modifier and Type | Method and Description |
---|---|
void |
Constraints.startBatch(Snapshot initialSnapshot)
Method to handle the start of a batch of changes.
|
void |
Layout.startBatch(Snapshot initialSnapshot)
Method to start a batch of changes.
|
Modifier and Type | Method and Description |
---|---|
Snapshot |
EDatabase.backup()
Create Snapshot from the current state of Electric database.
|
Snapshot |
EDatabase.backupUnsafe()
Create Snapshot from the current state of Electric database.
|
Snapshot |
EDatabase.getFreshSnapshot()
Low-level method to atomically get fresh snapshot.
|
Snapshot |
EDatabase.getInitialSnapshot() |
Modifier and Type | Method and Description |
---|---|
void |
EDatabase.checkFresh(Snapshot expectedSnapshot)
Checks that Electric database has the expected state.
|
void |
EDatabase.recover(Snapshot snapshot)
Force database to specified state.
|
void |
EDatabase.undo(Snapshot snapshot)
Force database to specified state.
|
Constructor and Description |
---|
EDatabase(Snapshot snapshot)
Creates a new instance of EDatabase
|
Modifier and Type | Method and Description |
---|---|
Snapshot |
IdManager.getInitialSnapshot() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ExportId.getName(Snapshot snapshot)
Method to return the name of this PortProtoId in a specified Snapshot.
|
abstract java.lang.String |
PortProtoId.getName(Snapshot snapshot)
Method to return the name of this PortProtoId in a specified Snapshot.
|
java.lang.String |
PrimitivePortId.getName(Snapshot snapshot)
Method to return the name of this PortProtoId in a specified Snapshot.
|
ImmutableExport |
ExportId.inSnapshot(Snapshot snapshot)
Method to return the ImmutableExport representing ExportId in the specified Snapshot.
|
PrimitivePort |
PrimitivePortId.inSnapshot(Snapshot snapshot)
Method to return the PrimitivePort representing PrimitivePortId in the specified Snapshot.
|
Modifier and Type | Field and Description |
---|---|
Snapshot |
EJob.newSnapshot |
Snapshot |
EJob.oldSnapshot |
Modifier and Type | Method and Description |
---|---|
static Snapshot |
JobManager.findValidSnapshot()
Find some valid snapshot in cache.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
Listener.endBatch(Snapshot oldSnapshot,
Snapshot newSnapshot,
boolean undoRedo)
Handles database changes of a Job.
|
protected void |
AbstractUserInterface.showSnapshot(Snapshot newSnapshot,
boolean undoRedo)
Show new database snapshot.
|
Modifier and Type | Method and Description |
---|---|
void |
CVS.endBatch(Snapshot oldSnapshot,
Snapshot newSnapshot,
boolean undoRedo)
Handles database changes of a Job.
|
Modifier and Type | Method and Description |
---|---|
void |
DRC.endBatch(Snapshot oldSnapshot,
Snapshot newSnapshot,
boolean undoRedo)
Handles database changes of a Job.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
ELIB.writeLib(Snapshot snapshot,
LibId theLibId)
Method to write a Library in binary (.elib) format.
|
protected boolean |
JELIB.writeLib(Snapshot snapshot,
LibId libId,
java.util.Map<LibId,java.net.URL> libFiles,
boolean oldRevision)
Method to write a Library in Electric Library (.jelib) format.
|
protected boolean |
DELIB.writeLib(Snapshot snapshot,
LibId libId,
java.util.Set<CellId> oldCells) |
static boolean |
Output.writePanicSnapshot(Snapshot panicSnapshot,
java.io.File panicDir,
boolean oldRevision)
Method to write all Libraries in Snapsht into a panic directory.
|
Modifier and Type | Method and Description |
---|---|
void |
Project.endBatch(Snapshot oldSnapshot,
Snapshot newSnapshot,
boolean undoRedo)
Handles database changes of a Job.
|
Modifier and Type | Method and Description |
---|---|
void |
Routing.endBatch(Snapshot oldSnapshot,
Snapshot newSnapshot,
boolean undoRedo)
Handles database changes of a Job.
|
Modifier and Type | Method and Description |
---|---|
void |
User.endBatch(Snapshot oldSnapshot,
Snapshot newSnapshot,
boolean undoRedo)
Handles database changes of a Job.
|
void |
UserInterfaceMain.showSnapshot(Snapshot newSnapshot,
boolean undoRedo)
Show new database snapshot.saveh
|