|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.ui.service.align.internal.AbstractAlignmentService
eu.esdihumboldt.hale.ui.service.align.internal.AlignmentServiceImpl
public class AlignmentServiceImpl
Default AlignmentService
implementation
Constructor Summary | |
---|---|
AlignmentServiceImpl(ProjectService projectService)
Default constructor |
Method Summary | |
---|---|
void |
addCell(MutableCell cell)
Adds the given cell to the current alignment. |
void |
addOrUpdateAlignment(MutableAlignment alignment)
Adds the cells contained in the given alignment to the current alignment. |
void |
clean()
Invoke this operation if you want to clear out all alignments stored. |
Alignment |
getAlignment()
Get the current alignment |
void |
removeCells(Cell... cells)
Removes the given cells |
void |
replaceCell(Cell oldCell,
MutableCell newCell)
Replace a cell with a new cell. |
Methods inherited from class eu.esdihumboldt.hale.ui.service.align.internal.AbstractAlignmentService |
---|
addListener, notifyAlignmentCleared, notifyCellReplaced, notifyCellsAdded, notifyCellsRemoved, removeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AlignmentServiceImpl(ProjectService projectService)
projectService
- the project serviceMethod Detail |
---|
public void addCell(MutableCell cell)
AlignmentService
cell
- the cell to addAlignmentService.addCell(MutableCell)
public void replaceCell(Cell oldCell, MutableCell newCell)
AlignmentService
oldCell
- the old cell that should be removed from the alignmentnewCell
- the new cell that should be added to the alignmentAlignmentService.replaceCell(Cell, MutableCell)
public void clean()
AlignmentService
AlignmentService.clean()
public void addOrUpdateAlignment(MutableAlignment alignment)
AlignmentService
alignment
- the alignment to addAlignmentService.addOrUpdateAlignment(MutableAlignment)
public Alignment getAlignment()
AlignmentService
Alignment
as currently represented in the
Alignment Model.AlignmentService.getAlignment()
public void removeCells(Cell... cells)
AlignmentService
cells
- the cells to removeAlignmentService.removeCells(Cell[])
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |