UNPKG

@nakedobjects/cicero

Version:

Single Page Application client for a Naked Objects application.

23 lines (22 loc) 1.23 kB
import { Location } from '@angular/common'; import { CommandResult } from './command-result'; import { Command } from './command'; import { CiceroCommandFactoryService } from '../cicero-command-factory.service'; import { CiceroContextService } from '../cicero-context.service'; import { CiceroRendererService } from '../cicero-renderer.service'; import { UrlManagerService, ContextService, MaskService, ErrorService, ConfigService } from '@nakedobjects/services'; export declare class Action extends Command { constructor(urlManager: UrlManagerService, location: Location, commandFactory: CiceroCommandFactoryService, context: ContextService, mask: MaskService, error: ErrorService, configService: ConfigService, ciceroContext: CiceroContextService, ciceroRenderer: CiceroRendererService); shortCommand: string; fullCommand: string; helpText: string; protected minArguments: number; protected maxArguments: number; isAvailableInCurrentContext(): boolean; doExecute(args: string | null, _chained: boolean, _result: CommandResult): Promise<CommandResult>; private processActions; private disabledAction; private listActions; private openActionDialog; private renderActionDetails; }