From be12863c94cacbb9ddc8bbb094f0f14570d0d022 Mon Sep 17 00:00:00 2001 From: Fritz Schinkel Date: Tue, 14 Jan 2020 10:40:54 +0100 Subject: Add TileOverview for AbstractPage TileOutlineOverview now works also with given child nodes and not just with the child nodes of an outline, so it can be used for any PageWithNodes. 236367 Signed-off-by: Fritz Schinkel Change-Id: Ifce415c05e0b5abe48ac808935e56e48c28498e8 Reviewed-on: https://git.eclipse.org/r/155833 Tested-by: CI Bot Reviewed-by: Beat Schwarzentrub --- .../src/desktop/outline/overview/TileOutlineOverview.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'eclipse-scout-core/src/desktop/outline/overview/TileOutlineOverview.js') diff --git a/eclipse-scout-core/src/desktop/outline/overview/TileOutlineOverview.js b/eclipse-scout-core/src/desktop/outline/overview/TileOutlineOverview.js index 0a0977f264..1cddc8aba9 100644 --- a/eclipse-scout-core/src/desktop/outline/overview/TileOutlineOverview.js +++ b/eclipse-scout-core/src/desktop/outline/overview/TileOutlineOverview.js @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014-2018 BSI Business Systems Integration AG. + * Copyright (c) 2014-2020 BSI Business Systems Integration AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -8,7 +8,7 @@ * Contributors: * BSI Business Systems Integration AG - initial API and implementation */ -import {HtmlComponent, OutlineOverview, scout, TileOutlineOverviewLayout} from '../../../index'; +import {HtmlComponent, OutlineOverview, scout, TileOverviewLayout} from '../../../index'; export default class TileOutlineOverview extends OutlineOverview { @@ -27,12 +27,12 @@ export default class TileOutlineOverview extends OutlineOverview { } _render() { - this.$container = this.$parent.appendDiv('tile-outline-overview'); + this.$container = this.$parent.appendDiv('tile-overview'); this.htmlComp = HtmlComponent.install(this.$container, this.session); - this.htmlComp.setLayout(new TileOutlineOverviewLayout(this)); - this.$content = this.$container.appendDiv('tile-outline-overview-content'); + this.htmlComp.setLayout(new TileOverviewLayout(this)); + this.$content = this.$container.appendDiv('tile-overview-content'); this.contentHtmlComp = HtmlComponent.install(this.$content, this.session); - this.$title = this.$content.appendDiv('tile-outline-overview-title').text(this.outline.title); + this.$title = this.$content.appendDiv('tile-overview-title').text(this.outline.title); } _renderProperties() { -- cgit v1.2.3