Skip to content

Package: VTLabelWidthStyleProperty

VTLabelWidthStyleProperty

Coverage

1: /**
2: * Copyright (c) 2011-2017 EclipseSource Muenchen GmbH and others.
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License 2.0
6: * which accompanies this distribution, and is available at
7: * https://www.eclipse.org/legal/epl-2.0/
8: *
9: * SPDX-License-Identifier: EPL-2.0
10: *
11: * Contributors:
12: * Johannes Faltermeier - initial API and implementation
13: */
14: package org.eclipse.emf.ecp.view.template.style.labelwidth.model;
15:
16: import org.eclipse.emf.ecp.view.template.model.VTStyleProperty;
17:
18: /**
19: * <!-- begin-user-doc -->
20: * A representation of the model object '<em><b>Label Width Style Property</b></em>'.
21: *
22: * @since 1.16
23: * <!-- end-user-doc -->
24: *
25: * <p>
26: * The following features are supported:
27: * </p>
28: * <ul>
29: * <li>{@link org.eclipse.emf.ecp.view.template.style.labelwidth.model.VTLabelWidthStyleProperty#getWidth
30: * <em>Width</em>}</li>
31: * </ul>
32: *
33: * @see org.eclipse.emf.ecp.view.template.style.labelwidth.model.VTLabelwidthPackage#getLabelWidthStyleProperty()
34: * @model
35: * @generated
36: */
37: public interface VTLabelWidthStyleProperty extends VTStyleProperty {
38:         /**
39:          * Returns the value of the '<em><b>Width</b></em>' attribute.
40:          * <!-- begin-user-doc -->
41:          * <!-- end-user-doc -->
42:          * <!-- begin-model-doc -->
43:          * The width of the control's label.
44:          * <!-- end-model-doc -->
45:          *
46:          * @return the value of the '<em>Width</em>' attribute.
47:          * @see #isSetWidth()
48:          * @see #unsetWidth()
49:          * @see #setWidth(int)
50:          * @see org.eclipse.emf.ecp.view.template.style.labelwidth.model.VTLabelwidthPackage#getLabelWidthStyleProperty_Width()
51:          * @model unsettable="true" required="true"
52:          * @generated
53:          */
54:         int getWidth();
55:
56:         /**
57:          * Sets the value of the
58:          * '{@link org.eclipse.emf.ecp.view.template.style.labelwidth.model.VTLabelWidthStyleProperty#getWidth
59:          * <em>Width</em>}' attribute.
60:          * <!-- begin-user-doc -->
61:          * <!-- end-user-doc -->
62:          *
63:          * @param value the new value of the '<em>Width</em>' attribute.
64:          * @see #isSetWidth()
65:          * @see #unsetWidth()
66:          * @see #getWidth()
67:          * @generated
68:          */
69:         void setWidth(int value);
70:
71:         /**
72:          * Unsets the value of the
73:          * '{@link org.eclipse.emf.ecp.view.template.style.labelwidth.model.VTLabelWidthStyleProperty#getWidth
74:          * <em>Width</em>}' attribute.
75:          * <!-- begin-user-doc -->
76:          * <!-- end-user-doc -->
77:          *
78:          * @see #isSetWidth()
79:          * @see #getWidth()
80:          * @see #setWidth(int)
81:          * @generated
82:          */
83:         void unsetWidth();
84:
85:         /**
86:          * Returns whether the value of the
87:          * '{@link org.eclipse.emf.ecp.view.template.style.labelwidth.model.VTLabelWidthStyleProperty#getWidth
88:          * <em>Width</em>}' attribute is set.
89:          * <!-- begin-user-doc -->
90:          * <!-- end-user-doc -->
91:          *
92:          * @return whether the value of the '<em>Width</em>' attribute is set.
93:          * @see #unsetWidth()
94:          * @see #getWidth()
95:          * @see #setWidth(int)
96:          * @generated
97:          */
98:         boolean isSetWidth();
99:
100: } // VTLabelWidthStyleProperty