Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
e5b224a
Bump BSI Customer Suite version to 26.2
buehlmic Feb 12, 2026
1a338d8
Ensure objects.valueCopy creates a copy
mvilliger Feb 2, 2026
3878990
TileTable: fix focus handling
cguglielmo Feb 12, 2026
7938143
Table: don't scroll when pressing space on header item
cguglielmo Feb 13, 2026
ed0a599
HelloJS-App: fix eslint warnings
cguglielmo Feb 16, 2026
8fdd044
BookmarkDoBuilder: use nicer search filter text in bookmark description
bschwarzent Feb 13, 2026
3ec5ab4
Add lifecycle to FormModel
fschinkel Feb 16, 2026
7d701aa
Fix jsdoc of strings.encode
mvilliger Feb 18, 2026
4a131cb
scout.rt.server.session modul - part I
paolobazzi Dec 4, 2025
8b3ff98
scout.rt.server.session modul - part II
paolobazzi Dec 4, 2025
3bf6cd5
scout.rt.server.session modul - part III
paolobazzi Dec 5, 2025
3d7b306
scout.rt.server.session modul - part IV
paolobazzi Dec 8, 2025
d532035
scout.rt.shared.session modul - part I
paolobazzi Dec 9, 2025
254058f
scout.rt.server.session - HttpServerRunContextProducer session methods
paolobazzi Dec 9, 2025
e504f63
scout.rt.shared.session modul - part II
paolobazzi Dec 9, 2025
e9d1181
scout.rt.shared.session modul - part III
paolobazzi Dec 10, 2025
3e5e5ce
scout.rt.server.session - move back to root
paolobazzi Dec 10, 2025
d455dae
WIP fixes after rebase
paolobazzi Jan 14, 2026
0b014e9
WIP fixes after rebase II
paolobazzi Jan 14, 2026
33efca3
Move Sessions#randomSessionId to SessionId#randomSessionId
rogersteblerbsi Jan 15, 2026
9ac7543
423389 Add missing logback-test.xml
rogersteblerbsi Jan 16, 2026
a5db3ed
Bump new modules to 26.2
paolobazzi Feb 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: [ "releases/26.1" ]
branches: [ "releases/26.2" ]
pull_request:
branches: [ "releases/26.1" ]
branches: [ "releases/26.2" ]

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This repository contains the source code of the runtime components, the actual f

