org.eclipse.emf.ecp.view.table.internal.validation
Class TableValidationInitiator

java.lang.Object
  extended by org.eclipse.emf.ecp.view.table.internal.validation.TableValidationInitiator
All Implemented Interfaces:
GlobalViewModelService, ViewModelService

public class TableValidationInitiator
extends Object
implements GlobalViewModelService

The TableValidationInitiator searches for Tables with an Editing Panel, and creates the necessary ViewModelContexts.

Author:
Eugen Neufeld

Constructor Summary
TableValidationInitiator()
           
 
Method Summary
 void childViewModelContextAdded(ViewModelContext childContext)
          This method is called whenever a new ViewModelContext is added as a child context to the root ViewModelContext this GlobalViewModelService belongs to.
 void dispose()
          Dispose.
 int getPriority()
          Returns the priority for this view service.
 void instantiate(ViewModelContext context)
          Instantiate the view service.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableValidationInitiator

public TableValidationInitiator()
Method Detail

instantiate

public void instantiate(ViewModelContext context)
Description copied from interface: ViewModelService
Instantiate the view service.

Specified by:
instantiate in interface ViewModelService
Parameters:
context - the ViewModelContext

dispose

public void dispose()
Description copied from interface: ViewModelService
Dispose.

Specified by:
dispose in interface ViewModelService

getPriority

public int getPriority()
Description copied from interface: ViewModelService
Returns the priority for this view service.

Specified by:
getPriority in interface ViewModelService
Returns:
the priority

childViewModelContextAdded

public void childViewModelContextAdded(ViewModelContext childContext)
This method is called whenever a new ViewModelContext is added as a child context to the root ViewModelContext this GlobalViewModelService belongs to.

Specified by:
childViewModelContextAdded in interface GlobalViewModelService
Parameters:
childContext - The ViewModelContext that was added.
See Also:
GlobalViewModelService.childViewModelContextAdded(org.eclipse.emf.ecp.view.spi.context.ViewModelContext)


Copyright © 2015. All Rights Reserved.