It's a abstract controller class provides an easy way for sub-controller classes to take control the contextmenu-item's visibility and usability before contextmenu shown.
More...
|
| usable (annot) |
| A method for subclasses to override to take control the component usability, this method is called before parent component shown. More...
|
|
| visibility (annot) |
| A method for subclasses to override to take control the component visibility, this method is called before parent component shown. More...
|
|
It's a abstract controller class provides an easy way for sub-controller classes to take control the contextmenu-item's visibility and usability before contextmenu shown.
◆ usable()
AnnotOperationController::usable |
( |
|
annot | ) |
|
|
inlineprotected |
A method for subclasses to override to take control the component usability, this method is called before parent component shown.
- Parameters
-
- Returns
- Promise<boolean> | boolean
◆ visibility()
AnnotOperationController::visibility |
( |
|
annot | ) |
|
|
inlineprotected |
A method for subclasses to override to take control the component visibility, this method is called before parent component shown.
- Parameters
-