2 * Created on Sep 11, 2004
4 * To change the template for this generated file go to
5 * Window>Preferences>Java>Code Generation>Code and Comments
7 package net.sourceforge.phpeclipse.phpunit;
9 import org.eclipse.swt.SWT;
10 import org.eclipse.swt.events.MouseEvent;
11 import org.eclipse.swt.events.MouseListener;
12 import org.eclipse.swt.widgets.Button;
13 import org.eclipse.swt.widgets.Composite;
14 import org.eclipse.swt.widgets.FileDialog;
17 * @author Ali Echihabi
19 * To change the template for this generated type comment go to
20 * Window>Preferences>Java>Code Generation>Code and Comments
22 public class SettingsInfoComposite extends Composite {
33 public SettingsInfoComposite(Composite parent, int style) {
37 dialog = new FileDialog(parent.getShell());
39 button = new Button(parent, SWT.NONE);
40 button.setText("Browser for test...");
42 button.addMouseListener(new MouseListener() {
43 public void mouseDoubleClick(MouseEvent arg0) {
44 // TODO Auto-generated method stub
48 public void mouseDown(MouseEvent arg0) {
50 testSuitePath = dialog.open();
51 System.out.println("file: " + testSuitePath);
55 public void mouseUp(MouseEvent arg0) {
56 // TODO Auto-generated method stub
68 public String getTestSuite() {