]> source.dussan.org Git - vaadin-framework.git/commitdiff
"removed" (finalized + deprecated) getTag from AbstractComponent
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 6 Oct 2009 08:44:49 +0000 (08:44 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 6 Oct 2009 08:44:49 +0000 (08:44 +0000)
svn changeset:9095/svn branch:2009-09-widget-packaging_3332

43 files changed:
src/com/vaadin/demo/colorpicker/ColorPicker.java
src/com/vaadin/demo/coverflow/Coverflow.java
src/com/vaadin/demo/reservation/CalendarField.java
src/com/vaadin/demo/reservation/GoogleMap.java
src/com/vaadin/demo/sampler/ActiveLink.java
src/com/vaadin/demo/sampler/CodeLabel.java
src/com/vaadin/demo/sampler/GoogleAnalytics.java
src/com/vaadin/tests/book/BookTestApplication.java
src/com/vaadin/ui/AbsoluteLayout.java
src/com/vaadin/ui/AbstractComponent.java
src/com/vaadin/ui/AbstractLayout.java
src/com/vaadin/ui/AbstractOrderedLayout.java
src/com/vaadin/ui/AbstractSelect.java
src/com/vaadin/ui/Accordion.java
src/com/vaadin/ui/Button.java
src/com/vaadin/ui/ClientWidget.java
src/com/vaadin/ui/CssLayout.java
src/com/vaadin/ui/CustomComponent.java
src/com/vaadin/ui/CustomLayout.java
src/com/vaadin/ui/DateField.java
src/com/vaadin/ui/Embedded.java
src/com/vaadin/ui/Form.java
src/com/vaadin/ui/FormLayout.java
src/com/vaadin/ui/GridLayout.java
src/com/vaadin/ui/HorizontalLayout.java
src/com/vaadin/ui/Label.java
src/com/vaadin/ui/Link.java
src/com/vaadin/ui/MenuBar.java
src/com/vaadin/ui/NativeButton.java
src/com/vaadin/ui/Panel.java
src/com/vaadin/ui/PopupView.java
src/com/vaadin/ui/ProgressIndicator.java
src/com/vaadin/ui/Select.java
src/com/vaadin/ui/Slider.java
src/com/vaadin/ui/SplitPanel.java
src/com/vaadin/ui/TabSheet.java
src/com/vaadin/ui/Table.java
src/com/vaadin/ui/TextField.java
src/com/vaadin/ui/Tree.java
src/com/vaadin/ui/Upload.java
src/com/vaadin/ui/UriFragmentUtility.java
src/com/vaadin/ui/VerticalLayout.java
src/com/vaadin/ui/Window.java

index 55de19b73cd75ab375dabb51189639f6f801e9e5..f42381506039a5b5996a76205f233158a9476698 100644 (file)
@@ -27,12 +27,6 @@ public class ColorPicker extends AbstractField {
         return String.class;
     }
 
-    /** Tag is the UIDL element name for client-server communications. */
-    @Override
-    public String getTag() {
-        return "colorpicker";
-    }
-
     /** Set the currently selected color. */
     public void setColor(String newcolor) {
         // Sets the color name as the property of the component.
index bd56261a3822754d515bc1ea756a72222c328d7a..6d274ca054cbb88df702f2c82887e7db4e78a0f2 100644 (file)
@@ -18,11 +18,6 @@ public class Coverflow extends AbstractSelect {
     private String backgroundGradientEnd = "EEEEEE";
     private boolean scrollbarVisibility = true;
 
-    @Override
-    public String getTag() {
-        return "cover";
-    }
-
     /**
      * Paints the uidl
      * 
index 349c6b59a8b2b9059a4fcc60c5798cdecb4efcc7..9676cd79ee9653b1e92b3cd3e22d4a7650e93dbf 100644 (file)
@@ -63,15 +63,6 @@ public class CalendarField extends DateField implements Container.Viewer {
         init();\r
     }\r
 \r
-    /*\r
-     * Gets the components UIDL tag string. Don't add a JavaDoc comment here, we\r
-     * use the default documentation from implemented interface.\r
-     */\r
-    @Override\r
-    public String getTag() {\r
-        return TAGNAME;\r
-    }\r
-\r
     public void init() {\r
         super.setResolution(RESOLUTION_HOUR);\r
 \r
index 19dee3aacf13b52f6f3fd0abe6a4de20fee3473f..746982db9b6238ada75d760cd788acd0422b3d06 100644 (file)
@@ -33,11 +33,6 @@ public class GoogleMap extends AbstractComponent implements Sizeable,
     private Object itemMarkerXPropertyId = new Object();\r
     private Object itemMarkerYPropertyId = new Object();\r
 \r
-    @Override\r
-    public String getTag() {\r
-        return "googlemap";\r
-    }\r
-\r
     @Override\r
     public void paintContent(PaintTarget target) throws PaintException {\r
         super.paintContent(target);\r
index 53c2c1b2b9993f05f05072608e7d32c75c2e285f..b92e8371a73450107cfe530450050bc1b1ba2024 100644 (file)
@@ -37,11 +37,6 @@ public class ActiveLink extends Link {
         super(caption, resource);
     }
 
-    @Override
-    public String getTag() {
-        return TAG;
-    }
-
     static {
         try {
             LINK_FOLLOWED_METHOD = LinkActivatedListener.class
index 3e4f985a65b2598d80ca8cb613ae57fea0ca44f2..a135c230c00b6883edb71cc23eedca2835ee541f 100644 (file)
@@ -18,11 +18,6 @@ public class CodeLabel extends Label {
         super(content, CONTENT_PREFORMATTED);
     }
 
-    @Override
-    public String getTag() {
-        return TAG;
-    }
-
     @Override
     public void setContentMode(int contentMode) {
         if (contentMode != CONTENT_PREFORMATTED) {
index 9c654bff590e0e43d0d6054045c4e2dc6b4d16c8..9e4e56ba5e0d8ba8cde72765b3484fdc0fc26026 100644 (file)
@@ -25,11 +25,6 @@ public class GoogleAnalytics extends AbstractComponent {
         this.domainName = domainName;
     }
 
-    @Override
-    public String getTag() {
-        return TAG;
-    }
-
     public String getTrackerId() {
         return trackerId;
     }
index a55a0769c19b0d53456711dd818816de2ff5a5cb..6d3b653baf1437e73aa3b5155a5cf54603173ead 100644 (file)
@@ -612,12 +612,8 @@ public class BookTestApplication extends com.vaadin.Application {
                }
                main.addComponent(new SSNField());
        }
-
+    // TODO add ClientWidget annotation if test is in use
        class PagingTable extends Table {
-               @Override
-               public String getTag() {
-                       return "pagingtable";
-               }
        }
 
        void example_Table(Window main, String param) {
index 678919ca0b45dcfe0853c40c1d1b2ab0c841e71c..8e382622cad2258886482ce60eff23d980b517a4 100644 (file)
@@ -30,11 +30,6 @@ public class AbsoluteLayout extends AbstractLayout {
         setSizeFull();
     }
 
-    @Override
-    public String getTag() {
-        return VAbsoluteLayout.TAGNAME;
-    }
-
     public Iterator<Component> getComponentIterator() {
         return components.iterator();
     }
index 54dfccd60c514c0216e7aeb48d1860712293eb36..76fcd0ded345dda2c291953446809504ddf97b42 100644 (file)
@@ -145,6 +145,16 @@ public abstract class AbstractComponent implements Component, MethodEventSource
     /**
      * Gets the UIDL tag corresponding to the component.
      * 
+     * <p>
+     * Note! In version 6.2 the method for mapping server side components to
+     * their client side counterparts was enhanced. This method was made final
+     * to intentionally "break" code where it is needed. If your code does not
+     * compile due overriding this method, it is very likely that you need to:
+     * <ul>
+     * <li>remove the implementation of getTag
+     * <li>add {@link ClientWidget} annotation to your component
+     * </ul>
+     * 
      * @return the component's UIDL tag as <code>String</code>
      * @deprecated tags are no more required for components. Instead of tags we
      *             are now using {@link ClientWidget} annotations to map server
@@ -153,7 +163,7 @@ public abstract class AbstractComponent implements Component, MethodEventSource
      * @see ClientWidget
      */
     @Deprecated
-    public String getTag() {
+    public final String getTag() {
         return "";
     }
 
index 3604e5ea1d53a441c610e12ba815a348cf69b0de..ce4b3e40c7071d7d3274a65c7a62dd1511122715 100644 (file)
@@ -23,14 +23,6 @@ public abstract class AbstractLayout extends AbstractComponentContainer
 
     protected MarginInfo margins = new MarginInfo(false);
 
-    /*
-     * (non-Javadoc)
-     * 
-     * @see com.vaadin.ui.AbstractComponent#getTag()
-     */
-    @Override
-    public abstract String getTag();
-
     /*
      * (non-Javadoc)
      * 
@@ -63,8 +55,7 @@ public abstract class AbstractLayout extends AbstractComponentContainer
     /*
      * (non-Javadoc)
      * 
-     * @see com.vaadin.ui.Layout#setMargin(boolean, boolean, boolean,
-     * boolean)
+     * @see com.vaadin.ui.Layout#setMargin(boolean, boolean, boolean, boolean)
      */
     public void setMargin(boolean topEnabled, boolean rightEnabled,
             boolean bottomEnabled, boolean leftEnabled) {
@@ -77,8 +68,7 @@ public abstract class AbstractLayout extends AbstractComponentContainer
     /*
      * (non-Javadoc)
      * 
-     * @see
-     * com.vaadin.ui.AbstractComponent#paintContent(com.vaadin
+     * @see com.vaadin.ui.AbstractComponent#paintContent(com.vaadin
      * .terminal.PaintTarget)
      */
     @Override
index 762a447456a72a40b2506806e977979db0d44aed..b43d155714aece255312ddae3d620d00df5c54a5 100644 (file)
@@ -38,16 +38,6 @@ public abstract class AbstractOrderedLayout extends AbstractLayout implements
      */
     private boolean spacing = false;
 
-    /**
-     * Gets the component UIDL tag.
-     * 
-     * @return the Component UIDL tag as string.
-     */
-    @Override
-    public String getTag() {
-        return "orderedlayout";
-    }
-
     /**
      * Add a component into this container. The component is added to the right
      * or under the previous component.
index b2e52254f6d4d9785453bb5bcb091ab810160220..7df90c8ca698554ab088d26de3653eaa2139c42c 100644 (file)
@@ -511,16 +511,6 @@ public abstract class AbstractSelect extends AbstractField implements
         }
     }
 
-    /**
-     * Gets the component UIDL tag.
-     * 
-     * @return the Component UIDL tag as string.
-     */
-    @Override
-    public String getTag() {
-        return "select";
-    }
-
     /**
      * Gets the visible item ids. In Select, this returns list of all item ids,
      * but can be overriden in subclasses if they paint only part of the items
index a5db02dd8a0496691559b8fd6cca1a11adbfffe8..dd481e7825d36ff380a912ecd7157866db37b27d 100644 (file)
@@ -6,9 +6,4 @@ import com.vaadin.terminal.gwt.client.ui.VAccordion;
 @ClientWidget(VAccordion.class)
 public class Accordion extends TabSheet {
 
-    @Override
-    public String getTag() {
-        return "accordion";
-    }
-
 }
index 94337eded6c72c33436b2d791dfdea942812e98b..6801bfa1760b2d45893df4ea1550a56e56fa56a3 100644 (file)
@@ -113,16 +113,6 @@ public class Button extends AbstractField {
         setPropertyDataSource(dataSource);
     }
 
-    /**
-     * Gets component UIDL tag.
-     * 
-     * @return the Component UIDL tag as string.
-     */
-    @Override
-    public String getTag() {
-        return "button";
-    }
-
     /**
      * Paints the content of this component.
      * 
index 2865c0d83753fbc26738bf177a3320ca158e89fd..af58e20da98dcd687776c9dc62e93d65d64c25b6 100644 (file)
@@ -12,10 +12,24 @@ import com.vaadin.terminal.gwt.client.Paintable;
 
 /**
  * Annotation defining the default client side counterpart in GWT terminal for
- * {@link Component}
+ * {@link Component}.
+ * <p>
+ * With this annotation server side Vaadin component is marked to have a client
+ * side counterpart. The value of the annotation is the class of client side
+ * implementation.
+ * 
+ * <p>
+ * Note, even though client side implementation is needed during development,
+ * one may safely remove them from classpath of the production server.
+ * 
+ * 
+ * @since 6.2
  */
 @Retention(RetentionPolicy.RUNTIME)
 @Target(ElementType.TYPE)
 public @interface ClientWidget {
+    /**
+     * @return the client side counterpart for the annotated component
+     */
     Class<? extends Paintable> value();
 }
index 05d067d795a50cbc1d822e37ef8e86fca9341f56..0b98ac7975237e9134b55f055780c3fd8759df53 100644 (file)
@@ -55,11 +55,6 @@ public class CssLayout extends AbstractLayout {
 
     private static final long serialVersionUID = -6408703812053460073L;
 
-    @Override
-    public String getTag() {
-        return VCssLayout.TAGNAME;
-    }
-
     /**
      * Custom layout slots containing the components.
      */
index e9ea19bf8a0abf713c645b73c643aba1d286ab32..5d086ddaf9f4285915d797210ca33968ee2240d4 100644 (file)
@@ -145,11 +145,6 @@ public class CustomComponent extends AbstractComponentContainer {
         this.componentType = componentType;
     }
 
-    @Override
-    public String getTag() {
-        return "customcomponent";
-    }
-
     private class ComponentIterator implements Iterator, Serializable {
         boolean first = getCompositionRoot() != null;
 
index 1dbd723759ab75fa485843b6011c40e8f42978d5..f0ad7514eae134b92d3884b2d122bd69e32e4be5 100644 (file)
@@ -97,16 +97,6 @@ public class CustomLayout extends AbstractLayout {
         setWidth(100, UNITS_PERCENTAGE);
     }
 
-    /**
-     * Gets the component UIDL tag.
-     * 
-     * @return the Component UIDL tag as string.
-     */
-    @Override
-    public String getTag() {
-        return "customlayout";
-    }
-
     /**
      * Adds the component into this container to given location. If the location
      * is already populated, the old component is removed.
index a0366258b9cc5c9bd1e2207437bd92153aff9644..69d6108152a7cb16ab26546f1c41415e90b37efd 100644 (file)
@@ -243,15 +243,6 @@ public class DateField extends AbstractField {
         }
     }
 
-    /*
-     * Gets the components UIDL tag string. Don't add a JavaDoc comment here, we
-     * use the default documentation from implemented interface.
-     */
-    @Override
-    public String getTag() {
-        return "datefield";
-    }
-
     /*
      * Invoked when a variable of the component changes. Don't add a JavaDoc
      * comment here, we use the default documentation from implemented
index c6d393922eea57638404e581cfe3b9b3da3f0115..3b20641c5fc79907fd62224b19b843e16bcede99 100644 (file)
@@ -101,16 +101,6 @@ public class Embedded extends AbstractComponent {
         setSource(source);
     }
 
-    /**
-     * Gets the component UIDL tag.
-     * 
-     * @return the Component UIDL tag as string.
-     */
-    @Override
-    public String getTag() {
-        return "embedded";
-    }
-
     /**
      * Invoked when the component state should be painted.
      */
index 5078c25fcc691c3dbcdb981441533ac39301e6b9..c6c9a5a738113ceb6ac495c06c9765b9d7eaa7a7 100644 (file)
@@ -175,12 +175,6 @@ public class Form extends AbstractField implements Item.Editor, Buffered, Item,
         setWidth(100, UNITS_PERCENTAGE);
     }
 
-    /* Documented in interface */
-    @Override
-    public String getTag() {
-        return "form";
-    }
-
     /* Documented in interface */
     @Override
     public void paintContent(PaintTarget target) throws PaintException {
index fc6a8a21b95964579cd36d45b21a5594c55ce976..4b42f0d8fb792554a194673419643dfa7e8cfe3b 100644 (file)
@@ -31,9 +31,4 @@ public class FormLayout extends OrderedLayout {
         setMargin(true, false, true, false);
     }
 
-    @Override
-    public String getTag() {
-        return "formlayout";
-    }
-
 }
index 1207944f12fcf342278272111ebce29db5355e8e..d07e232b1aa14c648ccfcfb2ba5d54bc41cf6f7d 100644 (file)
@@ -638,17 +638,6 @@ public class GridLayout extends AbstractLayout implements
         }
     }
 
-    /**
-     * Gets the components UIDL tag.
-     * 
-     * @return the Component UIDL tag as string.
-     * @see com.vaadin.ui.AbstractComponent#getTag()
-     */
-    @Override
-    public String getTag() {
-        return "gridlayout";
-    }
-
     /**
      * This class defines an area on a grid. An Area is defined by the cells of
      * its upper left corner (column1,row1) and lower right corner
index 16d677f6dc8c7b4baca4da2f618b07c651ef95c9..31941f1024062a8691d9c7ba702a8880832735be 100644 (file)
@@ -21,9 +21,4 @@ public class HorizontalLayout extends AbstractOrderedLayout {
 
     }
 
-    @Override
-    public String getTag() {
-        return "horizontallayout";
-    }
-
 }
index 7c6727a1ba64c6c24ae1c77180c50bddbd1397db..22aa0514e12c834974009c4c9637212121c1734b 100644 (file)
@@ -151,16 +151,6 @@ public class Label extends AbstractComponent implements Property,
         setWidth(100, UNITS_PERCENTAGE);
     }
 
-    /**
-     * Get the component UIDL tag.
-     * 
-     * @return the Component UIDL tag as string.
-     */
-    @Override
-    public String getTag() {
-        return "label";
-    }
-
     /**
      * Set the component to read-only. Readonly is not used in label.
      * 
index 3f8368593047ff192914c84b6fd203dfca3400e8..551e6c19ea42cceff2c0b9de0d3b0eceb4e4b7b7 100644 (file)
@@ -86,16 +86,6 @@ public class Link extends AbstractComponent {
         setTargetBorder(border);
     }
 
-    /**
-     * Gets the component UIDL tag.
-     * 
-     * @return the Component UIDL tag as string.
-     */
-    @Override
-    public String getTag() {
-        return "link";
-    }
-
     /**
      * Paints the content of this component.
      * 
index a77d57821a14699ae8386f973e1ef1da76289554..30049431d383487b306e0e6f9104b1b871bd697f 100644 (file)
@@ -33,12 +33,6 @@ public class MenuBar extends AbstractComponent {
     private Resource submenuIcon;
     private MenuItem moreItem;
 
-    /** Tag is the UIDL element name for client-server communications. */
-    @Override
-    public java.lang.String getTag() {
-        return "menubar";
-    }
-
     /** Paint (serialise) the component for the client. */
     @Override
     public void paintContent(PaintTarget target) throws PaintException {
index 4df771d05468de62cfb95733a986b7fcc0eeb02f..5a24db40baf5fd221774ec7351ee1f612df62840 100644 (file)
@@ -43,9 +43,4 @@ public class NativeButton extends Button {
         super(caption, dataSource);
     }
 
-    @Override
-    public String getTag() {
-        return "nativebutton";
-    }
-
 }
\ No newline at end of file
index 29d708a328c4197e7b1469ce7e8c013f5c034995..03f1857386345f48ff5c3d993f24010c2e9aa4c6 100644 (file)
@@ -276,16 +276,6 @@ public class Panel extends AbstractComponentContainer implements Scrollable,
         }
     }
 
-    /**
-     * Gets the component UIDL tag.
-     * 
-     * @return the Component UIDL tag as string.
-     */
-    @Override
-    public String getTag() {
-        return "panel";
-    }
-
     /**
      * Adds the component into this container.
      * 
index 8184d60b65e81f82dab11ef468d208930a761629..9d8144f78e033911bd70749010a0ed471428ac72 100644 (file)
@@ -276,14 +276,6 @@ public class PopupView extends AbstractComponentContainer {
      * Methods for server-client communications.
      */
 
-    /**
-     * @see com.vaadin.ui.AbstractComponent#getTag()
-     */
-    @Override
-    public java.lang.String getTag() {
-        return "popupview";
-    }
-
     /**
      * Paint (serialize) the component for the client.
      * 
index bb346c26d5f5a76bf8746fc512179d0588e5d328..b896634cd9616f6edc682db3520ace9453240017 100644 (file)
@@ -72,16 +72,6 @@ public class ProgressIndicator extends AbstractField implements Property,
         setPropertyDataSource(contentSource);
     }
 
-    /**
-     * Gets the component UIDL tag.
-     * 
-     * @return the Component UIDL tag as string.
-     */
-    @Override
-    public String getTag() {
-        return "progressindicator";
-    }
-
     /**
      * Sets the component to read-only. Readonly is not used in
      * ProgressIndicator.
index 899a9367659febfe48eacdeb1e8eee2e164a94d6..2c1b6a9c69d8f6cac1158e2c2e261112c4a54e04 100644 (file)
@@ -425,16 +425,6 @@ public class Select extends AbstractSelect implements AbstractSelect.Filtering {
         super.requestRepaint();
     }
 
-    /**
-     * Gets the component UIDL tag.
-     * 
-     * @return the Component UIDL tag as string.
-     */
-    @Override
-    public String getTag() {
-        return "select";
-    }
-
     public void setFilteringMode(int filteringMode) {
         this.filteringMode = filteringMode;
     }
index 24dd520dddc39df466f541a258de8c97cf02cca4..7d06b8075a3cbbb0951aa0691dbd83e8f3bd6455 100644 (file)
@@ -395,11 +395,6 @@ public class Slider extends AbstractField {
         requestRepaint();
     }
 
-    @Override
-    public String getTag() {
-        return "slider";
-    }
-
     @Override
     public void paintContent(PaintTarget target) throws PaintException {
         super.paintContent(target);
index 956eefc62b0a919dd9d83c36dbe22836c33dc720..7d510239e94167f0fc76f5f26f9479c8aa8f532d 100644 (file)
@@ -75,16 +75,6 @@ public class SplitPanel extends AbstractLayout {
         setOrientation(orientation);
     }
 
-    /**
-     * Gets the component UIDL tag.
-     * 
-     * @return the Component UIDL tag as string.
-     */
-    @Override
-    public String getTag() {
-        return "splitpanel";
-    }
-
     /**
      * Add a component into this container. The component is added to the right
      * or under the previous component.
index 71a4ca8cf250146bcc5fbceb2b35d8195360e9ea..ed81fdb6554c890ecbbfd9ed663fa9d8318ad2dd 100644 (file)
@@ -159,16 +159,6 @@ public class TabSheet extends AbstractComponentContainer implements
         return null;
     }
 
-    /**
-     * Gets the component UIDL tag.
-     * 
-     * @return the Component UIDL tag as string.
-     */
-    @Override
-    public String getTag() {
-        return "tabsheet";
-    }
-
     /**
      * Moves all components from another container to this container. The
      * components are removed from the other container.
index 1a106becc12ff67cfd7129d03ba9f730eaefcd0c..d77de554cbe26efe3f31d62f5b78fc5d8595d2a4 100644 (file)
@@ -2366,16 +2366,6 @@ public class Table extends AbstractSelect implements Action.Container,
         target.endTag("visiblecolumns");
     }
 
-    /*
-     * (non-Javadoc)
-     * 
-     * @see com.vaadin.ui.AbstractSelect#getTag()
-     */
-    @Override
-    public String getTag() {
-        return "table";
-    }
-
     /**
      * Gets the cached visible table contents.
      * 
index a43b2b1be8bedda24737f5b4b141ee48ac91d8bb..a7736172657e3cfa875ce58c74d816d00c4533b8 100644 (file)
@@ -231,18 +231,10 @@ public class TextField extends AbstractField {
     }
 
     /*
-     * Gets the components UIDL tag string. Don't add a JavaDoc comment here, we
-     * use the default documentation from implemented interface.
-     */
-    @Override
-    public String getTag() {
-        return "textfield";
-    }
-
-    /*
-     * Invoked when a variable of the component changes. Don't add a JavaDoc
-     * comment here, we use the default documentation from implemented
-     * interface.
+     * (non-Javadoc)
+     * 
+     * @see com.vaadin.ui.AbstractField#changeVariables(java.lang.Object,
+     * java.util.Map)
      */
     @Override
     public void changeVariables(Object source, Map variables) {
index 67a036580bb8ca81cb47e9a58de5fae70773bef5..082b9f46244faf38db5976e2202c2a8b6e469675 100644 (file)
@@ -319,22 +319,11 @@ public class Tree extends AbstractSelect implements Container.Hierarchical,
 
     /* Component API */
 
-    /**
-     * Gets the UIDL tag corresponding to the component.
-     * 
-     * @see com.vaadin.ui.AbstractComponent#getTag()
-     */
-    @Override
-    public String getTag() {
-        return "tree";
-    }
-
-    /**
-     * Called when one or more variables handled by the implementing class are
-     * changed.
+    /*
+     * (non-Javadoc)
      * 
-     * @see com.vaadin.terminal.VariableOwner#changeVariables(Object source, Map
-     *      variables)
+     * @see com.vaadin.ui.AbstractSelect#changeVariables(java.lang.Object,
+     * java.util.Map)
      */
     @Override
     public void changeVariables(Object source, Map variables) {
index 2ea347fc5655c71143a58cd8cf10302a3110f414..4789641193db22414a620a354b5feb95d290ec96 100644 (file)
@@ -114,16 +114,6 @@ public class Upload extends AbstractComponent implements Component.Focusable {
         receiver = uploadReceiver;
     }
 
-    /**
-     * Gets the component type.
-     * 
-     * @return Component type as string.
-     */
-    @Override
-    public String getTag() {
-        return "upload";
-    }
-
     /**
      * This method is called by terminal when upload is received.
      * 
index d6c0dc9f51ef3bf8e051ef3059ec95d21987a8f2..703e581733be1c58ff9ccc774ff0ccc4aa0353d1 100644 (file)
@@ -85,11 +85,6 @@ public class UriFragmentUtility extends AbstractComponent {
         setImmediate(true);
     }
 
-    @Override
-    public String getTag() {
-        return "urifragment";
-    }
-
     @Override
     public void paintContent(PaintTarget target) throws PaintException {
         super.paintContent(target);
index 13f1422b6a387531ccbf47abb051671943e4d13c..d67f33e3e6834df1203356868991242e5fb8b71e 100644 (file)
@@ -22,9 +22,4 @@ public class VerticalLayout extends AbstractOrderedLayout {
         setWidth("100%");
     }
 
-    @Override
-    public String getTag() {
-        return "verticallayout";
-    }
-
 }
index 1912a434ef756f67c806f627183fd479365944a7..e80f588b8787afe7ab6977f143c4b672f78e72a4 100644 (file)
@@ -257,16 +257,6 @@ public class Window extends Panel implements URIHandler, ParameterHandler {
         super.setParent(parent);
     }
 
-    /**
-     * Gets the component UIDL tag.
-     * 
-     * @return the Component UIDL tag as string.
-     */
-    @Override
-    public String getTag() {
-        return "window";
-    }
-
     /* ********************************************************************* */
 
     /**