blob: 53dbf04e634d11308876187c452989d3437328f8 (
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
|
/**
* Copyright (c) 2007, 2013 THALES GLOBAL SERVICES.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Obeo - initial API and implementation
*
*/
package org.eclipse.sirius.diagram.description;
/**
* <!-- begin-user-doc --> A representation of the model object ' <em><b>Composite Layout</b></em>'. <!-- end-user-doc
* -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.sirius.diagram.description.CompositeLayout#getPadding <em>Padding</em>}</li>
* <li>{@link org.eclipse.sirius.diagram.description.CompositeLayout#getDirection <em>Direction</em>}</li>
* </ul>
*
* @see org.eclipse.sirius.diagram.description.DescriptionPackage#getCompositeLayout()
* @model
* @generated
*/
public interface CompositeLayout extends Layout {
/**
* Returns the value of the '<em><b>Padding</b></em>' attribute. The default value is <code>"30"</code>. <!--
* begin-user-doc -->
* <p>
* If the meaning of the '<em>Padding</em>' attribute isn't clear, there really should be more of a description
* here...
* </p>
* <!-- end-user-doc -->
*
* @return the value of the '<em>Padding</em>' attribute.
* @see #setPadding(int)
* @see org.eclipse.sirius.diagram.description.DescriptionPackage#getCompositeLayout_Padding()
* @model default="30" required="true"
* @generated
*/
int getPadding();
/**
* Sets the value of the '{@link org.eclipse.sirius.diagram.description.CompositeLayout#getPadding
* <em>Padding</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Padding</em>' attribute.
* @see #getPadding()
* @generated
*/
void setPadding(int value);
/**
* Returns the value of the '<em><b>Direction</b></em>' attribute. The default value is <code>"topToBottom"</code>.
* The literals are from the enumeration {@link org.eclipse.sirius.diagram.description.LayoutDirection}. <!--
* begin-user-doc -->
* <p>
* If the meaning of the '<em>Direction</em>' attribute isn't clear, there really should be more of a description
* here...
* </p>
* <!-- end-user-doc -->
*
* @return the value of the '<em>Direction</em>' attribute.
* @see org.eclipse.sirius.diagram.description.LayoutDirection
* @see #setDirection(LayoutDirection)
* @see org.eclipse.sirius.diagram.description.DescriptionPackage#getCompositeLayout_Direction()
* @model default="topToBottom" required="true"
* @generated
*/
LayoutDirection getDirection();
/**
* Sets the value of the '{@link org.eclipse.sirius.diagram.description.CompositeLayout#getDirection
* <em>Direction</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Direction</em>' attribute.
* @see org.eclipse.sirius.diagram.description.LayoutDirection
* @see #getDirection()
* @generated
*/
void setDirection(LayoutDirection value);
} // CompositeLayout
|