org.eclipse.emf.ecp.view.test.common.swt.spi
Class SWTViewTestHelper

java.lang.Object
  extended by org.eclipse.emf.ecp.view.test.common.swt.spi.SWTViewTestHelper

public final class SWTViewTestHelper
extends Object


Method Summary
static boolean checkIfThereIsATextControl(org.eclipse.swt.widgets.Control control)
           
static boolean checkIfThereIsATextControlWithLabel(org.eclipse.swt.widgets.Control control)
           
static org.eclipse.swt.widgets.Shell createShell()
           
static List<org.eclipse.swt.widgets.Text> getAllTextControls(org.eclipse.swt.widgets.Control control)
           
static int getHorizontalSpan(org.eclipse.swt.widgets.Composite composite)
           
static int getNumberofColumns(org.eclipse.swt.widgets.Composite composite)
           
static org.eclipse.swt.widgets.Control render(VElement renderable, org.eclipse.emf.ecore.EObject input, org.eclipse.swt.widgets.Shell shell)
           
static org.eclipse.swt.widgets.Control render(VElement renderable, org.eclipse.swt.widgets.Shell shell)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createShell

public static org.eclipse.swt.widgets.Shell createShell()

render

public static org.eclipse.swt.widgets.Control render(VElement renderable,
                                                     org.eclipse.emf.ecore.EObject input,
                                                     org.eclipse.swt.widgets.Shell shell)
                                              throws NoRendererFoundException,
                                                     NoPropertyDescriptorFoundExeption,
                                                     EMFFormsNoRendererException
Throws:
NoRendererFoundException
NoPropertyDescriptorFoundExeption
EMFFormsNoRendererException

render

public static org.eclipse.swt.widgets.Control render(VElement renderable,
                                                     org.eclipse.swt.widgets.Shell shell)
                                              throws NoRendererFoundException,
                                                     NoPropertyDescriptorFoundExeption,
                                                     EMFFormsNoRendererException
Throws:
NoRendererFoundException
NoPropertyDescriptorFoundExeption
EMFFormsNoRendererException

getNumberofColumns

public static int getNumberofColumns(org.eclipse.swt.widgets.Composite composite)

getHorizontalSpan

public static int getHorizontalSpan(org.eclipse.swt.widgets.Composite composite)

checkIfThereIsATextControlWithLabel

public static boolean checkIfThereIsATextControlWithLabel(org.eclipse.swt.widgets.Control control)

checkIfThereIsATextControl

public static boolean checkIfThereIsATextControl(org.eclipse.swt.widgets.Control control)

getAllTextControls

public static List<org.eclipse.swt.widgets.Text> getAllTextControls(org.eclipse.swt.widgets.Control control)


Copyright © 2015. All Rights Reserved.