Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Scout/Concepts/TablePage"
(→Events: add child page and virtual child page) |
(→Description) |
||
Line 13: | Line 13: | ||
[[Image:HG_TablePage.png]] | [[Image:HG_TablePage.png]] | ||
− | + | The child-pages are represented a tree nodes. The cell of this node is defined by the {{ScoutLink|Concepts|Table#Summary_Cell|summary cell}} of the table. | |
− | + | ||
− | {{ | + | |
== Screenshot == | == Screenshot == |
Revision as of 08:05, 8 February 2013
The Scout documentation has been moved to https://eclipsescout.github.io/.
Table-oriented The Scout documentation has been moved to https://eclipsescout.github.io/.
- implements: The Scout documentation has been moved to https://eclipsescout.github.io/.
- extends: The Scout documentation has been moved to https://eclipsescout.github.io/.
Contents
Description
- The Scout documentation has been moved to https://eclipsescout.github.io/.
The child-pages are represented a tree nodes. The cell of this node is defined by the The Scout documentation has been moved to https://eclipsescout.github.io/. of the table.
Screenshot
Properties
Defined with The Scout documentation has been moved to https://eclipsescout.github.io/. methods.
Events
Defined with The Scout documentation has been moved to https://eclipsescout.github.io/. methods.
child page and virtual child page
The Scout documentation has been moved to https://eclipsescout.github.io/. is triggered for each row of the table (the corresponding row is given as parameter). It is possible to get some of the values in the table to pass them to the chid page.
@Override protected IPage execCreateChildPage(final ITableRow row) throws ProcessingException { MyNodePage childPage = new MyNodePage(); childPage.setId(getTable().getIDColumn().getValue(row)); childPage.setName(getTable().getNameColumn().getValue(row)); childPage.setComment(getTable().getNotesColumn().getValue(row)); return childPage; }
For performance reason, because sometimes instantiating a page can be expansive, the concept of virtual page was introduced. Virtual pages are created by The Scout documentation has been moved to https://eclipsescout.github.io/.. Virtual pages act like a proxy: only when they are activated the real corresponding page is instanciated with the corresponding call to The Scout documentation has been moved to https://eclipsescout.github.io/..
Other events
See Also
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.