[225383] Schema index view's minimum height should be configurable
diff --git a/bundles/org.eclipse.wst.xsd.ui/src-adt-xsd/org/eclipse/wst/xsd/ui/internal/design/editparts/CategoryEditPart.java b/bundles/org.eclipse.wst.xsd.ui/src-adt-xsd/org/eclipse/wst/xsd/ui/internal/design/editparts/CategoryEditPart.java
index da71c83..88f312c 100644
--- a/bundles/org.eclipse.wst.xsd.ui/src-adt-xsd/org/eclipse/wst/xsd/ui/internal/design/editparts/CategoryEditPart.java
+++ b/bundles/org.eclipse.wst.xsd.ui/src-adt-xsd/org/eclipse/wst/xsd/ui/internal/design/editparts/CategoryEditPart.java
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2001, 2007 IBM Corporation and others.
+ * Copyright (c) 2001, 2008 IBM Corporation and others.
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
  * which accompanies this distribution, and is available at
@@ -44,6 +44,7 @@
   Figure outerPane;
   HeadingFigure headingFigure;
   protected ScrollPane scrollpane;
+  protected int minimumHeight = 400;
 
   public int getType()
   {
@@ -129,7 +130,7 @@
         else
         {
           double factor = getZoomManager().getZoom();
-          int scaledHeight = (int)Math.round((getViewer().getControl().getBounds().height - 400) / factor); // adjust for other categories and spaces
+          int scaledHeight = (int)Math.round((getViewer().getControl().getBounds().height - minimumHeight) / factor); // adjust for other categories and spaces
           d.height = Math.max(250, scaledHeight);
         }
         d.width = Math.min(d.width, 300);
@@ -228,4 +229,9 @@
     int location = topLevelBounds.y + scrollValue - categoryBounds.y;
     scrollpane.scrollVerticalTo(location - categoryBounds.height / 2);
   }
+  
+  public void setMinimumHeight(int minimumHeight)
+  {
+    this.minimumHeight = minimumHeight;
+  }
 }