*******************************************************************************/
package org.simantics.spreadsheet;
-import java.util.List;
import java.util.function.Consumer;
import org.simantics.databoard.binding.Binding;
import org.simantics.databoard.binding.mutable.MutableVariant;
import org.simantics.databoard.binding.mutable.Variant;
-import org.simantics.spreadsheet.ClientModel.OperationMode;
public interface CellEditor<O> {
- public interface Transaction<O> {
-
- void setContext(Object context);
-
- Object getContext();
-
- void add(O operation);
-
- /*
- * Applies the operations collected with this transaction
- *
- */
- void commit();
-
- boolean isOperationMode();
-
- List<Object> needSynchronization();
-
- void needSynchronization(Object synchronizable);
- }
-
/*
* Sets the given property of the given cell
*