You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by to...@apache.org on 2010/08/07 17:21:29 UTC

svn commit: r983244 - /uima/uima-as/trunk/uimaj-ep-deployeditor/src/main/java/org/apache/uima/dde/internal/page/OverviewPage.java

Author: tongfin
Date: Sat Aug  7 15:21:24 2010
New Revision: 983244

URL: http://svn.apache.org/viewvc?rev=983244&view=rev
Log:
UIMA-1734
UIMA-AS Deployment Descriptor doesn't work with Eclipse 3.4.2 

Tested and verified by Eddie.

Remove the dependency on the images from Eclipse's plugin by commenting out the following lines in OverviewPage.java:
//    ScrolledForm form = managedForm.getForm();
//    FormColors colors = toolkit.getColors();
//    colors.initializeSectionToolBarColors();
//    Color gbg = colors.getColor(FormColors.TB_GBG);
//    Color bg = colors.getBackground();
//    form.getForm().setTextBackground(new Color[] { bg, gbg }, new int[] { 100 }, true);

Modified:
    uima/uima-as/trunk/uimaj-ep-deployeditor/src/main/java/org/apache/uima/dde/internal/page/OverviewPage.java

Modified: uima/uima-as/trunk/uimaj-ep-deployeditor/src/main/java/org/apache/uima/dde/internal/page/OverviewPage.java
URL: http://svn.apache.org/viewvc/uima/uima-as/trunk/uimaj-ep-deployeditor/src/main/java/org/apache/uima/dde/internal/page/OverviewPage.java?rev=983244&r1=983243&r2=983244&view=diff
==============================================================================
--- uima/uima-as/trunk/uimaj-ep-deployeditor/src/main/java/org/apache/uima/dde/internal/page/OverviewPage.java (original)
+++ uima/uima-as/trunk/uimaj-ep-deployeditor/src/main/java/org/apache/uima/dde/internal/page/OverviewPage.java Sat Aug  7 15:21:24 2010
@@ -367,12 +367,12 @@ public class OverviewPage extends Abstra
     FormToolkit toolkit = managedForm.getToolkit();
     form.setText(Messages.DDE_OverviewPage_Title);
 
-    ScrolledForm form = managedForm.getForm();
-    FormColors colors = toolkit.getColors();
-    colors.initializeSectionToolBarColors();
-    Color gbg = colors.getColor(FormColors.TB_GBG);
-    Color bg = colors.getBackground();
-    form.getForm().setTextBackground(new Color[] { bg, gbg }, new int[] { 100 }, true);
+//    ScrolledForm form = managedForm.getForm();
+//    FormColors colors = toolkit.getColors();
+//    colors.initializeSectionToolBarColors();
+//    Color gbg = colors.getColor(FormColors.TB_GBG);
+//    Color bg = colors.getBackground();
+//    form.getForm().setTextBackground(new Color[] { bg, gbg }, new int[] { 100 }, true);
 
     fillBody(managedForm, toolkit);
   }