Reviewers: kathrin,

Description:
Description:
===========
While enhancing the RichTextArea, I added three methods to the public
ExtendedFormatter interface in RichTextArea without thinking that users
may implement the interface.


Fix:
===
This patch removes the API additions.  I already created a Formatter
interface to replace the now deprecated Basic and Extended interfaces.
The Formatter interface already contains these methods to avoid
deprecation warnings that users would otherwise see.


Please review this at http://gwt-code-reviews.appspot.com/47814

Affected files:
   user/src/com/google/gwt/user/client/ui/RichTextArea.java


Index: user/src/com/google/gwt/user/client/ui/RichTextArea.java
===================================================================
--- user/src/com/google/gwt/user/client/ui/RichTextArea.java    (revision 5721)
+++ user/src/com/google/gwt/user/client/ui/RichTextArea.java    (working copy)
@@ -210,13 +210,6 @@
      void insertHorizontalRule();

      /**
-     * Inserts generic html.
-     *
-     * @param html the HTML to insert
-     */
-    void insertHTML(String html);
-
-    /**
       * Inserts an image element.
       *
       * @param url the url of the image to be inserted
@@ -246,11 +239,6 @@
      void leftIndent();

      /**
-     * Redo an action that was just undone.
-     */
-    void redo();
-
-    /**
       * Removes all formatting on the selected text.
       */
      void removeFormat();
@@ -269,11 +257,6 @@
       * Toggles strikethrough.
       */
      void toggleStrikethrough();
-
-    /**
-     * Undo the last action.
-     */
-    void undo();
    }

    /**



--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to