1 /*
2 * This file is a part of CAST project.
3 * (c) Copyright 2007, AGH University of Science & Technology
4 * https://caribou.iisg.agh.edu.pl/trac/cast
5 *
6 * Licensed under the Eclipse Public License, Version 1.0 (the "License").
7 * You may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 * http://www.eclipse.org/legal/epl-v10.html
10 */
11 /*
12 * File: DiagramAttributeManager.java
13 * Created: 2007-00-00
14 * Author: awos
15 * $Id: DiagramAttributeManager.java 2214 2009-01-02 19:42:50Z tmilos $
16 */
17
18 package pl.edu.agh.cast.model.attributes;
19
20 /**
21 * Attribute manager for diagram's attributes.
22 *
23 * @author AGH CAST Team
24 */
25 public class DiagramAttributeManager extends AttributeManager {
26
27 private static final long serialVersionUID = -1473637582899120199L;
28
29 /**
30 * Name of the permanent attribute <em>Margin</em>.
31 */
32 public static final String DIAGRAM_MARGIN_ID = "diagram.margin"; //$NON-NLS-1$
33
34 /**
35 * Default constructor.
36 */
37 public DiagramAttributeManager() {
38 super();
39 this.registerPermanentAttribute(DIAGRAM_MARGIN_ID, ValueType.Integer, true, false);
40 }
41
42 }