You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2008/03/28 05:09:55 UTC
svn commit: r642085 -
/incubator/uima/uimaj/trunk/uimaj-ep-configurator/src/main/java/org/apache/uima/taeconfigurator/editors/ui/AbstractSection.java
Author: schor
Date: Thu Mar 27 21:09:55 2008
New Revision: 642085
URL: http://svn.apache.org/viewvc?rev=642085&view=rev
Log:
[UIMA-933] on some version on Linux (Redhat) - fix CDE to show proper borders, for tabletree and ccombo controls
Modified:
incubator/uima/uimaj/trunk/uimaj-ep-configurator/src/main/java/org/apache/uima/taeconfigurator/editors/ui/AbstractSection.java
Modified: incubator/uima/uimaj/trunk/uimaj-ep-configurator/src/main/java/org/apache/uima/taeconfigurator/editors/ui/AbstractSection.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-ep-configurator/src/main/java/org/apache/uima/taeconfigurator/editors/ui/AbstractSection.java?rev=642085&r1=642084&r2=642085&view=diff
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-ep-configurator/src/main/java/org/apache/uima/taeconfigurator/editors/ui/AbstractSection.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-ep-configurator/src/main/java/org/apache/uima/taeconfigurator/editors/ui/AbstractSection.java Thu Mar 27 21:09:55 2008
@@ -359,6 +359,10 @@
ccombo.setToolTipText(tip);
ccombo.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING));
ccombo.addListener(SWT.Selection, this);
+ // Make the CCombo's border visible since CCombo is NOT a widget supported
+ // by FormToolkit.
+ // needed apparently by RedHat Linux
+ ccombo.setData(FormToolkit.KEY_DRAW_BORDER, FormToolkit.TREE_BORDER);
return ccombo;
}
@@ -507,6 +511,10 @@
tt.getTable().addListener(SWT.MouseDoubleClick, this); // for edit
tt.addListener(SWT.Expand, this);
tt.addListener(SWT.Collapse, this);
+
+ // Make the TableTree's border visible since TableTree is NOT a widget supported
+ // by FormToolkit. Needed by RedHat Linux
+ tt.setData(FormToolkit.KEY_DRAW_BORDER, FormToolkit.TREE_BORDER);
return tt;
}