[MOBY-guts] biomoby commit
Martin Senger
senger at pub.open-bio.org
Thu Oct 27 04:15:23 UTC 2005
senger
Thu Oct 27 00:15:23 EDT 2005
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard
In directory pub.open-bio.org:/tmp/cvs-serv2749/src/main/org/biomoby/service/dashboard
Modified Files:
PropertyChannel.java RegistryPanel.java
Log Message:
moby-live/Java/src/main/org/biomoby/service/dashboard PropertyChannel.java,1.3,1.4 RegistryPanel.java,1.11,1.12
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/PropertyChannel.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/PropertyChannel.java 2005/10/22 01:38:04 1.3
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/PropertyChannel.java 2005/10/27 04:15:23 1.4
@@ -41,8 +41,8 @@
* listener) we may re-consider this desision. At the moment, I do not
* see any advantage of it. <p>
*
- * Property names are of no interest for this class, but it is good to
- * remind that they should be defined in the class {@link
+ * Concrete property names are of no interest for this class, but it
+ * is good to remind that they should be collected in the class {@link
* DashboardProperties}. <p>
* @author <A HREF="mailto:martin.senger at gmail.com">Martin Senger</A>
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/RegistryPanel.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/RegistryPanel.java 2005/10/22 14:35:46 1.11
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/dashboard/RegistryPanel.java 2005/10/27 04:15:23 1.12
@@ -130,38 +130,45 @@
// ontology trees
ServicesTree servicesTree = new ServicesTree();
-
+ ServiceTypesTree serviceTypesTree = new ServiceTypesTree();
+ NamespacesTree namespacesTree = new NamespacesTree();
DataTypesBoard dataTypesBoard = new DataTypesBoard (registryModel,
console,
support);
dataTypesBoard.updateTree (CommonTree.SORTED_BY_NAME);
- NamespacesTree namespacesTree = new NamespacesTree();
-
JSplitPane split1 = new JSplitPane (JSplitPane.HORIZONTAL_SPLIT,
servicesTree.scrollable(),
dataTypesBoard);
split1.setResizeWeight (0.5);
split1.setContinuousLayout (true);
split1.setOneTouchExpandable (true);
+
JSplitPane split2 = new JSplitPane (JSplitPane.HORIZONTAL_SPLIT,
- split1,
+ serviceTypesTree.scrollable(),
namespacesTree.scrollable());
- split2.setResizeWeight (0.7);
+ split2.setResizeWeight (0.5);
split2.setContinuousLayout (true);
split2.setOneTouchExpandable (true);
- JSplitPane split3 = new JSplitPane (JSplitPane.VERTICAL_SPLIT,
- split2,
- console);
- split3.setResizeWeight (0.75);
+ JSplitPane split3 = new JSplitPane (JSplitPane.HORIZONTAL_SPLIT,
+ split1,
+ split2);
+ split3.setResizeWeight (0.5);
split3.setContinuousLayout (true);
split3.setOneTouchExpandable (true);
+ JSplitPane split4 = new JSplitPane (JSplitPane.VERTICAL_SPLIT,
+ split3,
+ console);
+ split4.setResizeWeight (0.75);
+ split4.setContinuousLayout (true);
+ split4.setOneTouchExpandable (true);
+
// put all together
- SwingUtils.addComponent (pComponent, split3, 0, 0, 1, 2, BOTH, NWEST, 1.0, 1.0);
- SwingUtils.addComponent (pComponent, regLocation, 1, 0, 1, 1, HORI, NWEST, 0.0, 0.0);
- SwingUtils.addComponent (pComponent, cacheLocation, 1, 1, 1, 1, HORI, NWEST, 0.0, 0.0);
+ SwingUtils.addComponent (pComponent, split4, 0, 0, 1, 2, BOTH, NWEST, 1.0, 1.0);
+ SwingUtils.addComponent (pComponent, regLocation, 1, 0, 1, 1, HORI, NWEST, 0.0, 0.0);
+ SwingUtils.addComponent (pComponent, cacheLocation, 1, 1, 1, 1, HORI, NWEST, 0.0, 0.0);
return pComponent;
}
@@ -322,6 +329,16 @@
/**************************************************************************
*
**************************************************************************/
+ class ServiceTypesTree extends CommonTree {
+ public ServiceTypesTree() {
+ super ("Service Types");
+ }
+ }
+
+
+ /**************************************************************************
+ *
+ **************************************************************************/
class NamespacesTree extends CommonTree {
public NamespacesTree() {
super ("Namespaces");
More information about the MOBY-guts
mailing list