blob: 20d9c5ac40f54826b2b2eff5db5e37133571e90f (
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
|
/**
* 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 java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
import org.eclipse.papyrus.dd.dc.Bounds;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Use</b></em>'. <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* Rectangle is a graphical element that defines a rectangular shape with given bounds. A rectangle may be given rounded corners by setting its corner radius.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.papyrus.dd.dg.Use#getBounds <em>Bounds</em>}</li>
* <li>{@link org.eclipse.papyrus.dd.dg.Use#getReferencedElement <em>Referenced Element</em>}</li>
* </ul>
*
* @see org.eclipse.papyrus.dd.dg.DGPackage#getUse()
* @model
* @generated
*/
public interface Use extends GraphicalElement {
/**
* Returns the value of the '<em><b>Bounds</b></em>' containment reference.
* <!-- begin-user-doc --> <!-- end-user-doc --> <!-- begin-model-doc -->
* the bounds of the rectangle in the x-y coordinate system. <!--
* end-model-doc -->
*
* @return the value of the '<em>Bounds</em>' containment reference.
* @see #setBounds(Bounds)
* @see org.eclipse.papyrus.dd.dg.DGPackage#getUse_Bounds()
* @model containment="true" ordered="false"
* @generated
*/
Bounds getBounds();
/**
* Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Use#getBounds <em>Bounds</em>}' containment reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
* @param value the new value of the '<em>Bounds</em>' containment reference.
* @see #getBounds()
* @generated
*/
void setBounds(Bounds value);
/**
* Returns the value of the '<em><b>Referenced Element</b></em>' reference.
* <!-- begin-user-doc --> <!-- end-user-doc --> <!-- begin-model-doc --> A
* list of graphical elements that are members of this group. <!--
* end-model-doc -->
*
* @return the value of the '<em>Referenced Element</em>' reference.
* @see #setReferencedElement(GraphicalElement)
* @see org.eclipse.papyrus.dd.dg.DGPackage#getUse_ReferencedElement()
* @model required="true"
* @generated
*/
GraphicalElement getReferencedElement();
/**
* Sets the value of the '{@link org.eclipse.papyrus.dd.dg.Use#getReferencedElement <em>Referenced Element</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
* @param value the new value of the '<em>Referenced Element</em>' reference.
* @see #getReferencedElement()
* @generated
*/
void setReferencedElement(GraphicalElement value);
/**
* <!-- begin-user-doc --> <!-- end-user-doc --> <!-- begin-model-doc -->
*
* @param diagnostics
* The chain of diagnostics to which problems are to be appended.
* @param context
* The cache of context-specific information. <!-- end-model-doc
* -->
* @model annotation=
* "http://www.eclipse.org/emf/2002/Ecore/OCL body='referencedElement->notEmpty() implies referencedElement.id->notEmpty()'"
* @generated
*/
boolean referencedElementHasId(DiagnosticChain diagnostics, Map<Object, Object> context);
} // Use
|