Package: AbstractTestViewModelService2
AbstractTestViewModelService2
name | instruction | branch | complexity | line | method | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AbstractTestViewModelService2() |
|
|
|
|
|
||||||||||||||||||||
dispose() |
|
|
|
|
|
||||||||||||||||||||
instantiate(ViewModelContext) |
|
|
|
|
|
Coverage
1: /*******************************************************************************
2: * Copyright (c) 2011-2016 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.emfforms.internal.core.services.legacy;
15:
16: import org.eclipse.emf.ecp.view.spi.context.ViewModelContext;
17:
18: public abstract class AbstractTestViewModelService2 implements ITestViewModelService2 {
19:
20:         @Override
21:         public void instantiate(ViewModelContext context) {
22:                 // used for verification
23:                 context.putContextValue(getClass().getSimpleName(), getClass());
24:         }
25:
26:         @Override
27:         public void dispose() {
28:                 // no op
29:         }
30: }