diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2015-12-22 14:30:11 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2016-01-05 11:50:47 +0000 |
commit | 86969a99c2c3ac0389912dceaf3bad9477717fb1 (patch) | |
tree | bfd5c7f25bc22977ad2b179d4b24c599a0eaf683 | |
parent | 47b7f536b28305914d40812e2a97eb99ec836eef (diff) | |
download | vaadin-framework-86969a99c2c3ac0389912dceaf3bad9477717fb1.tar.gz vaadin-framework-86969a99c2c3ac0389912dceaf3bad9477717fb1.zip |
Add a client-side connector for DetailsComponentManager (#19412)
Change-Id: Ibc4d35a8f729b670d8712743c9da8d608a0ba952
-rw-r--r-- | client/src/com/vaadin/client/connectors/DetailComponentManagerConnector.java | 36 | ||||
-rw-r--r-- | server/src/com/vaadin/ui/Grid.java | 2 |
2 files changed, 37 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/connectors/DetailComponentManagerConnector.java b/client/src/com/vaadin/client/connectors/DetailComponentManagerConnector.java new file mode 100644 index 0000000000..300a47472f --- /dev/null +++ b/client/src/com/vaadin/client/connectors/DetailComponentManagerConnector.java @@ -0,0 +1,36 @@ +/* + * Copyright 2000-2014 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.connectors; + +import com.vaadin.client.ServerConnector; +import com.vaadin.client.extensions.AbstractExtensionConnector; +import com.vaadin.shared.ui.Connect; +import com.vaadin.ui.Grid.DetailComponentManager; + +/** + * Client-side connector for the DetailComponentManager of Grid. + * + * @since 7.6 + */ +@Connect(DetailComponentManager.class) +public class DetailComponentManagerConnector extends AbstractExtensionConnector { + + @Override + protected void extend(ServerConnector target) { + // TODO: Move DetailsGenerator logic here. + } + +} diff --git a/server/src/com/vaadin/ui/Grid.java b/server/src/com/vaadin/ui/Grid.java index 84867f87d7..0d509b2a3f 100644 --- a/server/src/com/vaadin/ui/Grid.java +++ b/server/src/com/vaadin/ui/Grid.java @@ -304,7 +304,7 @@ public class Grid extends AbstractFocusable implements SelectionNotifier, * * @since 7.6 */ - private final static class DetailComponentManager extends + public final static class DetailComponentManager extends AbstractGridExtension implements DataGenerator { /** |