From: Leif Åstrand Date: Tue, 11 Sep 2012 07:05:07 +0000 (+0300) Subject: Rename Vaadin6Connector -> LegacyConnector (#9536) X-Git-Tag: 7.0.0.beta1~60 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=52331e0db4d3898c09369c2a797c38c8de544c11;p=vaadin-framework.git Rename Vaadin6Connector -> LegacyConnector (#9536) --- diff --git a/client/src/com/vaadin/client/ui/LegacyConnector.java b/client/src/com/vaadin/client/ui/LegacyConnector.java new file mode 100644 index 0000000000..c5a1325a69 --- /dev/null +++ b/client/src/com/vaadin/client/ui/LegacyConnector.java @@ -0,0 +1,30 @@ +/* + * Copyright 2011 Vaadin Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package com.vaadin.client.ui; + +import com.vaadin.client.ApplicationConnection; +import com.vaadin.client.Paintable; +import com.vaadin.client.UIDL; + +public abstract class LegacyConnector extends AbstractComponentConnector + implements Paintable { + + @Override + public void updateFromUIDL(UIDL uidl, ApplicationConnection client) { + ((Paintable) getWidget()).updateFromUIDL(uidl, client); + } + +} diff --git a/client/src/com/vaadin/client/ui/Vaadin6Connector.java b/client/src/com/vaadin/client/ui/Vaadin6Connector.java deleted file mode 100644 index 72c7ad6ba8..0000000000 --- a/client/src/com/vaadin/client/ui/Vaadin6Connector.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright 2011 Vaadin Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. - */ -package com.vaadin.client.ui; - -import com.vaadin.client.ApplicationConnection; -import com.vaadin.client.Paintable; -import com.vaadin.client.UIDL; - -public abstract class Vaadin6Connector extends AbstractComponentConnector - implements Paintable { - - @Override - public void updateFromUIDL(UIDL uidl, ApplicationConnection client) { - ((Paintable) getWidget()).updateFromUIDL(uidl, client); - } - -}