pl.edu.agh.cast.ui.util
Class SWTHelper

java.lang.Object
  extended by pl.edu.agh.cast.ui.util.SWTHelper

public class SWTHelper
extends Object

SWT helper functions.

Author:
AGH CAST Team

Constructor Summary
SWTHelper()
           
 
Method Summary
static void placeDialogInCenter(org.eclipse.swt.widgets.Shell shell, org.eclipse.swt.widgets.Shell parent)
          Places dialog in the center of its parent.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWTHelper

public SWTHelper()
Method Detail

placeDialogInCenter

public static void placeDialogInCenter(org.eclipse.swt.widgets.Shell shell,
                                       org.eclipse.swt.widgets.Shell parent)
Places dialog in the center of its parent.

Parameters:
shell - the Shell
parent - parent control


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.