Skip to content

Package: VTReferenceStyleProperty

VTReferenceStyleProperty

Coverage

1: /**
2: * Copyright (c) 2011-2018 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: * EclipseSource Munich - initial API and implementation
13: */
14: package org.eclipse.emf.ecp.view.template.style.reference.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>Style Property</b></em>'.
21: *
22: * @since 1.18
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.reference.model.VTReferenceStyleProperty#isShowCreateAndLinkButtonForCrossReferences
30: * <em>Show Create And Link Button For Cross References</em>}</li>
31: * <li>{@link org.eclipse.emf.ecp.view.template.style.reference.model.VTReferenceStyleProperty#isShowLinkButtonForContainmentReferences
32: * <em>Show Link Button For Containment References</em>}</li>
33: * </ul>
34: *
35: * @see org.eclipse.emf.ecp.view.template.style.reference.model.VTReferencePackage#getReferenceStyleProperty()
36: * @model
37: * @generated
38: */
39: public interface VTReferenceStyleProperty extends VTStyleProperty {
40:         /**
41:          * Returns the value of the '<em><b>Show Create And Link Button For Cross References</b></em>' attribute.
42:          * The default value is <code>"true"</code>.
43:          * <!-- begin-user-doc -->
44:          * <p>
45:          * If the meaning of the '<em>Show Create And Link Button For Cross References</em>' attribute isn't clear,
46:          * there really should be more of a description here...
47:          * </p>
48:          * <!-- end-user-doc -->
49:          *
50:          * @return the value of the '<em>Show Create And Link Button For Cross References</em>' attribute.
51:          * @see #setShowCreateAndLinkButtonForCrossReferences(boolean)
52:          * @see org.eclipse.emf.ecp.view.template.style.reference.model.VTReferencePackage#getReferenceStyleProperty_ShowCreateAndLinkButtonForCrossReferences()
53:          * @model default="true"
54:          * @generated
55:          */
56:         boolean isShowCreateAndLinkButtonForCrossReferences();
57:
58:         /**
59:          * Sets the value of the
60:          * '{@link org.eclipse.emf.ecp.view.template.style.reference.model.VTReferenceStyleProperty#isShowCreateAndLinkButtonForCrossReferences
61:          * <em>Show Create And Link Button For Cross References</em>}' attribute.
62:          * <!-- begin-user-doc -->
63:          * <!-- end-user-doc -->
64:          *
65:          * @param value the new value of the '<em>Show Create And Link Button For Cross References</em>' attribute.
66:          * @see #isShowCreateAndLinkButtonForCrossReferences()
67:          * @generated
68:          */
69:         void setShowCreateAndLinkButtonForCrossReferences(boolean value);
70:
71:         /**
72:          * Returns the value of the '<em><b>Show Link Button For Containment References</b></em>' attribute.
73:          * The default value is <code>"true"</code>.
74:          * <!-- begin-user-doc -->
75:          *
76:          * @since 1.20
77:          * <!-- end-user-doc -->
78:          * <!-- begin-model-doc -->
79:          * If true, a button to link existing model objects is shown for containment reference controls. Otherwise,
80:          * the
81:          * button is hidden.
82:          * <!-- end-model-doc -->
83:          *
84:          * @return the value of the '<em>Show Link Button For Containment References</em>' attribute.
85:          * @see #setShowLinkButtonForContainmentReferences(boolean)
86:          * @see org.eclipse.emf.ecp.view.template.style.reference.model.VTReferencePackage#getReferenceStyleProperty_ShowLinkButtonForContainmentReferences()
87:          * @model default="true"
88:          * annotation="http://www.eclipse.org/emf/2002/GenModel propertyDescription='If true, a button to link
89:          * existing model objects is shown for containment reference controls. Otherwise, the button is hidden.
90:          * [default: true]'"
91:          * @generated
92:          */
93:         boolean isShowLinkButtonForContainmentReferences();
94:
95:         /**
96:          * Sets the value of the
97:          * '{@link org.eclipse.emf.ecp.view.template.style.reference.model.VTReferenceStyleProperty#isShowLinkButtonForContainmentReferences
98:          * <em>Show Link Button For Containment References</em>}' attribute.
99:          * <!-- begin-user-doc -->
100:          *
101:          * @since 1.20
102:          * <!-- end-user-doc -->
103:          *
104:          * @param value the new value of the '<em>Show Link Button For Containment References</em>' attribute.
105:          * @see #isShowLinkButtonForContainmentReferences()
106:          * @generated
107:          */
108:         void setShowLinkButtonForContainmentReferences(boolean value);
109:
110: } // VTReferenceStyleProperty