org.eclipse.emf.ecp.view.test.common.swt
Class SWTViewTestHelper
java.lang.Object
org.eclipse.emf.ecp.view.test.common.swt.SWTViewTestHelper
public final class SWTViewTestHelper
- extends Object
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
- Throws:
NoRendererFoundException
NoPropertyDescriptorFoundExeption
render
public static org.eclipse.swt.widgets.Control render(VElement renderable,
org.eclipse.swt.widgets.Shell shell)
throws NoRendererFoundException,
NoPropertyDescriptorFoundExeption
- Throws:
NoRendererFoundException
NoPropertyDescriptorFoundExeption
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 © 2014. All Rights Reserved.