UNPKG

@eclipse-scout/core

Version:
59 lines 2.31 kB
import { Desktop, Page } from '../index'; export interface BookmarkDoBuilderModel { desktop: Desktop; page?: Page; /** * Specifies whether the bookmark should include information about the path in an outline, e.g. to open it at its original location. * If this is not set, the bookmark creator only returns a {@link PageBookmarkDefinitionDo}. Otherwise, it tries to create a * {@link OutlineBookmarkDefinitionDo}. * * The default value is `true`. * * @see fallbackAllowed */ createOutline?: boolean; /** * Specifies whether the bookmark should only include data that can safely be persisted to a database. When not set, the resulting * bookmark should only be used in-memory. * * The default value is `true`. */ persistableRequired?: boolean; /** * Specifies whether the bookmark creator may return a {@link PageBookmarkDefinitionDo} when a {@link OutlineBookmarkDefinitionDo} * could not be created. If not, an error is thrown instead. This flag only has an effect if {@link createOutline} is `true`. * * The default value is `true`. * * @see createOutline */ fallbackAllowed?: boolean; /** * Specifies whether the returned bookmark should include a human-readable title. * * The default value is `true`. */ createTitle?: boolean; /** * Specifies whether the returned bookmark should include a human-readable description. * * The default value is `true`. */ createDescription?: boolean; /** * Specifies whether the returned bookmark should include information about table preferences. This is typically needed if * the bookmark is stored in the database and has to be restored later. It is not needed for refreshes because that * information is coming from client preferences. * * The default value is `true`. */ createTablePreferences?: boolean; /** * Specifies whether the returned bookmark should include information about selected rows. This is typically only needed * if using bookmarks for refreshing the outline. * * The default value is `true`. */ createTableRowSelections?: boolean; } //# sourceMappingURL=BookmarkDoBuilderModel.d.ts.map