Package: EditingDomainPresetStrategy

EditingDomainPresetStrategy

nameinstructionbranchcomplexitylinemethod
EditingDomainPresetStrategy()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
updateEditingDomain(Object)
M: 0 C: 1
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2016 RCP Vision (http://www.rcp-vision.com) and others.
3: * All rights reserved. This program and the accompanying materials
4: * are made available under the terms of the Eclipse Public License v1.0
5: * which accompanies this distribution, and is available at
6: * http://www.eclipse.org/legal/epl-v10.html
7: *
8: * Contributors:
9: * Lorenzo Bettini - initial API and implementation
10: *******************************************************************************/
11: package org.eclipse.emf.parsley.edit.domain;
12:
13: /**
14: * The editing domain is preset and never changed; it is assumed that the
15: * editing domain is explicitly set after the creation of an instance of this
16: * class.
17: *
18: * @author Lorenzo Bettini - initial API and implementation
19: *
20: */
21: public class EditingDomainPresetStrategy extends EditingDomainFinderStrategy {
22:
23:         @Override
24:         public void updateEditingDomain(Object object) {
25:                 // no update, the editing domain is never changed once initialized
26:         }
27:
28: }