If you are completely new and wondering what Eclipse Scout is, please visit our [website](https://eclipse.dev/scout/).

To get started with Scout, follow our [Get Started Guide](https://eclipsescout.github.io/scout-docs/26.1/getstarted/getstarted.html).
To get started with Scout, follow our [Get Started Guide](https://eclipsescout.github.io/scout-docs/26.2/getstarted/getstarted.html).

## Documentation

Expand Down
4 changes: 2 additions & 2 deletions eclipse-scout-chart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
</p>

<p align="center">
<a href="https://ci.eclipse.org/scout/job/scout-integration-26.1-RT-nightly_pipeline/" target="_blank" rel="noopener noreferrer"><img alt="Jenkins" src="https://img.shields.io/jenkins/build?jobUrl=https%3A%2F%2Fci.eclipse.org%2Fscout%2Fjob%2Fscout-integration-25.1-RT-nightly_pipeline%2F"></a>
<a href="https://ci.eclipse.org/scout/job/scout-integration-26.1-RT-nightly_pipeline/" target="_blank" rel="noopener noreferrer"><img alt="Jenkins tests" src="https://img.shields.io/jenkins/tests?jobUrl=https%3A%2F%2Fci.eclipse.org%2Fscout%2Fjob%2Fscout-integration-25.1-RT-nightly_pipeline%2F"></a>
<a href="https://ci.eclipse.org/scout/job/scout-integration-26.2-RT-nightly_pipeline/" target="_blank" rel="noopener noreferrer"><img alt="Jenkins" src="https://img.shields.io/jenkins/build?jobUrl=https%3A%2F%2Fci.eclipse.org%2Fscout%2Fjob%2Fscout-integration-25.1-RT-nightly_pipeline%2F"></a>
<a href="https://ci.eclipse.org/scout/job/scout-integration-26.2-RT-nightly_pipeline/" target="_blank" rel="noopener noreferrer"><img alt="Jenkins tests" src="https://img.shields.io/jenkins/tests?jobUrl=https%3A%2F%2Fci.eclipse.org%2Fscout%2Fjob%2Fscout-integration-25.1-RT-nightly_pipeline%2F"></a>
<a href="https://www.npmjs.com/package/@eclipse-scout/chart" target="_blank" rel="noopener noreferrer"><img alt="npm" src="https://img.shields.io/npm/dm/@eclipse-scout/chart"></a>
<a href="https://www.eclipse.org/legal/epl-2.0/" target="_blank" rel="noopener noreferrer"><img alt="NPM" src="https://img.shields.io/npm/l/@eclipse-scout/chart"></a>
<a href="https://www.npmjs.com/package/@eclipse-scout/chart" target="_blank" rel="noopener noreferrer"><img alt="npm (scoped)" src="https://img.shields.io/npm/v/@eclipse-scout/chart"></a>
Expand Down
6 changes: 3 additions & 3 deletions eclipse-scout-chart/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eclipse-scout/chart",
"version": "26.1.0-snapshot",
"version": "26.2.0-snapshot",
"description": "Eclipse Scout chart",
"author": "BSI Business Systems Integration AG",
"homepage": "https://eclipse.dev/scout/",
Expand Down Expand Up @@ -57,7 +57,7 @@
"version:release": "releng-scripts version:release"
},
"devDependencies": {
"@eclipse-scout/cli": ">=26.1.0-snapshot <26.1.0",
"@eclipse-scout/cli": ">=26.2.0-snapshot <26.2.0",
"@eclipse-scout/releng": "^26.1.0",
"jasmine-core": "5.13.0",
"jasmine-jquery": "2.1.1",
Expand All @@ -67,7 +67,7 @@
"@types/jasmine-jquery": "1.5.37"
},
"dependencies": {
"@eclipse-scout/core": ">=26.1.0-snapshot <26.1.0",
"@eclipse-scout/core": ">=26.2.0-snapshot <26.2.0",
"jquery": "3.7.1",
"chart.js": "4.5.1",
"chartjs-plugin-datalabels": "2.2.0"
Expand Down
2 changes: 1 addition & 1 deletion eclipse-scout-chart/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<parent>
<groupId>org.eclipse.scout.rt</groupId>
<artifactId>org.eclipse.scout.rt</artifactId>
<version>26.1-SNAPSHOT</version>
<version>26.2-SNAPSHOT</version>
<relativePath>../org.eclipse.scout.rt</relativePath>
</parent>

Expand Down
4 changes: 2 additions & 2 deletions eclipse-scout-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
</p>

<p align="center">
<a href="https://ci.eclipse.org/scout/job/scout-integration-26.1-RT-nightly_pipeline/" target="_blank" rel="noopener noreferrer"><img alt="Jenkins" src="https://img.shields.io/jenkins/build?jobUrl=https%3A%2F%2Fci.eclipse.org%2Fscout%2Fjob%2Fscout-integration-25.2-RT-nightly_pipeline%2F"></a>
<a href="https://ci.eclipse.org/scout/job/scout-integration-26.1-RT-nightly_pipeline/" target="_blank" rel="noopener noreferrer"><img alt="Jenkins tests" src="https://img.shields.io/jenkins/tests?jobUrl=https%3A%2F%2Fci.eclipse.org%2Fscout%2Fjob%2Fscout-integration-25.2-RT-nightly_pipeline%2F"></a>
<a href="https://ci.eclipse.org/scout/job/scout-integration-26.2-RT-nightly_pipeline/" target="_blank" rel="noopener noreferrer"><img alt="Jenkins" src="https://img.shields.io/jenkins/build?jobUrl=https%3A%2F%2Fci.eclipse.org%2Fscout%2Fjob%2Fscout-integration-25.2-RT-nightly_pipeline%2F"></a>
<a href="https://ci.eclipse.org/scout/job/scout-integration-26.2-RT-nightly_pipeline/" target="_blank" rel="noopener noreferrer"><img alt="Jenkins tests" src="https://img.shields.io/jenkins/tests?jobUrl=https%3A%2F%2Fci.eclipse.org%2Fscout%2Fjob%2Fscout-integration-25.2-RT-nightly_pipeline%2F"></a>
<a href="https://www.npmjs.com/package/@eclipse-scout/cli" target="_blank" rel="noopener noreferrer"><img alt="npm" src="https://img.shields.io/npm/dm/@eclipse-scout/cli"></a>
<a href="https://www.eclipse.org/legal/epl-2.0/" target="_blank" rel="noopener noreferrer"><img alt="NPM" src="https://img.shields.io/npm/l/@eclipse-scout/cli"></a>
<a href="https://www.npmjs.com/package/@eclipse-scout/cli" target="_blank" rel="noopener noreferrer"><img alt="npm (scoped)" src="https://img.shields.io/npm/v/@eclipse-scout/cli"></a>
Expand Down
6 changes: 3 additions & 3 deletions eclipse-scout-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eclipse-scout/cli",
"version": "26.1.0-snapshot",
"version": "26.2.0-snapshot",
"description": "CLI for Eclipse Scout",
"author": "BSI Business Systems Integration AG",
"homepage": "https://eclipse.dev/scout/",
Expand Down Expand Up @@ -53,8 +53,8 @@
"karma-jasmine": "5.1.0",
"karma-jasmine-ajax": "0.1.13",
"@metahub/karma-jasmine-jquery": "4.0.1",
"@eclipse-scout/karma-jasmine-scout": ">=26.1.0-snapshot <26.1.0",
"@eclipse-scout/tsconfig": ">=26.1.0-snapshot <26.1.0",
"@eclipse-scout/karma-jasmine-scout": ">=26.2.0-snapshot <26.2.0",
"@eclipse-scout/tsconfig": ">=26.2.0-snapshot <26.2.0",
"karma-jasmine-html-reporter": "2.1.0",
"karma-junit-reporter": "2.0.1",
"karma-webpack": "5.0.1",
Expand Down
2 changes: 1 addition & 1 deletion eclipse-scout-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<parent>
<groupId>org.eclipse.scout.rt</groupId>
<artifactId>org.eclipse.scout.rt</artifactId>
<version>26.1-SNAPSHOT</version>
<version>26.2-SNAPSHOT</version>
<relativePath>../org.eclipse.scout.rt</relativePath>
</parent>

Expand Down
6 changes: 3 additions & 3 deletions eclipse-scout-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
</p>

<p align="center">
<a href="https://ci.eclipse.org/scout/job/scout-integration-26.1-RT-nightly_pipeline/" target="_blank" rel="noopener noreferrer"><img alt="Jenkins" src="https://img.shields.io/jenkins/build?jobUrl=https%3A%2F%2Fci.eclipse.org%2Fscout%2Fjob%2Fscout-integration-25.2-RT-nightly_pipeline%2F"></a>
<a href="https://ci.eclipse.org/scout/job/scout-integration-26.1-RT-nightly_pipeline/" target="_blank" rel="noopener noreferrer"><img alt="Jenkins tests" src="https://img.shields.io/jenkins/tests?jobUrl=https%3A%2F%2Fci.eclipse.org%2Fscout%2Fjob%2Fscout-integration-25.2-RT-nightly_pipeline%2F"></a>
<a href="https://ci.eclipse.org/scout/job/scout-integration-26.2-RT-nightly_pipeline/" target="_blank" rel="noopener noreferrer"><img alt="Jenkins" src="https://img.shields.io/jenkins/build?jobUrl=https%3A%2F%2Fci.eclipse.org%2Fscout%2Fjob%2Fscout-integration-25.2-RT-nightly_pipeline%2F"></a>
<a href="https://ci.eclipse.org/scout/job/scout-integration-26.2-RT-nightly_pipeline/" target="_blank" rel="noopener noreferrer"><img alt="Jenkins tests" src="https://img.shields.io/jenkins/tests?jobUrl=https%3A%2F%2Fci.eclipse.org%2Fscout%2Fjob%2Fscout-integration-25.2-RT-nightly_pipeline%2F"></a>
<a href="https://www.npmjs.com/package/@eclipse-scout/core" target="_blank" rel="noopener noreferrer"><img alt="npm" src="https://img.shields.io/npm/dm/@eclipse-scout/core"></a>
<a href="https://www.eclipse.org/legal/epl-2.0/" target="_blank" rel="noopener noreferrer"><img alt="NPM" src="https://img.shields.io/npm/l/@eclipse-scout/core"></a>
<a href="https://www.npmjs.com/package/@eclipse-scout/core" target="_blank" rel="noopener noreferrer"><img alt="npm (scoped)" src="https://img.shields.io/npm/v/@eclipse-scout/core"></a>
Expand All @@ -22,7 +22,7 @@ This module contains the web runtime components running in the browser.

If you are completely new and wondering what Eclipse Scout is, please visit our [website](https://eclipse.dev/scout/).

To get started with Scout, follow our [Get Started Guide](https://eclipsescout.github.io/scout-docs/26.1/getstarted/getstarted.html).
To get started with Scout, follow our [Get Started Guide](https://eclipsescout.github.io/scout-docs/26.2/getstarted/getstarted.html).

## Documentation

Expand Down
4 changes: 2 additions & 2 deletions eclipse-scout-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eclipse-scout/core",
"version": "26.1.0-snapshot",
"version": "26.2.0-snapshot",
"description": "Eclipse Scout runtime",
"author": "BSI Business Systems Integration AG",
"homepage": "https://eclipse.dev/scout/",
Expand Down Expand Up @@ -63,7 +63,7 @@
"version:release": "releng-scripts version:release"
},
"devDependencies": {
"@eclipse-scout/cli": ">=26.1.0-snapshot <26.1.0",
"@eclipse-scout/cli": ">=26.2.0-snapshot <26.2.0",
"@eclipse-scout/releng": "^26.1.0",
"jasmine-core": "5.13.0",
"jasmine-ajax": "4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion eclipse-scout-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<parent>
<groupId>org.eclipse.scout.rt</groupId>
<artifactId>org.eclipse.scout.rt</artifactId>
<version>26.1-SNAPSHOT</version>
<version>26.2-SNAPSHOT</version>
<relativePath>../org.eclipse.scout.rt</relativePath>
</parent>

Expand Down
37 changes: 25 additions & 12 deletions eclipse-scout-core/src/bookmark/BookmarkDoBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
* SPDX-License-Identifier: EPL-2.0
*/
import {
arrays, BaseDoEntity, BookmarkDo, BookmarkDoBuilderModel, BookmarkSupport, BookmarkTableRowIdentifierDo, ChartTableControlConfigHelper, Desktop, Form, IBookmarkDefinitionDo, IBookmarkDo, IBookmarkPageDo, IChartTableControlConfigDo,
InitModelOf, NodeBookmarkPageDo, objects, ObjectWithType, OutlineBookmarkDefinitionDo, Page, PageBookmarkDefinitionDo, PageWithTable, scout, Session, strings, TableBookmarkPageDo, TableClientUiPreferencesDo, TableUiPreferences,
tableUiPreferences
arrays, BookmarkDo, BookmarkDoBuilderModel, BookmarkSupport, BookmarkTableRowIdentifierDo, ChartTableControlConfigHelper, Desktop, Form, IBookmarkDefinitionDo, IBookmarkDo, IBookmarkPageDo, IChartTableControlConfigDo, InitModelOf,
NodeBookmarkPageDo, ObjectWithType, OutlineBookmarkDefinitionDo, Page, PageBookmarkDefinitionDo, PageWithTable, scout, Session, strings, TableBookmarkPageDo, TableClientUiPreferencesDo, TableUiPreferences, tableUiPreferences
} from '../index';

export class BookmarkDoBuilder implements ObjectWithType, BookmarkDoBuilderModel {
Expand All @@ -36,6 +35,9 @@ export class BookmarkDoBuilder implements ObjectWithType, BookmarkDoBuilderModel
createTablePreferences: boolean;
createTableRowSelections: boolean;

// Map to store texts computed by _tablePageToTableBookmarkPage() for later use in _createBookmarkDescription()
protected _searchFilterTexts = new Map<TableBookmarkPageDo, string>();

// --------------------------------------

constructor() {
Expand Down Expand Up @@ -163,7 +165,7 @@ export class BookmarkDoBuilder implements ObjectWithType, BookmarkDoBuilderModel
throw BookmarkDoBuilder.ERROR_MISSING_ROW_BOOKMARK_IDENTIFIER;
}

return scout.create(TableBookmarkPageDo, {
let bookmarkPage = scout.create(TableBookmarkPageDo, {
pageParam: page.pageParam,
displayText: page.getDisplayText(),
expandedChildRow: expandedChildRowIdentifier,
Expand All @@ -173,6 +175,16 @@ export class BookmarkDoBuilder implements ObjectWithType, BookmarkDoBuilderModel
tablePreferences: tablePreferences,
chartTableControlConfig: chartTableControlConfig
});

// Compute search filter text and put it into a map for later use in _createBookmarkDescription()
if (this.createDescription && searchData) {
let searchFilterText = await page.getSearchFilterText();
if (searchFilterText) {
this._searchFilterTexts.set(bookmarkPage, searchFilterText);
}
}

return bookmarkPage;
}

protected _createExpandedTableRowIdentifier(page: PageWithTable, childPage: Page): BookmarkTableRowIdentifierDo {
Expand Down Expand Up @@ -275,18 +287,19 @@ export class BookmarkDoBuilder implements ObjectWithType, BookmarkDoBuilderModel

let lines = [];
pagePath.forEach((bookmarkPage, index) => {
let prefix = strings.repeat(' ', index);
let indent = ' ';
let prefix = strings.repeat(indent, index);

let displayText = bookmarkPage.displayText || this.session.text('Node');
lines.push(prefix + displayText);

if (bookmarkPage instanceof TableBookmarkPageDo && bookmarkPage.searchData) {
let searchData = bookmarkPage.searchData instanceof BaseDoEntity ? bookmarkPage.searchData.toPojo() : bookmarkPage.searchData;
Object.keys(searchData)
.filter(key => !strings.startsWith(key, '_'))
.filter(key => !objects.isNullOrUndefinedOrEmpty(searchData[key]))
.map(key => key + ': ' + JSON.stringify((searchData)[key]))
.forEach(searchLine => lines.push(prefix + ' ' + searchLine));
if (bookmarkPage instanceof TableBookmarkPageDo) {
// Get search filter text added by _tablePageToTableBookmarkPage()
let searchFilterText = this._searchFilterTexts.get(bookmarkPage);
// Split search filter text into lines and add them to the description (with additional indentation)
if (searchFilterText) {
lines.push(...searchFilterText.split('\n').map(s => prefix + indent + s));
}
}
});
return lines.join('\n');
Expand Down
45 changes: 36 additions & 9 deletions eclipse-scout-core/src/form/Form.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010, 2025 BSI Business Systems Integration AG
* Copyright (c) 2010, 2026 BSI Business Systems Integration AG
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
Expand All @@ -8,10 +8,10 @@
* SPDX-License-Identifier: EPL-2.0
*/
import {
AbortKeyStroke, App, aria, AriaLabelledByInsertPosition, arrays, BusyIndicatorOptions, Button, ButtonSystemType, DialogLayout, DisabledStyle, DisplayParent, DisplayViewId, EnumObject, ErrorHandler, Event, EventHandler, FileChooser,
FileChooserController, FocusRule, FormController, FormEventMap, FormGrid, FormInvalidEvent, FormLayout, FormLifecycle, FormModel, FormRevealInvalidFieldEvent, GlassPaneRenderer, GroupBox, HtmlComponent, InitModelOf, KeyStroke,
KeyStrokeContext, MessageBox, MessageBoxController, MessageBoxes, NotificationBadgeStatus, ObjectOrChildModel, objects, Point, PopupWindow, PropertyChangeEvent, Rectangle, scout, Status, StatusOrModel, strings, tooltips, TreeVisitResult,
ValidationResult, webstorage, Widget, WrappedFormField
AbortKeyStroke, App, aria, AriaLabelledByInsertPosition, arrays, BusyIndicatorOptions, Button, ButtonSystemType, ChildModelOf, DialogLayout, DisabledStyle, DisplayParent, DisplayViewId, EnumObject, ErrorHandler, Event, EventHandler,
FileChooser, FileChooserController, FocusRule, FormController, FormEventMap, FormGrid, FormInvalidEvent, FormLayout, FormLifecycle, FormModel, FormRevealInvalidFieldEvent, GlassPaneRenderer, GroupBox, HtmlComponent, InitModelOf,
KeyStroke, KeyStrokeContext, MessageBox, MessageBoxController, MessageBoxes, ModelOf, NotificationBadgeStatus, ObjectOrChildModel, objects, Point, PopupWindow, PropertyChangeEvent, Rectangle, scout, Status, StatusOrModel, strings,
tooltips, TreeVisitResult, ValidationResult, webstorage, Widget, WrappedFormField
} from '../index';
import $ from 'jquery';

Expand Down Expand Up @@ -321,13 +321,40 @@ export class Form extends Widget implements FormModel, DisplayParent {
}

protected _createLifecycle(): FormLifecycle {
return scout.create(FormLifecycle, {
widget: this,
// already created
if (this.lifecycle instanceof FormLifecycle) {
return this.lifecycle;
}

const defaultModel: ModelOf<FormLifecycle> = {
askIfNeedSave: this.askIfNeedSave,
askIfNeedSaveText: this.askIfNeedSaveText,
emptyMandatoryElementsText: this.emptyMandatoryElementsText,
invalidElementsErrorText: this.invalidElementsErrorText,
invalidElementsWarningText: this.invalidElementsWarningText,
askIfNeedSaveText: this.askIfNeedSaveText
invalidElementsWarningText: this.invalidElementsWarningText
};

// object type
if (typeof this.lifecycle === 'string' || typeof this.lifecycle === 'function') {
return scout.create(this.lifecycle, {
...defaultModel,
widget: this
});
}

// child model
if (objects.isPojo(this.lifecycle)) {
return scout.create({
objectType: FormLifecycle,
...defaultModel,
...this.lifecycle as ChildModelOf<FormLifecycle>,
widget: this
}) as FormLifecycle;
}

return scout.create(FormLifecycle, {
...defaultModel,
widget: this
});
}

Expand Down
8 changes: 6 additions & 2 deletions eclipse-scout-core/src/form/FormModel.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*
* Copyright (c) 2010, 2024 BSI Business Systems Integration AG
* Copyright (c) 2010, 2026 BSI Business Systems Integration AG
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*/
import {DisplayHint, DisplayParent, DisplayParentModel, DisplayViewId, Form, FormValidator, GroupBox, ObjectOrChildModel, StatusOrModel, Widget, WidgetModel} from '../index';
import {ChildModelOf, DisplayHint, DisplayParent, DisplayParentModel, DisplayViewId, Form, FormLifecycle, FormValidator, GroupBox, ObjectOrChildModel, ObjectType, StatusOrModel, Widget, WidgetModel} from '../index';

export interface FormModel extends WidgetModel, DisplayParentModel {
/**
Expand Down Expand Up @@ -230,4 +230,8 @@ export interface FormModel extends WidgetModel, DisplayParentModel {
* By default, the list is empty.
*/
validators?: FormValidator[];
/**
* Defines the {@link FormLifecycle} for this form.
*/
lifecycle?: ObjectType<FormLifecycle> | ChildModelOf<FormLifecycle>;
}
17 changes: 1 addition & 16 deletions eclipse-scout-core/src/status/NotificationBadgeStatus.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010, 2024 BSI Business Systems Integration AG
* Copyright (c) 2010, 2026 BSI Business Systems Integration AG
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
Expand All @@ -19,19 +19,4 @@ export class NotificationBadgeStatus extends Status {
override cssClass(): string {
return strings.join(' ', Status.cssClassForSeverity(this.severity), 'notification-badge');
}

/**
* @returns {NotificationBadgeStatus} a clone of this Status instance.
*/
override clone(): Status {
let modelClone = $.extend({}, this);
return new NotificationBadgeStatus(modelClone);
}

override equals(o: any): boolean {
if (!(o instanceof NotificationBadgeStatus)) {
return false;
}
return super.equals(o);
}
}
Loading