org.eclipse.emf.ecp.view.internal.stack.ui.swt
Class StackItemViewService

java.lang.Object
  extended by org.eclipse.emf.ecp.view.internal.stack.ui.swt.StackItemViewService
All Implemented Interfaces:
ViewModelService

public class StackItemViewService
extends Object
implements ViewModelService

ViewModelService evaluating changes on the VDomainModelReference of the VStackLayout based on the given value in the available VStackItems. Sets the top element of the VStackLayout accordingly.

Author:
jfaltermeier

Constructor Summary
StackItemViewService()
           
 
Method Summary
 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

StackItemViewService

public StackItemViewService()
Method Detail

instantiate

public void instantiate(ViewModelContext context)
Instantiate the view service.

Specified by:
instantiate in interface ViewModelService
Parameters:
context - the ViewModelContext
See Also:
ViewModelService.instantiate(org.eclipse.emf.ecp.view.spi.context.ViewModelContext)

dispose

public void dispose()
Dispose.

Specified by:
dispose in interface ViewModelService
See Also:
ViewModelService.dispose()

getPriority

public int getPriority()
Returns the priority for this view service.

Specified by:
getPriority in interface ViewModelService
Returns:
the priority
See Also:
ViewModelService.getPriority()


Copyright © 2015. All Rights Reserved.