diff options
author | Fritz Schinkel | 2020-01-14 09:40:54 +0000 |
---|---|---|
committer | Beat Schwarzentrub | 2020-01-16 18:26:28 +0000 |
commit | be12863c94cacbb9ddc8bbb094f0f14570d0d022 (patch) | |
tree | 8808ec826ee2e2937dc8aaf1c8818a34219678fe /eclipse-scout-core/src/desktop/outline/overview/TileOutlineOverview.js | |
parent | 89cf15a1cf362e21cd90dd03dc7c0f048cdf9000 (diff) | |
download | org.eclipse.scout.rt-be12863c94cacbb9ddc8bbb094f0f14570d0d022.tar.gz org.eclipse.scout.rt-be12863c94cacbb9ddc8bbb094f0f14570d0d022.tar.xz org.eclipse.scout.rt-be12863c94cacbb9ddc8bbb094f0f14570d0d022.zip |
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 <fritz.schinkel@bsi-software.com>
Change-Id: Ifce415c05e0b5abe48ac808935e56e48c28498e8
Reviewed-on: https://git.eclipse.org/r/155833
Tested-by: CI Bot
Reviewed-by: Beat Schwarzentrub <bsh@bsiag.com>
Diffstat (limited to 'eclipse-scout-core/src/desktop/outline/overview/TileOutlineOverview.js')
-rw-r--r-- | eclipse-scout-core/src/desktop/outline/overview/TileOutlineOverview.js | 12 |
1 files changed, 6 insertions, 6 deletions
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() { |