1 package org.simantics.spreadsheet.graph;
3 import java.util.Collections;
6 public class SpreadsheetCellStyle implements SheetNode {
8 public final SpreadsheetCell cell;
10 public SpreadsheetCellStyle(SpreadsheetCell spreadsheetCell) {
11 this.cell = spreadsheetCell;
15 public String getName() {
20 public Map getChildren() {
21 return Collections.emptyMap();
25 public Map getProperties() {
26 return Collections.emptyMap();
30 public int hashCode() {
33 result = prime * result + ((cell == null) ? 0 : cell.hashCode());
38 public boolean equals(Object obj) {
43 if (getClass() != obj.getClass())
45 SpreadsheetCellStyle other = (SpreadsheetCellStyle) obj;
47 if (other.cell != null)
49 } else if (!cell.equals(other.cell))