update: search-model-by-path 改为 open-model-by-path

This commit is contained in:
千反田丷 2021-12-09 17:14:12 +08:00
parent 10f23839ef
commit 2e08869cc2
6 changed files with 11 additions and 11 deletions

View File

@ -96,8 +96,8 @@
}
},
{
"command": "ibiz-modeling-studio.mos-fs.search-model-by-path",
"title": "%command.ibiz-modeling-studio.mos-fs.search-model-by-path%",
"command": "ibiz-modeling-studio.mos-fs.open-model-by-path",
"title": "%command.ibiz-modeling-studio.mos-fs.open-model-by-path%",
"category": "%command.ibiz-modeling-studio.category%",
"icon": {
"light": "resources/icon/light/link.svg",
@ -136,7 +136,7 @@
"group": "navigation@10"
},
{
"command": "ibiz-modeling-studio.mos-fs.search-model-by-path",
"command": "ibiz-modeling-studio.mos-fs.open-model-by-path",
"when": "view == iBizExplorer.ModelExpTree",
"group": "navigation@20"
},

View File

@ -10,7 +10,7 @@
"command.ibiz-modeling-studio.mos-fs.copy-path": "Copy Path",
"command.ibiz-modeling-studio.mos-fs.open-file": "Open Model",
"command.ibiz-modeling-studio.mos-fs.open-runtime": "Open Model Runtime",
"command.ibiz-modeling-studio.mos-fs.search-model-by-path": "Search Model By Path",
"command.ibiz-modeling-studio.mos-fs.open-model-by-path": "Open Model By Path",
"command.ibiz-modeling-studio.mos-fs.search-entity": "Search Entity",
"command.ibiz-modeling-studio.mos-fs.search-entity-view": "Search Entity View",
"properties.ibiz-modeling-studio.ibiz-modeling-studio-domain": "Modeling Studio Domain",

View File

@ -10,7 +10,7 @@
"command.ibiz-modeling-studio.mos-fs.copy-path": "复制路径",
"command.ibiz-modeling-studio.mos-fs.open-file": "打开模型",
"command.ibiz-modeling-studio.mos-fs.open-runtime": "打开运行时",
"command.ibiz-modeling-studio.mos-fs.search-model-by-path": "根据路径查找模型",
"command.ibiz-modeling-studio.mos-fs.open-model-by-path": "根据路径查找模型",
"command.ibiz-modeling-studio.mos-fs.search-entity": "查找实体",
"command.ibiz-modeling-studio.mos-fs.search-entity-view": "查找实体视图",
"properties.ibiz-modeling-studio.ibiz-modeling-studio-domain": "建模工场域",

View File

@ -5,7 +5,7 @@ import { OpenFileCommand } from './mos-fs/open-file';
import { OpenRuntimeCommand } from './mos-fs/open-runtime';
import { SearchEntityCommand } from './mos-fs/search-entity';
import { SearchEntityViewCommand } from './mos-fs/search-entity-view';
import { SearchModelCommand } from './mos-fs/search-model';
import { OpenModelByPathCommand } from './mos-fs/search-model';
import { SystemInfoTerminalShowCommand } from './system-info-terminal/show';
import { SystemPublishCommand } from './system/publish';
import { TemplatePublishCommand } from './template/publish';
@ -27,7 +27,7 @@ export function installCommands(_context: ExtensionContext): void {
new CopyPathCommand();
new OpenFileCommand();
new OpenRuntimeCommand();
new SearchModelCommand();
new OpenModelByPathCommand();
new SearchEntityCommand();
new SearchEntityViewCommand();
}

View File

@ -7,11 +7,11 @@ import { CommandConst, GlobalConst } from '../../constants';
* @author chitanda
* @date 2021-12-05 18:12:44
* @export
* @class SearchModelCommand
* @class OpenModelByPathCommand
*/
export class SearchModelCommand {
export class OpenModelByPathCommand {
constructor() {
commands.registerCommand(CommandConst.MOS_FS.SEARCH_MODEL_BY_PATH, this.execute.bind(this));
commands.registerCommand(CommandConst.MOS_FS.OPEN_MODEL_BY_PATH, this.execute.bind(this));
}
protected async execute(basePath?: string): Promise<void> {

View File

@ -36,7 +36,7 @@ export class MosFSConst {
* @author chitanda
* @date 2021-12-05 18:12:31
*/
readonly SEARCH_MODEL_BY_PATH = 'ibiz-modeling-studio.mos-fs.search-model-by-path';
readonly OPEN_MODEL_BY_PATH = 'ibiz-modeling-studio.mos-fs.open-model-by-path';
/**
*
*