Skip to content

Package: PasteInParentMasterDetailAction

PasteInParentMasterDetailAction

nameinstructionbranchcomplexitylinemethod
PasteInParentMasterDetailAction(EditingDomain)
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
createDelegatedAction(EditingDomain)
M: 5 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-2015 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: * Jonas Helming - initial API and implementation
13: ******************************************************************************/
14: package org.eclipse.emfforms.spi.swt.treemasterdetail.actions.delegating;
15:
16: import org.eclipse.emf.edit.domain.EditingDomain;
17: import org.eclipse.emf.edit.ui.action.CommandActionHandler;
18:
19: /**
20: * Delegates to {@link PasteInParentAction}.
21: *
22: * @author Jonas Helming
23: * @since 1.13
24: *
25: */
26: public class PasteInParentMasterDetailAction extends PasteMasterDetailAction {
27:
28:         /**
29:          * Constructor.
30:          *
31:          * @param editingDomain
32:          * The {@link EditingDomain} for the {@link PasteInParentAction}.
33:          */
34:         public PasteInParentMasterDetailAction(EditingDomain editingDomain) {
35:                 super(editingDomain);
36:         }
37:
38:         @Override
39:         protected CommandActionHandler createDelegatedAction(EditingDomain editingDomain) {
40:                 return new PasteInParentAction(editingDomain);
41:         }
42:
43: }