[MOBY-guts] biomoby commit
Eddie Kawas
kawas at pub.open-bio.org
Thu Jun 2 15:48:54 UTC 2005
kawas
Thu Jun 2 11:48:54 EDT 2005
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/shared
In directory pub.open-bio.org:/tmp/cvs-serv15668/org/biomoby/client/ui/graphical/applets/shared
Modified Files:
Household.java MobyTree.java
Log Message:
Fixed the javadoc comments in order to get rid of warnings.
moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/shared Household.java,1.1,1.2 MobyTree.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/shared/Household.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/shared/Household.java 2005/04/07 16:42:27 1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/shared/Household.java 2005/06/02 15:48:54 1.2
@@ -9,7 +9,7 @@
* @author Eddie Kawas
* <p>For questions, comments, or bugs
* <p>email me at edward.kawas at gmail.com
- * @Jun 4, 2004
+ * Jun 4, 2004
*
*/
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/shared/MobyTree.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/shared/MobyTree.java 2005/04/07 16:42:27 1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/applets/shared/MobyTree.java 2005/06/02 15:48:54 1.2
@@ -23,11 +23,11 @@
/**
* This class encapsulates everything that is needed to create the tree<p>
* representation of all the objects contained in the BioMoby Object Ontology.
- * @see http://biomoby.org
+ * @link http://biomoby.org
* @author Eddie Kawas
* <p>For questions, comments, or bugs
* <p>email me at edward.kawas at gmail.com
- * @May 31, 2004
+ * May 31, 2004
*
*/
public class MobyTree extends JPanel {
@@ -47,11 +47,12 @@
String name = "";
private static final boolean DEBUG = false;
/**
- * PRE: None<p>
- * POST: A moby tree is constructed with the root node labeled as 'Object'<p>
- * and the material for the tree taken from the RDF located at
- * @link http://biomoby.org/RESOURCES/MOBY-S/Objects
- * @param canEdit, if true, then the nodes are editable, else they are not.
+ * A moby tree is constructed with the root node labeled as 'name'<p>
+ * and the material for the tree taken from the RDF located at
+ * the url rdf.
+ * @param canEdit - if true then nodes in tree can be edited, otherwise they cannot.
+ * @param rdf - the url of the RDF describing Moby Objects, Services, Service Types, and Namespaces
+ * @param name - the name of the root node in the tree.
*/
public MobyTree(boolean canEdit, String rdf, String name) {
@@ -94,7 +95,6 @@
/**
* PRE: None.<p>
* POST: The MobyTree object contains an empty tree with a single node labeled 'Object'
- * @return - none.
*
*/
public void clear() {
@@ -105,7 +105,6 @@
/**
* PRE: A node other then the root node is selected.<p>
* POST: if a node has been selected, then it is removed, otherwise nothing happens.
- * @return - none.
*/
public void removeCurrentNode() {
TreePath currentSelection = tree.getSelectionPath();
@@ -126,7 +125,7 @@
* PRE: None.<p>
* POST: Child will be added to the tree at the root node or if a node is selected,<p>
* then the node will be added as a child of the selected node.
- * @param child, the object to insert into the tree.
+ * @param child - the object to insert into the tree.
* @return returns the newly inserted node.
*/
public DefaultMutableTreeNode addObject(Object child) {
@@ -218,7 +217,6 @@
* PRE: None.<p>
* POST: The tree will be refreshed to show all changes and user renamed.
* @param name the name for the root node in the tree.
- * @return - none.
*/
public void refreshTree(String name) {
if (!name.equals(""))
@@ -270,8 +268,7 @@
*
* PRE: None.<p>
* POST: The tree representation of the RDF taken from MobyCentral is created.
- * @param none.
- * @return nothing.
+ * @param name - name of the object to create tree for.
*
*/
public void makeObjectTree(String name) {
More information about the MOBY-guts
mailing list