*******************************************************************************/
package org.simantics.spreadsheet.ui;
-import gnu.trove.map.hash.THashMap;
-
import java.awt.Rectangle;
import java.util.ArrayList;
import java.util.Collection;
import java.util.concurrent.CopyOnWriteArrayList;
import org.simantics.spreadsheet.ClientModel;
-import org.simantics.spreadsheet.util.SpreadsheetUtils;
+import org.simantics.spreadsheet.Spreadsheets;
import org.simantics.utils.datastructures.Pair;
import org.simantics.utils.datastructures.collections.CollectionUtils;
+import gnu.trove.map.hash.THashMap;
+
public class ClientModelImpl implements ClientModel {
final private Map<String, Map<String, Object>> properties = new THashMap<String, Map<String, Object>>();
Map<String, Object> cls = cells.remove(location);
if(cls == null) return;
- long l = SpreadsheetUtils.decodeCellCoded(location);
+ long l = Spreadsheets.decodeCellCoded(location);
int row = (int)(l & 0xffffffff) - 1;
int column = (int)((l>>32) & 0xffffffff);
cls.put(property, value);
- long l = SpreadsheetUtils.decodeCellCoded(location);
+ long l = Spreadsheets.decodeCellCoded(location);
int row = (int)(l & 0xffffffff) - 1;
int column = (int)((l>>32) & 0xffffffff);