コード例 #1
0
 public void removePage(BPageModel model) {
   if (model != null) {
     pageModels.remove(model.getName());
     for (BShape shape : model.getShapes()) removeShape(shape.getModel());
     model = null;
   }
 }
コード例 #2
0
 public void removeResource(String resourceName) {
   for (BShapeModel shapeModel : shapeModels.values())
     if (shapeModel.getImageName().equals(resourceName)) shapeModel.setImageName("");
   resources.remove(resourceName);
   resourceNames.remove(resourceName);
 }
コード例 #3
0
 public void removeShape(BShapeModel model) {
   if (model != null) shapeModels.remove(model.getName());
 }