Hello!

To see the file structure, click on "tree".

Note that updates take place every 10 minutes, commits may not be seen immediately.
Layout changes. Done by Nikhil.
authorlingutln <lingutln@localhost>
Mon, 30 Jan 2012 21:23:23 +0000 (21:23 +0000)
committerlingutln <lingutln@localhost>
Mon, 30 Jan 2012 21:23:23 +0000 (21:23 +0000)
svn path=/; revision=284

Annotation/src/ie/dcu/apps/ist/AppWindow.java
Annotation/src/ie/dcu/apps/ist/views/SegmentationView.java

index d15733622c6818eedaf527cb2197be01e91c851b..48a77cfeb94d8dd2a805a50926344b33e885298d 100644 (file)
@@ -253,7 +253,7 @@ public class AppWindow extends ApplicationWindow implements FileDropListener {
        protected Control createContents(Composite parent) {
                content = new Composite(parent, SWT.NONE);
 
-               content.setLayout(LayoutFactory.createGridLayout(0, 0, 3, false));
+               content.setLayout(LayoutFactory.createGridLayout(0, 0, 1, false));
 
                view = createView(content);
                view.setLayoutData(LayoutFactory.createGridData());
index bb017380cfe649bb4f2fa7cf195834117441b95f..6db97632573f72a551704fffacfb8d18d42460be 100644 (file)
@@ -11,6 +11,7 @@ import ie.dcu.segment.options.SegmenterOptionDialog;
 import ie.dcu.segment.painters.SegmentationPainter;
 import ie.dcu.swt.*;
 import ie.dcu.swt.event.*;
+import ie.dcu.swt.layout.LayoutFactory;
 
 import java.lang.reflect.InvocationTargetException;
 import java.net.*;
@@ -47,6 +48,9 @@ public class SegmentationView extends Composite {
        // tool bars
        private final ToolBar mainToolbar, viewSelectionToolbar, termLookupBar;
        
+       // Composite for Term details
+       private Composite termDetailComposite;
+       
        // term detail table
        private final Table termDetailTable;
        
@@ -334,6 +338,7 @@ public class SegmentationView extends Composite {
                gd.verticalAlignment = SWT.FILL;
                view.setLayoutData(gd);
                
+               
                // Layout term lookup toolbar
                gd = new GridData();
                gd.horizontalAlignment = SWT.FILL;
@@ -349,6 +354,7 @@ public class SegmentationView extends Composite {
                gd.verticalIndent = 1;
                gd.verticalSpan = 1;
                termDetailTable.setLayoutData(gd);
+       
        }