Skip to content

Package: CustomControlInitFailedReport

CustomControlInitFailedReport

nameinstructionbranchcomplexitylinemethod
CustomControlInitFailedReport(String, String)
M: 15 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: * Edgar Mueller - initial API and implementation
13: ******************************************************************************/
14: package org.eclipse.emf.ecp.view.spi.swt.reporting;
15:
16: import org.eclipse.emfforms.spi.common.report.AbstractReport;
17:
18: /**
19: * Indicates that the initialization of a custom control failed.
20: *
21: * @author emueller
22: * @since 1.5
23: *
24: */
25: public class CustomControlInitFailedReport extends AbstractReport {
26:
27:         /**
28:          * Constructor.
29:          *
30:          * @param bundleName
31:          * the name of the bundle containing the custom control
32:          * @param customControlClassName
33:          * the name of the class for the custom control
34:          */
35:         public CustomControlInitFailedReport(String bundleName, String customControlClassName) {
36:                 super(String.format("The %1$s/%2$s cannot be loaded!", //$NON-NLS-1$
37:                         bundleName, customControlClassName));
38:         }
39: }