|
Lines 22-27
Link Here
|
| 22 |
import org.eclipse.hyades.test.core.testgen.ITestgenListener; |
22 |
import org.eclipse.hyades.test.core.testgen.ITestgenListener; |
| 23 |
import org.eclipse.hyades.test.ui.UiPlugin; |
23 |
import org.eclipse.hyades.test.ui.UiPlugin; |
| 24 |
import org.eclipse.hyades.test.ui.internal.resources.UiPluginResourceBundle; |
24 |
import org.eclipse.hyades.test.ui.internal.resources.UiPluginResourceBundle; |
|
|
25 |
import org.eclipse.hyades.test.ui.internal.util.ContextIds; |
| 25 |
import org.eclipse.jface.action.GroupMarker; |
26 |
import org.eclipse.jface.action.GroupMarker; |
| 26 |
import org.eclipse.jface.action.ToolBarManager; |
27 |
import org.eclipse.jface.action.ToolBarManager; |
| 27 |
import org.eclipse.jface.dialogs.ErrorDialog; |
28 |
import org.eclipse.jface.dialogs.ErrorDialog; |
|
Lines 58-64
Link Here
|
| 58 |
* @author Ernest Jessee |
59 |
* @author Ernest Jessee |
| 59 |
* @author Paul E. Slauenwhite |
60 |
* @author Paul E. Slauenwhite |
| 60 |
* @author Paul Klicnik |
61 |
* @author Paul Klicnik |
| 61 |
* @version January 19, 2009 |
62 |
* @version February 20, 2009 |
| 62 |
* @since February 1, 2005 |
63 |
* @since February 1, 2005 |
| 63 |
*/ |
64 |
*/ |
| 64 |
public class RecorderControlView extends ViewPart implements ITestgenListener, IRecorderListenerFullFeedback |
65 |
public class RecorderControlView extends ViewPart implements ITestgenListener, IRecorderListenerFullFeedback |
|
Lines 111-117
Link Here
|
| 111 |
int heightHint = fm.getHeight() + fm.getAscent() + fm.getDescent(); |
112 |
int heightHint = fm.getHeight() + fm.getAscent() + fm.getDescent(); |
| 112 |
int widthHint = fm.getAverageCharWidth() * 50; |
113 |
int widthHint = fm.getAverageCharWidth() * 50; |
| 113 |
Composite parent = new Composite(grandParent,SWT.NULL); |
114 |
Composite parent = new Composite(grandParent,SWT.NULL); |
| 114 |
PlatformUI.getWorkbench().getHelpSystem().setHelp(parent,"org.eclipse.hyades.execution.recorder.RecorderControlView"); //$NON-NLS-1$ |
115 |
|
|
|
116 |
//Set the context sensitive help: |
| 117 |
PlatformUI.getWorkbench().getHelpSystem().setHelp(parent, UiPlugin.getID() + ContextIds.REC_WIZ); |
| 115 |
|
118 |
|
| 116 |
RecorderUIUtility.assignGridLayout(parent,1, false); |
119 |
RecorderUIUtility.assignGridLayout(parent,1, false); |
| 117 |
Canvas bytesReceivedCanvas = new Canvas(parent,SWT.NULL); |
120 |
Canvas bytesReceivedCanvas = new Canvas(parent,SWT.NULL); |