|
|
|
@ -1,8 +1,14 @@ |
|
|
|
|
import { EditorContextListener } from '@remix-project/core-plugin' |
|
|
|
|
import { Plugin } from '@remixproject/engine' |
|
|
|
|
import { Profile } from '@remixproject/plugin-utils' |
|
|
|
|
import { MainPanel } from '../components/main-panel' |
|
|
|
|
const EventManager = require('../../lib/events') |
|
|
|
|
export class MainView { |
|
|
|
|
|
|
|
|
|
const profile:Profile = { |
|
|
|
|
name: 'mainview', |
|
|
|
|
description: 'main panel' |
|
|
|
|
} |
|
|
|
|
export class MainViewReact extends Plugin { |
|
|
|
|
fileManager: Plugin |
|
|
|
|
event: any |
|
|
|
|
tabProxy: Plugin |
|
|
|
@ -12,6 +18,7 @@ export class MainView { |
|
|
|
|
appManager: Plugin |
|
|
|
|
contextualListener: EditorContextListener |
|
|
|
|
constructor (contextualListener, editor, mainPanel, fileManager, appManager, terminal) { |
|
|
|
|
super(profile) |
|
|
|
|
this.fileManager = fileManager |
|
|
|
|
this.event = new EventManager() |
|
|
|
|
this.editor = editor |