Skip to content

Package: SelectEStructuralFeaturesWizard$1

SelectEStructuralFeaturesWizard$1

nameinstructionbranchcomplexitylinemethod
createControl(Composite)
M: 14 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 4 C: 0
0%
M: 1 C: 0
0%
{...}
M: 7 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2011-2013 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.internal.wizards;
15:
16: import org.eclipse.emf.ecp.internal.ui.Messages;
17: import org.eclipse.emf.ecp.spi.common.ui.ECPWizard;
18: import org.eclipse.emf.ecp.spi.common.ui.composites.CheckedEStructuralFeatureComposite;
19: import org.eclipse.jface.wizard.WizardPage;
20: import org.eclipse.swt.widgets.Composite;
21:
22: /**
23: * A wizard to select EStructuralFeatures.
24: *
25: * @author jfaltermeier
26: *
27: */
28: public class SelectEStructuralFeaturesWizard extends ECPWizard<CheckedEStructuralFeatureComposite> {
29:
30:         /**
31:          *
32:          * {@inheritDoc}
33:          *
34:          * @see org.eclipse.jface.wizard.Wizard#addPages()
35:          */
36:         @Override
37:         public void addPages() {
38:                 super.addPages();
39:                 final WizardPage page = new WizardPage(Messages.SelectEStructuralFeaturesWizard_Title) {
40:
41:                         @Override
42:                         public void createControl(Composite parent) {
43:                                 final Composite composite = getCompositeProvider().createUI(parent);
44:                                 setPageComplete(true);
45:                                 setControl(composite);
46:                         }
47:                 };
48:                 addPage(page);
49:                 page.setTitle(Messages.SelectEStructuralFeaturesWizard_PageTitle);
50:                 page.setDescription(Messages.SelectEStructuralFeaturesWizard_PageDescription);
51:         }
52:
53:         /**
54:          * {@inheritDoc}
55:          *
56:          * @see org.eclipse.jface.wizard.Wizard#performFinish()
57:          */
58:         @Override
59:         public boolean performFinish() {
60:                 return true;
61:         }
62:
63: }