Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 65942eada34959d717c92c708d9e41d08a3ddf15 (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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
/**
 * 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.dg;

import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc --> A representation of the model object '
 * <em><b>Graphical Element</b></em>'. <!-- end-user-doc -->
 * 
 * <!-- begin-model-doc --> GraphicalElement is the abstract superclass of all
 * graphical elements that can be nested in a canvas. <!-- end-model-doc -->
 * 
 * <p>
 * The following features are supported:
 * <ul>
 * <li>{@link org.eclipse.papyrus.dd.dg.GraphicalElement#getClipPath <em>Clip
 * Path</em>}</li>
 * <li>{@link org.eclipse.papyrus.dd.dg.GraphicalElement#getGroup <em>Group
 * </em>}</li>
 * <li>{@link org.eclipse.papyrus.dd.dg.GraphicalElement#getKeyword <em>Keyword
 * </em>}</li>
 * <li>{@link org.eclipse.papyrus.dd.dg.GraphicalElement#getStyle <em>Style
 * </em>}</li>
 * <li>{@link org.eclipse.papyrus.dd.dg.GraphicalElement#getTransform <em>
 * Transform</em>}</li>
 * </ul>
 * </p>
 * 
 * @see org.eclipse.papyrus.dd.dg.DGPackage#getGraphicalElement()
 * @model abstract="true"
 * @generated
 */
public interface GraphicalElement extends Definition {
	/**
	 * Returns the value of the '<em><b>Clip Path</b></em>' reference. <!--
	 * begin-user-doc --> <!-- end-user-doc --> <!-- begin-model-doc --> A clip
	 * path that masks the painting of this graphical element. <!--
	 * end-model-doc -->
	 * 
	 * @return the value of the '<em>Clip Path</em>' reference.
	 * @see #setClipPath(ClipPath)
	 * @see org.eclipse.papyrus.dd.dg.DGPackage#getGraphicalElement_ClipPath()
	 * @model ordered="false"
	 * @generated
	 */
	ClipPath getClipPath();

	/**
	 * Sets the value of the '
	 * {@link org.eclipse.papyrus.dd.dg.GraphicalElement#getClipPath
	 * <em>Clip Path</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc
	 * -->
	 * 
	 * @param value
	 *            the new value of the '<em>Clip Path</em>' reference.
	 * @see #getClipPath()
	 * @generated
	 */
	void setClipPath(ClipPath value);

	/**
	 * Returns the value of the '<em><b>Group</b></em>' container reference. It
	 * is bidirectional and its opposite is '
	 * {@link org.eclipse.papyrus.dd.dg.Group#getMember <em>Member</em>}'. <!--
	 * begin-user-doc --> <!-- end-user-doc --> <!-- begin-model-doc --> The
	 * group that owns this graphical element. <!-- end-model-doc -->
	 * 
	 * @return the value of the '<em>Group</em>' container reference.
	 * @see #setGroup(Group)
	 * @see org.eclipse.papyrus.dd.dg.DGPackage#getGraphicalElement_Group()
	 * @see org.eclipse.papyrus.dd.dg.Group#getMember
	 * @model opposite="member" transient="false" ordered="false"
	 * @generated
	 */
	Group getGroup();

	/**
	 * Sets the value of the '
	 * {@link org.eclipse.papyrus.dd.dg.GraphicalElement#getGroup
	 * <em>Group</em>}' container reference. <!-- begin-user-doc --> <!--
	 * end-user-doc -->
	 * 
	 * @param value
	 *            the new value of the '<em>Group</em>' container reference.
	 * @see #getGroup()
	 * @generated
	 */
	void setGroup(Group value);

	/**
	 * Returns the value of the '<em><b>Keyword</b></em>' attribute list. The
	 * list contents are of type {@link java.lang.String}. <!-- begin-user-doc
	 * --> <!-- end-user-doc --> <!-- begin-model-doc --> A list of strings
	 * representing keywords of the graphical element. <!-- end-model-doc -->
	 * 
	 * @return the value of the '<em>Keyword</em>' attribute list.
	 * @see org.eclipse.papyrus.dd.dg.DGPackage#getGraphicalElement_Keyword()
	 * @model dataType="org.eclipse.papyrus.dd.dc.String"
	 * @generated
	 */
	EList<String> getKeyword();

	/**
	 * Returns the value of the '<em><b>Style</b></em>' containment reference.
	 * <!-- begin-user-doc --> <!-- end-user-doc --> <!-- begin-model-doc --> An
	 * inline style that applies on this graphical element. <!-- end-model-doc
	 * -->
	 * 
	 * @return the value of the '<em>Style</em>' containment reference.
	 * @see #setStyle(Style)
	 * @see org.eclipse.papyrus.dd.dg.DGPackage#getGraphicalElement_Style()
	 * @model containment="true"
	 * @generated
	 */
	Style getStyle();

	/**
	 * Sets the value of the '
	 * {@link org.eclipse.papyrus.dd.dg.GraphicalElement#getStyle
	 * <em>Style</em>}' containment reference. <!-- begin-user-doc --> <!--
	 * end-user-doc -->
	 * 
	 * @param value
	 *            the new value of the '<em>Style</em>' containment reference.
	 * @see #getStyle()
	 * @generated
	 */
	void setStyle(Style value);

	/**
	 * Returns the value of the '<em><b>Transform</b></em>' containment
	 * reference list. The list contents are of type
	 * {@link org.eclipse.papyrus.dd.dg.Transform}. <!-- begin-user-doc --> <!--
	 * end-user-doc --> <!-- begin-model-doc --> A list of transforms that apply
	 * to this graphical element. <!-- end-model-doc -->
	 * 
	 * @return the value of the '<em>Transform</em>' containment reference list.
	 * @see org.eclipse.papyrus.dd.dg.DGPackage#getGraphicalElement_Transform()
	 * @model containment="true"
	 * @generated
	 */
	EList<Transform> getTransform();

} // GraphicalElement

Back to the top