mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-15 13:19:28 +00:00
24 lines
696 B
TypeScript
24 lines
696 B
TypeScript
import { AbstractDialog } from '@theia/core/lib/browser';
|
|
|
|
export class InstallationProgressDialog extends AbstractDialog<undefined> {
|
|
|
|
readonly value = undefined;
|
|
|
|
constructor(componentName: string, version: string) {
|
|
super({ title: 'Installation in progress' });
|
|
this.contentNode.textContent = `Installing ${componentName} [${version}]. Please wait...`;
|
|
}
|
|
|
|
}
|
|
|
|
export class UninstallationProgressDialog extends AbstractDialog<undefined> {
|
|
|
|
readonly value = undefined;
|
|
|
|
constructor(componentName: string) {
|
|
super({ title: 'Uninstallation in progress' });
|
|
this.contentNode.textContent = `Uninstalling ${componentName}. Please wait...`;
|
|
}
|
|
|
|
}
|