blob: b689fe7bf6da10356b383de308d2df114d274d47 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
/**
* Copyright (c) 2014 CEA LIST.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* CEA LIST - Initial API and implementation
*/
package org.eclipse.papyrus.dd.di;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Diagram</b></em>'. <!-- end-user-doc -->
*
* <!-- begin-model-doc --> Diagram is an abstract container of a graph of
* diagram elements. Diagrams are diagram elements with an origin point in the
* x-y coordinate system. Their elements are laid out relative to their origin
* point. <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.dd.di.Diagram#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.papyrus.dd.di.Diagram#getDocumentation <em>
* Documentation</em>}</li>
* <li>{@link org.eclipse.papyrus.dd.di.Diagram#getResolution <em>Resolution
* </em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.papyrus.dd.di.DIPackage#getDiagram()
* @model abstract="true"
* @generated
*/
public interface Diagram extends Shape {
/**
* Returns the value of the '<em><b>Name</b></em>' attribute. The default
* value is <code>""</code>. <!-- begin-user-doc --> <!-- end-user-doc -->
* <!-- begin-model-doc --> the name of the diagram. <!-- end-model-doc -->
*
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.papyrus.dd.di.DIPackage#getDiagram_Name()
* @model default="" dataType="org.eclipse.papyrus.dd.dc.String"
* required="true" ordered="false"
* @generated
*/
String getName();
/**
* Sets the value of the '{@link org.eclipse.papyrus.dd.di.Diagram#getName
* <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
/**
* Returns the value of the '<em><b>Documentation</b></em>' attribute. The
* default value is <code>""</code>. <!-- begin-user-doc --> <!--
* end-user-doc --> <!-- begin-model-doc --> the documentation of the
* diagram. <!-- end-model-doc -->
*
* @return the value of the '<em>Documentation</em>' attribute.
* @see #setDocumentation(String)
* @see org.eclipse.papyrus.dd.di.DIPackage#getDiagram_Documentation()
* @model default="" dataType="org.eclipse.papyrus.dd.dc.String"
* required="true" ordered="false"
* @generated
*/
String getDocumentation();
/**
* Sets the value of the '
* {@link org.eclipse.papyrus.dd.di.Diagram#getDocumentation
* <em>Documentation</em>}' attribute. <!-- begin-user-doc --> <!--
* end-user-doc -->
*
* @param value
* the new value of the '<em>Documentation</em>' attribute.
* @see #getDocumentation()
* @generated
*/
void setDocumentation(String value);
/**
* Returns the value of the '<em><b>Resolution</b></em>' attribute. The
* default value is <code>"300"</code>. <!-- begin-user-doc --> <!--
* end-user-doc --> <!-- begin-model-doc --> the resolution of the diagram
* expressed in user units per inch. <!-- end-model-doc -->
*
* @return the value of the '<em>Resolution</em>' attribute.
* @see #setResolution(double)
* @see org.eclipse.papyrus.dd.di.DIPackage#getDiagram_Resolution()
* @model default="300" dataType="org.eclipse.papyrus.dd.dc.Real"
* required="true" ordered="false"
* @generated
*/
double getResolution();
/**
* Sets the value of the '
* {@link org.eclipse.papyrus.dd.di.Diagram#getResolution
* <em>Resolution</em>}' attribute. <!-- begin-user-doc --> <!--
* end-user-doc -->
*
* @param value
* the new value of the '<em>Resolution</em>' attribute.
* @see #getResolution()
* @generated
*/
void setResolution(double value);
} // Diagram
|