Skip to content

Package: ECPProjectSelectionModelClassCompositeImpl

ECPProjectSelectionModelClassCompositeImpl

nameinstructionbranchcomplexitylinemethod
ECPProjectSelectionModelClassCompositeImpl(ECPProject)
M: 12 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 3 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2011-2014 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 - initial API and implementation
13: ******************************************************************************/
14: package org.eclipse.emf.ecp.internal.ui.composites;
15:
16: import org.eclipse.emf.ecp.core.ECPProject;
17: import org.eclipse.emf.ecp.spi.common.ui.composites.SelectModelClassCompositeImpl;
18: import org.eclipse.emf.ecp.spi.core.InternalProject;
19:
20: /**
21: * @author Eugen
22: *
23: */
24: public class ECPProjectSelectionModelClassCompositeImpl extends SelectModelClassCompositeImpl {
25:
26:         /**
27:          * Constructor that delegates to the
28:          * {@link org.eclipse.emf.ecp.spi.common.ui.composites.AbstractEClassTreeSelectionComposite#AbstractEClassTreeSelectionComposite(java.util.Collection, java.util.Collection, java.util.Collection)}
29:          * by reading the data from the project.
30:          *
31:          * @param project the {@link ECPProject} to read the data from
32:          */
33:         public ECPProjectSelectionModelClassCompositeImpl(ECPProject project) {
34:                 super(((InternalProject) project).getUnsupportedEPackages(), ((InternalProject) project).getVisiblePackages(),
35:                         ((InternalProject) project).getVisibleEClasses());
36:         }
37:
38: }