Revision 790

tmp/org.txm.lexicaltable.rcp/src/org/txm/lexicaltable/rcp/editors/LexicalTableEditor.java (revision 790)
43 43
import org.eclipse.swt.SWT;
44 44
import org.eclipse.swt.events.SelectionEvent;
45 45
import org.eclipse.swt.events.SelectionListener;
46
import org.eclipse.swt.layout.FormAttachment;
47
import org.eclipse.swt.layout.FormData;
48
import org.eclipse.swt.layout.FormLayout;
49 46
import org.eclipse.swt.layout.GridData;
50 47
import org.eclipse.swt.widgets.Button;
51 48
import org.eclipse.swt.widgets.Composite;
......
341 338

  
342 339
			Composite resultArea = this.getResultArea();
343 340
			
344
			
345 341
			GridData gd = new GridData(GridData.FILL_BOTH);
346 342
			gd.grabExcessVerticalSpace = true;
347 343
			gd.grabExcessHorizontalSpace = true;
......
353 349
			viewer.getTable().setLinesVisible(true);
354 350
			viewer.getTable().setHeaderVisible(true);
355 351

  
356
			FormData tableLayoutData = new FormData();
357
			tableLayoutData.top = new FormAttachment(0);
358
			tableLayoutData.bottom = new FormAttachment(100);
359
			tableLayoutData.left = new FormAttachment(0);
360
			tableLayoutData.right = new FormAttachment(100);
361
			viewer.getTable().setLayoutData(tableLayoutData);
352
			viewer.getTable().setLayoutData(new GridData(GridData.FILL_BOTH));
362 353
			CellLabelProvider clp = new CellLabelProvider() {
363 354
				@Override
364 355
				public void update(ViewerCell cell) { }
tmp/org.txm.annotation.rcp/src/org/txm/annotation/rcp/commands/krview/OpenKRView.java (revision 790)
17 17
	@Override
18 18
	public final Object execute(final ExecutionEvent event)
19 19
			throws ExecutionException {
20
		System.out.println("hello");
21 20
		IWorkbenchWindow window = HandlerUtil
22 21
				.getActiveWorkbenchWindowChecked(event);
23 22

  

Also available in: Unified diff