Logo Search packages:      
Sourcecode: wims version File versions  Download package

void SharpTools::History::add ( SharpTableModel  model,
CellRange  range 
) [inline]

This adds the range of cells to the history.

model the SharpTableModel we operate on
range the cell range the operation will affect

Definition at line 89 of file History.java.

Referenced by SharpTools::EditOp::clear(), SharpTools::EditOp::doCopy(), SharpTools::EditOp::fill(), SharpTools::EditOp::paste(), and SharpTools::SharpTableModel::setValueAt().

      // construct the clipboard to be saved
      SharpClipboard clip = new SharpClipboard(model, range, false);
        add(model, clip);

Generated by  Doxygen 1.6.0   Back to index