mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
25 lines
1.0 KiB
TypeScript
25 lines
1.0 KiB
TypeScript
import Plugin from '../Plugin';
|
|
import JoplinViewsDialogs from './JoplinViewsDialogs';
|
|
import JoplinViewsMenuItems from './JoplinViewsMenuItems';
|
|
import JoplinViewsToolbarButtons from './JoplinViewsToolbarButtons';
|
|
import JoplinViewsPanels from './JoplinViewsPanels';
|
|
/**
|
|
* This namespace provides access to view-related services.
|
|
*
|
|
* All view services provide a `create()` method which you would use to create the view object, whether it's a dialog, a toolbar button or a menu item.
|
|
* In some cases, the `create()` method will return a [[ViewHandle]], which you would use to act on the view, for example to set certain properties or call some methods.
|
|
*/
|
|
export default class JoplinViews {
|
|
private store;
|
|
private plugin;
|
|
private dialogs_;
|
|
private panels_;
|
|
private menuItems_;
|
|
private toolbarButtons_;
|
|
constructor(plugin: Plugin, store: any);
|
|
get dialogs(): JoplinViewsDialogs;
|
|
get panels(): JoplinViewsPanels;
|
|
get menuItems(): JoplinViewsMenuItems;
|
|
get toolbarButtons(): JoplinViewsToolbarButtons;
|
|
}
|