Example #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);
 }
Example #2
0
 @Override
 public FieldModelNode read(FieldModelNode value, IStorage storage) throws IOException {
   super.read(value, storage);
   value.delegate = FieldUtility.read(storage);
   return value;
 }
Example #3
0
 @Override
 public void write(FieldModelNode value, IStorage storage) throws IOException {
   super.write(value, storage);
   FieldUtility.write(value.delegate, storage);
 }