mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix indents
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
This commit is contained in:
parent
184612e5a6
commit
7cb12190fe
@ -232,20 +232,20 @@ export abstract class CatalogEntity<
|
||||
}
|
||||
|
||||
/**
|
||||
* Trigger when user click on the icon in details panel
|
||||
*
|
||||
* @remarks
|
||||
* Priority < this.onClickDetailIcon, if this.onClickDetailIcon presents, onRun won't be called.
|
||||
*/
|
||||
* Trigger when user click on the icon in details panel
|
||||
*
|
||||
* @remarks
|
||||
* Priority < this.onClickDetailIcon, if this.onClickDetailIcon presents, onRun won't be called.
|
||||
*/
|
||||
public abstract onRun?(context: CatalogEntityActionContext): void | Promise<void>;
|
||||
public abstract onContextMenuOpen(context: CatalogEntityContextMenuContext): void | Promise<void>;
|
||||
|
||||
/**
|
||||
* Trigger when user click on the icon in details panel
|
||||
*
|
||||
* @remarks
|
||||
* Priority > this.onRun, if presents, onRun won't be called.
|
||||
*/
|
||||
/**
|
||||
* Trigger when user click on the icon in details panel
|
||||
*
|
||||
* @remarks
|
||||
* Priority > this.onRun, if presents, onRun won't be called.
|
||||
*/
|
||||
public abstract onClickDetailIcon?(context: CatalogEntityActionContext): void;
|
||||
public abstract onSettingsOpen(context: CatalogEntitySettingsContext): void | Promise<void>;
|
||||
}
|
||||
|
||||
@ -103,11 +103,11 @@ export class CatalogEntityItem<T extends CatalogEntity> implements ItemObject {
|
||||
}
|
||||
|
||||
/**
|
||||
* Trigger when user click on the icon in details panel
|
||||
*
|
||||
* @remarks
|
||||
* Priority < this.onClickDetailIcon, if this.onClickDetailIcon presents, onRun won't be called.
|
||||
*/
|
||||
* Trigger when user click on the icon in details panel
|
||||
*
|
||||
* @remarks
|
||||
* Priority < this.onClickDetailIcon, if this.onClickDetailIcon presents, onRun won't be called.
|
||||
*/
|
||||
onRun(ctx: CatalogEntityActionContext) {
|
||||
this.entity.onRun(ctx);
|
||||
}
|
||||
@ -118,11 +118,11 @@ export class CatalogEntityItem<T extends CatalogEntity> implements ItemObject {
|
||||
}
|
||||
|
||||
/**
|
||||
* Trigger when user click on the icon in details panel
|
||||
*
|
||||
* @remarks
|
||||
* Priority > this.onRun, if presents, onRun won't be called.
|
||||
*/
|
||||
* Trigger when user click on the icon in details panel
|
||||
*
|
||||
* @remarks
|
||||
* Priority > this.onRun, if presents, onRun won't be called.
|
||||
*/
|
||||
onClickDetailIcon(ctx: CatalogEntityActionContext) {
|
||||
this.entity.onClickDetailIcon?.(ctx);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user