@Override
public void copy(final IShape s) {
super.copy(s);
if(s instanceof IStdGridProp) {
final IStdGridProp grid = (IStdGridProp) s;
gridEndx = grid.getGridEndX();
gridEndy = grid.getGridEndY();
gridStartx = grid.getGridStartX();
gridStarty = grid.getGridStartY();
originx = grid.getOriginX();
originy = grid.getOriginY();
setLabelsSize(grid.getLabelsSize());
}
}