| <template> |
| <PluginComponent v-model="open" :infoPayload="infoPayload" @onUserArgChanged="onUserArgChanged" |
| @onMolCountsChanged="onMolCountsChanged"></PluginComponent> |
| </template> |
|
|
| <script lang="ts"> |
| import PluginComponent from "@/Plugins/Parents/PluginComponent/PluginComponent.vue"; |
| import { PluginParentClass } from "@/Plugins/Parents/PluginParentClass/PluginParentClass"; |
| import { |
| IContributorCredit, |
| ISoftwareCredit, |
| } from "@/Plugins/PluginInterfaces"; |
| import { ITest } from "@/Testing/TestInterfaces"; |
| import { UserArg } from "@/UI/Forms/FormFull/FormFullInterfaces"; |
| import { Options } from "vue-class-component"; |
| import { switchToGoldenLayoutPanel } from "./Common"; |
| import { Tag } from "@/Plugins/Core/ActivityFocus/ActivityFocusUtils"; |
| |
| |
| |
| |
| @Options({ |
| components: { |
| PluginComponent, |
| }, |
| }) |
| export default class JobsWindowPlugin extends PluginParentClass { |
| menuPath = ["[8] Window", "Records", "Jobs"]; |
| title = "Jobs Panel"; |
| softwareCredits: ISoftwareCredit[] = []; |
| contributorCredits: IContributorCredit[] = [ |
| |
| |
| |
| |
| ]; |
| pluginId = "jobswindow"; |
| noPopup = true; |
| userArgDefaults: UserArg[] = []; |
| |
| logJob = false; |
| intro = `Switch to the Jobs panel.`; |
| details = "This plugin brings the Jobs panel into focus, allowing you to monitor the progress of background tasks."; |
| tags = [Tag.All]; |
| |
| |
| |
| |
| |
| |
| runJobInBrowser(): Promise<void> { |
| switchToGoldenLayoutPanel("Jobs"); |
| return Promise.resolve(); |
| } |
| |
| |
| |
| |
| |
| |
| |
| |
| async getTests(): Promise<ITest[]> { |
| |
| |
| return []; |
| |
| |
| |
| } |
| } |
| </script> |
|
|
| <style scoped lang="scss"></style> |
|
|