@eclipse-scout/core
Version:
Eclipse Scout runtime
41 lines • 2.03 kB
TypeScript
import { Desktop, DesktopCancelFormsEvent, DesktopFormActivateEvent, DesktopHistoryState, Event, Form, ModelAdapter, RemoteEvent, Widget } from '../index';
export declare class DesktopAdapter extends ModelAdapter {
widget: Desktop;
constructor();
protected _goOffline(): void;
protected _goOnline(): void;
protected _onWidgetHistoryEntryActivate(event: Event & DesktopHistoryState): void;
protected _onWidgetRender(event: Event<Desktop>): void;
protected _onWidgetFormActivate(event: DesktopFormActivateEvent): void;
protected _sendFormActivate(form: Form): void;
protected _prepareRemoteProperty(propertyName: string, value: any): any;
protected _sendFocusedElement(focusedElement: Widget): void;
protected _logoAction(event: Event): void;
protected _onWidgetEvent(event: Event<Desktop>): void;
protected _onFormShow(event: RemoteEvent): void;
protected _onFormHide(event: RemoteEvent): void;
protected _onFormActivate(event: RemoteEvent): void;
protected _onWidgetCancelAllForms(event: DesktopCancelFormsEvent): void;
protected _onMessageBoxShow(event: RemoteEvent): void;
protected _onMessageBoxHide(event: RemoteEvent): void;
protected _onFileChooserShow(event: RemoteEvent): void;
protected _onFileChooserHide(event: RemoteEvent): void;
protected _onOpenUri(event: RemoteEvent): void;
protected _onOutlineChanged(event: RemoteEvent): void;
protected _onAddNotification(event: RemoteEvent): void;
protected _onRemoveNotification(event: RemoteEvent): void;
protected _onOutlineContentActivate(event: RemoteEvent): void;
onModelAction(event: RemoteEvent): void;
/**
* Static method to modify the prototype of Desktop.
*/
static modifyDesktopPrototype(): void;
static _initTheme(this: Desktop & {
_initThemeOrig: any;
_activeTheme: any;
}): void;
}
export interface FormWithModelAdapterId extends Form {
__modelAdapterId?: string;
}
//# sourceMappingURL=DesktopAdapter.d.ts.map