Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ApplicationContextBase

表示实现该抽象类的是一个应用程序上下文。

class
version

1.0.0

Hierarchy

  • ApplicationContextBase

Index

Constructors

Protected constructor

Properties

Private _applicationId

_applicationId: string

Private _credential

_credential: ICredential

Private _modules

Private _states

_states: IMap<string, any>

Private _title

_title: string

Private _workbench

_workbench: IWorkbench

Accessors

applicationId

  • get applicationId(): string
  • set applicationId(value: string): void

credential

modules

serviceFactory

states

  • get states(): IMap<string, any>

title

  • get title(): string
  • set title(value: string): void

workbench

  • 获取当前应用程序的工作台(主界面)。 必须使用 Application 类的 start 方法,启动应用程序后才能使用该属性获取到创建成功的工作台对象。

    property

    Returns IWorkbench

    IWorkbench

Methods

Protected Abstract createWorkbench

  • createWorkbench(args: Array<string>): IWorkbench
  • 创建一个主窗体对象。 通常子类中实现的该方法只是创建空的工作台对象,并没有构建出该工作台下面的子构件。 具体构建工作台子构件的最佳时机通常在 Workbench 类的 Open 方法内进行。

    abstract

    Parameters

    • args: Array<string>

    Returns IWorkbench

    IWorkbench

getWorkbench

Generated using TypeDoc