コード例 #1
0
 public void removeShape(BShapeModel model) {
   if (model != null) shapeModels.remove(model.getName());
 }
コード例 #2
0
 public void addShape(BShapeModel model) {
   if (model.getName() == null) model.setName(shapeCounter.getShapeName());
   shapeModels.put(model.getName(), model);
   model.setData(this);
 }