Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.emf.ecp.view.spi.model.util
Class ViewModelUtil

    java.lang.Object
      org.eclipse.emf.ecp.view.spi.model.util.ViewModelUtil

    public final class ViewModelUtil

extends Object

This Util class provides common methods used often when working with the view model.

Since:
  1.2
Author:
  Eugen Neufeld

Method Summary
`static boolean` | `isDebugMode()` Whether EMF Forms has been started with the debug flag `-debugEMFForms`.
`static void` | `resolveDomainReferences(org.eclipse.emf.ecore.EObject renderable, org.eclipse.emf.ecore.EObject domainModelRoot)` Resolves all `VDomainModelReferences` which are contained under the provided renderable using the provided domain model.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### resolveDomainReferences

    public static void resolveDomainReferences(org.eclipse.emf.ecore.EObject renderable,
                                               org.eclipse.emf.ecore.EObject domainModelRoot)

  Resolves all `VDomainModelReferences` which are contained under the provided renderable using the provided domain model.

  Parameters:
    `renderable` - the renderable to analyze for `VDomainModelReferences`
    `domainModelRoot` - the domain model to use for resolving
  Since:
    1.3

### isDebugMode

    public static boolean isDebugMode()

  Whether EMF Forms has been started with the debug flag `-debugEMFForms`.

  Returns:
    `true` if EMF Forms has been started with the debug flag, `false` otherwise
  Since:
    1.5

Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2015. All Rights Reserved.