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