Skip to content

Package: VView

VView

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: * Eugen Neufeld - initial API and implementation
13: */
14: package org.eclipse.emf.ecp.view.spi.model;
15:
16: import org.eclipse.emf.common.util.EList;
17: import org.eclipse.emf.ecore.EClass;
18:
19: /**
20: * <!-- begin-user-doc -->
21: * A representation of the model object '<em><b>View</b></em>'.
22: *
23: * @noimplement This interface is not intended to be implemented by clients.
24: * @since 1.2
25: * <!-- end-user-doc -->
26: *
27: * <p>
28: * The following features are supported:
29: * </p>
30: * <ul>
31: * <li>{@link org.eclipse.emf.ecp.view.spi.model.VView#getRootEClass <em>Root EClass</em>}</li>
32: * <li>{@link org.eclipse.emf.ecp.view.spi.model.VView#getChildren <em>Children</em>}</li>
33: * <li>{@link org.eclipse.emf.ecp.view.spi.model.VView#getEcorePaths <em>Ecore Paths</em>}</li>
34: * <li>{@link org.eclipse.emf.ecp.view.spi.model.VView#getLoadingProperties <em>Loading Properties</em>}</li>
35: * </ul>
36: *
37: * @see org.eclipse.emf.ecp.view.spi.model.VViewPackage#getView()
38: * @model
39: * @generated
40: */
41: public interface VView extends VElement {
42:         /**
43:          * Returns the value of the '<em><b>Root EClass</b></em>' reference.
44:          * <!-- begin-user-doc -->
45:          * <p>
46:          * If the meaning of the '<em>Root EClass</em>' reference isn't clear, there really should be more of a description
47:          * here...
48:          * </p>
49:          * <!-- end-user-doc -->
50:          *
51:          * @return the value of the '<em>Root EClass</em>' reference.
52:          * @see #setRootEClass(EClass)
53:          * @see org.eclipse.emf.ecp.view.spi.model.VViewPackage#getView_RootEClass()
54:          * @model required="true"
55:          * @generated
56:          */
57:         EClass getRootEClass();
58:
59:         /**
60:          * Sets the value of the '{@link org.eclipse.emf.ecp.view.spi.model.VView#getRootEClass <em>Root EClass</em>}'
61:          * reference.
62:          * <!-- begin-user-doc -->
63:          * <!-- end-user-doc -->
64:          *
65:          * @param value the new value of the '<em>Root EClass</em>' reference.
66:          * @see #getRootEClass()
67:          * @generated
68:          */
69:         void setRootEClass(EClass value);
70:
71:         /**
72:          * Returns the value of the '<em><b>Children</b></em>' containment reference list.
73:          * The list contents are of type {@link org.eclipse.emf.ecp.view.spi.model.VContainedElement}.
74:          * <!-- begin-user-doc -->
75:          * <p>
76:          * If the meaning of the '<em>Children</em>' containment reference list isn't clear, there really should be more of
77:          * a description here...
78:          * </p>
79:          * <!-- end-user-doc -->
80:          *
81:          * @return the value of the '<em>Children</em>' containment reference list.
82:          * @see org.eclipse.emf.ecp.view.spi.model.VViewPackage#getView_Children()
83:          * @model containment="true"
84:          * @generated
85:          */
86:         EList<VContainedElement> getChildren();
87:
88:         /**
89:          * Returns the value of the '<em><b>Ecore Paths</b></em>' attribute list.
90:          * The list contents are of type {@link java.lang.String}.
91:          * <!-- begin-user-doc -->
92:          * <p>
93:          * If the meaning of the '<em>Ecore Paths</em>' attribute list isn't clear,
94:          * there really should be more of a description here...
95:          * </p>
96:          * <!-- end-user-doc -->
97:          *
98:          * @return the value of the '<em>Ecore Paths</em>' attribute list.
99:          * @see org.eclipse.emf.ecp.view.spi.model.VViewPackage#getView_EcorePaths()
100:          * @model
101:          * @generated
102:          */
103:         EList<String> getEcorePaths();
104:
105:         /**
106:          * Returns the value of the '<em><b>Loading Properties</b></em>' containment reference.
107:          * <!-- begin-user-doc -->
108:          * <p>
109:          * If the meaning of the '<em>Loading Properties</em>' containment reference isn't clear,
110:          * there really should be more of a description here...
111:          * </p>
112:          *
113:          * @since 1.7
114:          * <!-- end-user-doc -->
115:          * @return the value of the '<em>Loading Properties</em>' containment reference.
116:          * @see #setLoadingProperties(VViewModelProperties)
117:          * @see org.eclipse.emf.ecp.view.spi.model.VViewPackage#getView_LoadingProperties()
118:          * @model containment="true" required="true" transient="true"
119:          * @generated
120:          */
121:         VViewModelProperties getLoadingProperties();
122:
123:         /**
124:          * Sets the value of the '{@link org.eclipse.emf.ecp.view.spi.model.VView#getLoadingProperties <em>Loading
125:          * Properties</em>}' containment reference.
126:          * <!-- begin-user-doc -->
127:          *
128:          * @since 1.7
129:          * <!-- end-user-doc -->
130:          * @param value the new value of the '<em>Loading Properties</em>' containment reference.
131:          * @see #getLoadingProperties()
132:          * @generated
133:          */
134:         void setLoadingProperties(VViewModelProperties value);
135:
136:         /**
137:          * Sets the view and all its contents readonly.
138:          */
139:         void setAllContentsReadOnly();
140:
141: } // View