--- /home/cpdev/src/classpath/javax/swing/AbstractCellEditor.java	2005-07-02 21:03:59.000000000 +0000
+++ javax/swing/AbstractCellEditor.java	2005-06-30 05:35:07.000000000 +0000
@@ -1,5 +1,5 @@
 /* AbstractCellEditor.java --
-   Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2004 Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -46,9 +46,7 @@
 import javax.swing.event.EventListenerList;
 
 /**
- * The abstract superclass for table and tree cells. This provides some
- * common shared functionality.
- *
+ * AbstractCellEditor
  * @author	Andrew Selkirk
  * @version	1.0
  */
@@ -58,77 +56,59 @@
   private static final long serialVersionUID = -1048006551406220959L;
 
   /**
-   * Our Swing event listeners.
+   * listenerList
    */
   protected EventListenerList listenerList;
 
   /**
-   * The cached ChangeEvent.
+   * changeEvent
    */
   protected transient ChangeEvent changeEvent;
 
-  /**
-   * Creates a new instance of AbstractCellEditor.
-   */
-  public AbstractCellEditor() {
-    listenerList = new EventListenerList();
-    changeEvent = new ChangeEvent(this);
-  } // AbstractCellEditor()
-
-  /**
-   * Returns <code>true</code> if the cell is editable using
-   * <code>event</code>, <code>false</code>
-   * if it's not. The default behaviour is to return <code>true</code>.
-   *
-   * @param event an event
-   *
-   * @return <code>true</code> if the cell is editable using
-   *     <code>event</code>, <code>false</code> if it's not
-   */
-  public boolean isCellEditable(EventObject event) {
-    return true;
-  } // isCellEditable()
-
-  /**
-   * Returns <code>true</code> if the editing cell should be selected,
-   * <code>false</code> otherwise. This is usually returning <code>true</code>,
-   * but in some special cases it might be useful not to switch cell selection
-   * when editing one cell.
-   *
-   * @param event an event
-   *
-   * @return <code>true</code> if the editing cell should be selected,
-   *     <code>false</code> otherwise
-   */
-  public boolean shouldSelectCell(EventObject event) {
-    return true;
-  } // shouldSelectCell()
-
-  /**
-   * Stop editing the cell and accept any partial value that has been entered
-   * into the cell.
-   *
-   * @returns <code>true</code> if editing has been stopped successfully,
-   *     <code>false</code>otherwise
-   */
-  public boolean stopCellEditing() {
-    fireEditingStopped();
-    return true;
-  } // stopCellEditing()
+	/**
+	 * Constructor AbstractCellEditor
+	 */
+	public AbstractCellEditor() {
+		// TODO
+	} // AbstractCellEditor()
+
+	/**
+	 * isCellEditable
+	 * @param event TODO
+	 * @returns boolean
+	 */
+	public boolean isCellEditable(EventObject event) {
+		return false; // TODO
+	} // isCellEditable()
+
+	/**
+	 * shouldSelectCell
+	 * @param event TODO
+	 * @returns boolean
+	 */
+	public boolean shouldSelectCell(EventObject event) {
+		return false; // TODO
+	} // shouldSelectCell()
+
+	/**
+	 * stopCellEditing
+	 * @returns boolean
+	 */
+	public boolean stopCellEditing() {
+		return false; // TODO
+	} // stopCellEditing()
+
+	/**
+	 * cancelCellEditing
+	 */
+	public void cancelCellEditing() {
+		// TODO
+	} // cancelCellEditing()
 
   /**
-   * Stop editing the cell and do not accept any partial value that has
-   * been entered into the cell.
-   */
-  public void cancelCellEditing() {
-    fireEditingCanceled();
-  } // cancelCellEditing()
-
-  /**
-   * Adds a CellEditorListener to the list of CellEditorListeners of this
-   * CellEditor.
+   * addCellEditorListener
    *
-   * @param listener the CellEditorListener to add
+   * @param listener The listener to add
    */
   public void addCellEditorListener (CellEditorListener listener)
   {
@@ -136,10 +116,9 @@
   }
 
   /**
-   * Removes the specified CellEditorListener from the list of the
-   * CellEditorListeners of this CellEditor.
+   * removeCellEditorListener
    *
-   * @param listener the CellEditorListener to remove
+   * @param listener The listener to remove
    */
   public void removeCellEditorListener (CellEditorListener listener)
   {
@@ -147,23 +126,17 @@
   }
 	
   /**
-   * Returns the list of CellEditorListeners that have been registered
-   * in this CellEditor.
-   *
-   * @return the list of CellEditorListeners that have been registered
-   *     in this CellEditor
+   * getCellEditorListeners
    *
    * @since 1.4
    */
   public CellEditorListener[] getCellEditorListeners()
   {
-    return (CellEditorListener[]) listenerList.getListeners
-      (CellEditorListener.class);
+    return (CellEditorListener[]) listenerList.getListeners (CellEditorListener.class);
   }
 
   /**
-   * Notifies all registered listeners that the editing of the cell has has been
-   * stopped.
+   * fireEditingStopped
    */
   protected void fireEditingStopped()
   {
@@ -171,13 +144,12 @@
 
     for (int index = 0; index < listeners.length; index++)
       {
-        listeners[index].editingStopped(changeEvent);
+	listeners [index].editingStopped (changeEvent);
       }
   }
 
   /**
-   * Notifies all registered listeners that the editing of the cell has
-   * has been canceled.
+   * fireEditingCanceled
    */
   protected void fireEditingCanceled()
   {
@@ -185,7 +157,7 @@
 
     for (int index = 0; index < listeners.length; index++)
       {
-        listeners[index].editingCanceled(changeEvent);
+	listeners [index].editingCanceled (changeEvent);
       }
   }
 }
