Fixed minor UI bug in MacOS in the "Import Paths" preference page.
diff --git a/com.google.eclipse.protobuf.ui/src/com/google/eclipse/protobuf/ui/preferences/pages/paths/DirectoryPathsEditor.java b/com.google.eclipse.protobuf.ui/src/com/google/eclipse/protobuf/ui/preferences/pages/paths/DirectoryPathsEditor.java
index 9240bb2..e829c89 100644
--- a/com.google.eclipse.protobuf.ui/src/com/google/eclipse/protobuf/ui/preferences/pages/paths/DirectoryPathsEditor.java
+++ b/com.google.eclipse.protobuf.ui/src/com/google/eclipse/protobuf/ui/preferences/pages/paths/DirectoryPathsEditor.java
@@ -60,6 +60,16 @@
tblDirectoryPaths = tblVwrDirectoryPaths.getTable();
tblDirectoryPaths.setLinesVisible(true);
tblDirectoryPaths.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1));
+
+ TableViewerColumn tblclmnVwrPath = new TableViewerColumn(tblVwrDirectoryPaths, SWT.NONE);
+ TableColumn tblclmnPath = tblclmnVwrPath.getColumn();
+ tblclmnPath.setWidth(200);
+ tblclmnPath.setResizable(true);
+ tblclmnVwrPath.setLabelProvider(new ColumnLabelProvider() {
+ @Override public String getText(Object element) {
+ return ((DirectoryPath) element).toString();
+ }
+ });
Composite composite = new Composite(this, SWT.NONE);
composite.setLayoutData(new GridData(SWT.LEFT, SWT.TOP, false, false, 1, 1));