org.eclipse.emf.ecp.view.spi.swt
Class UnknownVElementSWTRenderer

java.lang.Object
  extended by org.eclipse.emf.ecp.view.model.common.AbstractRenderer<VELEMENT>
      extended by org.eclipse.emf.ecp.view.spi.swt.AbstractSWTRenderer<VElement>
          extended by org.eclipse.emf.ecp.view.spi.swt.UnknownVElementSWTRenderer

public final class UnknownVElementSWTRenderer
extends AbstractSWTRenderer<VElement>

This is a renderer, which is used to displays something usefull instead of an error if a VElement is missing.

Since:
1.3
Author:
Eugen Neufeld

Constructor Summary
UnknownVElementSWTRenderer()
          Default constructor.
 
Method Summary
 SWTGridDescription getGridDescription(SWTGridDescription gridDescription)
          Returns the GridDescription for this Renderer.
 
Methods inherited from class org.eclipse.emf.ecp.view.spi.swt.AbstractSWTRenderer
finalizeRendering, init, render
 
Methods inherited from class org.eclipse.emf.ecp.view.model.common.AbstractRenderer
getVElement, getViewModelContext
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnknownVElementSWTRenderer

public UnknownVElementSWTRenderer()
Default constructor.

Method Detail

getGridDescription

public SWTGridDescription getGridDescription(SWTGridDescription gridDescription)
Returns the GridDescription for this Renderer.

Specified by:
getGridDescription in class AbstractSWTRenderer<VElement>
Parameters:
gridDescription - the current GridDescription
Returns:
the number of controls per row
See Also:
AbstractSWTRenderer.getGridDescription(org.eclipse.emf.ecp.view.spi.swt.layout.SWTGridDescription)


Copyright © 2014. All Rights Reserved.