From cfbcfebe44dc0cc91215775719f9ba343ac76b5c Mon Sep 17 00:00:00 2001 From: Kenneth Marut Date: Wed, 23 Feb 2022 10:28:37 -0600 Subject: [PATCH] README --- packages/toolbar/README.md | 32 +++++++++++++++++++ .../browser/abstract-toolbar-contribution.tsx | 2 -- 2 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 packages/toolbar/README.md diff --git a/packages/toolbar/README.md b/packages/toolbar/README.md new file mode 100644 index 0000000000000..48e63d078e73b --- /dev/null +++ b/packages/toolbar/README.md @@ -0,0 +1,32 @@ +
+ +
+ +theia-ext-logo + +

ECLIPSE THEIA - TOOLBAR EXTENSION

+ +
+ +
+ +## Description + +The `@theia/toolbar` extension contributes a global toolbar to the application shell. The toolbar supplements the `Command Palette` and allows users to easily add, remove, and rearrange toolbar items to their liking. The toolbar is hidden by default and ships with a default layout which can be overridden by downstream applications. Extenders can also contribute custom widgets to the toolbar through a contribution point. + +## Additional Information + +An example toolbar custom widget and layout override can be found in [here](https://github.com/eclipse-theia/theia/tree/master/examples/api-samples/src/browser/toolbar-contribution-example). + +- [API documentation for `@theia/toolbar`](https://eclipse-theia.github.io/theia/docs/next/modules/toolbar.html) +- [Theia - GitHub](https://github.com/eclipse-theia/theia) +- [Theia - Website](https://theia-ide.org/) + +## License + +- [Eclipse Public License 2.0](http://www.eclipse.org/legal/epl-2.0/) +- [δΈ€ (Secondary) GNU General Public License, version 2 with the GNU Classpath Exception](https://projects.eclipse.org/license/secondary-gpl-2.0-cp) + +## Trademark +"Theia" is a trademark of the Eclipse Foundation +https://www.eclipse.org/theia diff --git a/packages/toolbar/src/browser/abstract-toolbar-contribution.tsx b/packages/toolbar/src/browser/abstract-toolbar-contribution.tsx index 56e57d6cf478c..e50c6b7dc2957 100644 --- a/packages/toolbar/src/browser/abstract-toolbar-contribution.tsx +++ b/packages/toolbar/src/browser/abstract-toolbar-contribution.tsx @@ -20,8 +20,6 @@ import { injectable, inject } from '@theia/core/shared/inversify'; import { ContextMenuRenderer, KeybindingRegistry } from '@theia/core/lib/browser'; import { DeflatedContributedToolbarItem, ToolbarContribution } from './toolbar-interfaces'; -// Toolbar Contribution should extend this class and bind to ToolbarContribution. -// The ToolbarDefaultsFactory should be overridden to include new contributions @injectable() export abstract class AbstractToolbarContribution implements ToolbarContribution { @inject(KeybindingRegistry) protected readonly keybindingRegistry: KeybindingRegistry;