예제 #1
0
 @Override
 public void setPath(ASTModelPath path) {
   super.setPath(path);
   IASTFigureContent content = getContent();
   if (content instanceof LabelContent) {
     ((LabelContent) content).setPath(path);
   }
   delegate.setPath(path);
 }
예제 #2
0
 @Override
 public FieldModelNode read(FieldModelNode value, IStorage storage) throws IOException {
   super.read(value, storage);
   value.delegate = FieldUtility.read(storage);
   return value;
 }
예제 #3
0
 @Override
 public void write(FieldModelNode value, IStorage storage) throws IOException {
   super.write(value, storage);
   FieldUtility.write(value.delegate, storage);
 }