123456789101112131415161718192021222324252627282930 |
- /*
- * BCFTool.js
- *
- * @author realor
- */
- import { Tool } from './Tool.js'
- import { BCFPanel } from '../ui/BCFPanel.js'
- import { I18N } from '../i18n/I18N.js'
- class BCFTool extends Tool {
- constructor(application, options) {
- super(application)
- this.name = 'bcf'
- this.label = 'bim|tool.bcf.label'
- this.help = 'bim|tool.bcf.help'
- this.className = 'bcf'
- this.immediate = true
- this.setOptions(options)
- this.panel = new BCFPanel(this.application)
- application.panelManager.addPanel(this.panel)
- }
- execute() {
- this.panel.visible = true
- }
- }
- export { BCFTool }
|