Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

addition of new resources and code cleanup; fixes #302, #301, #304 #305

Merged
merged 1 commit into from
Aug 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 62 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,24 @@
"dark": "resources/imgs/filter-light.svg"
}
},
{
"command": "cics-extension-for-zowe.filterAllTCPIPServices",
"title": "Filter All TCPIP Services",
"category": "Zowe Explorer for IBM CICS",
"icon": {
"light": "resources/imgs/filter-dark.svg",
"dark": "resources/imgs/filter-light.svg"
}
},
{
"command": "cics-extension-for-zowe.filterAllURIMaps",
"title": "Filter All URI Maps",
"category": "Zowe Explorer for IBM CICS",
"icon": {
"light": "resources/imgs/filter-dark.svg",
"dark": "resources/imgs/filter-light.svg"
}
},
{
"command": "cics-extension-for-zowe.filterAllTransactions",
"title": "Filter All Transactions",
Expand Down Expand Up @@ -220,6 +238,16 @@
"title": "Show Attributes",
"category": "Zowe Explorer for IBM CICS"
},
{
"command": "cics-extension-for-zowe.showTCPIPServiceAttributes",
"title": "Show Attributes",
"category": "Zowe Explorer for IBM CICS"
},
{
"command": "cics-extension-for-zowe.showURIMapAttributes",
"title": "Show Attributes",
"category": "Zowe Explorer for IBM CICS"
},
{
"command": "cics-extension-for-zowe.showTransactionAttributes",
"title": "Show Attributes",
Expand Down Expand Up @@ -459,6 +487,16 @@
"command": "cics-extension-for-zowe.filterAllLibraries",
"group": "inline"
},
{
"when": "view == cics-view && viewItem =~ /^cicscombinedtcpipstree.*/",
"command": "cics-extension-for-zowe.filterAllTCPIPServices",
"group": "inline"
},
{
"when": "view == cics-view && viewItem =~ /^cicscombinedurimapstree.*/",
"command": "cics-extension-for-zowe.filterAllURIMaps",
"group": "inline"
},
{
"when": "view == cics-view && viewItem =~ /^cicscombinedtransactiontree.*/",
"command": "cics-extension-for-zowe.filterAllTransactions",
Expand Down Expand Up @@ -494,6 +532,16 @@
"command": "cics-extension-for-zowe.showLibraryDatasetsAttributes",
"group": ""
},
{
"when": "view == cics-view && viewItem =~ /^cicstcpips.*/",
"command": "cics-extension-for-zowe.showTCPIPServiceAttributes",
"group": ""
},
{
"when": "view == cics-view && viewItem =~ /^cicsurimap.*/",
"command": "cics-extension-for-zowe.showURIMapAttributes",
"group": ""
},
{
"when": "view == cics-view && viewItem =~ /^cicstransaction.*/",
"command": "cics-extension-for-zowe.showTransactionAttributes",
Expand Down Expand Up @@ -665,6 +713,20 @@
"description": "Record count increment criteria for 'All Libraries'",
"scope": "window",
"minimum": 1
},
"zowe.cics.allTCPIPS.recordCountIncrement": {
"type": "number",
"default": 500,
"description": "Record count increment criteria for 'All TCPIP Services'",
"scope": "window",
"minimum": 1
},
"zowe.cics.allURIMaps.recordCountIncrement": {
"type": "number",
"default": 500,
"description": "Record count increment criteria for 'All URI Maps'",
"scope": "window",
"minimum": 1
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/commands/closeLocalFileCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import * as https from "https";
import { CICSRegionsContainer } from "../trees/CICSRegionsContainer";
import { CICSLocalFileTreeItem } from "../trees/treeItems/CICSLocalFileTreeItem";
import { findSelectedNodes, splitCmciErrorMessage } from "../utils/commandUtils";
import { CICSCombinedLocalFileTree } from "../trees/CICSCombinedLocalFileTree";
import { CICSCombinedLocalFileTree } from "../trees/CICSCombinedTrees/CICSCombinedLocalFileTree";

export function getCloseLocalFileCommand(tree: CICSTree, treeview: TreeView<any>) {
return commands.registerCommand(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ import {
} from "@zowe/cics-for-zowe-cli";
import { AbstractSession } from "@zowe/imperative";
import { commands, ProgressLocation, TreeView, window } from "vscode";
import { CICSRegionTree } from "../trees/CICSRegionTree";
import { CICSTree } from "../trees/CICSTree";
import { CICSRegionTree } from "../../trees/CICSRegionTree";
import { CICSTree } from "../../trees/CICSTree";
import * as https from "https";
import { CICSRegionsContainer } from "../trees/CICSRegionsContainer";
import { findSelectedNodes } from "../utils/commandUtils";
import { CICSLocalFileTreeItem } from "../trees/treeItems/CICSLocalFileTreeItem";
import { CICSCombinedLocalFileTree } from "../trees/CICSCombinedLocalFileTree";
import { CICSRegionsContainer } from "../../trees/CICSRegionsContainer";
import { findSelectedNodes } from "../../utils/commandUtils";
import { CICSLocalFileTreeItem } from "../../trees/treeItems/CICSLocalFileTreeItem";
import { CICSCombinedLocalFileTree } from "../../trees/CICSCombinedTrees/CICSCombinedLocalFileTree";

export function getDisableLocalFileCommand(tree: CICSTree, treeview: TreeView<any>) {
return commands.registerCommand(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ import {
} from "@zowe/cics-for-zowe-cli";
import { AbstractSession } from "@zowe/imperative";
import { commands, ProgressLocation, TreeView, window } from "vscode";
import { CICSRegionTree } from "../trees/CICSRegionTree";
import { CICSTree } from "../trees/CICSTree";
import { CICSRegionTree } from "../../trees/CICSRegionTree";
import { CICSTree } from "../../trees/CICSTree";
import * as https from "https";
import { CICSRegionsContainer } from "../trees/CICSRegionsContainer";
import { findSelectedNodes } from "../utils/commandUtils";
import { CICSProgramTreeItem } from "../trees/treeItems/CICSProgramTreeItem";
import { CICSCombinedProgramTree } from "../trees/CICSCombinedProgramTree";
import { CICSRegionsContainer } from "../../trees/CICSRegionsContainer";
import { findSelectedNodes } from "../../utils/commandUtils";
import { CICSProgramTreeItem } from "../../trees/treeItems/CICSProgramTreeItem";
import { CICSCombinedProgramTree } from "../../trees/CICSCombinedTrees/CICSCombinedProgramTree";

/**
* Performs disable on selected CICSProgram nodes.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ import {
} from "@zowe/cics-for-zowe-cli";
import { AbstractSession } from "@zowe/imperative";
import { commands, ProgressLocation, TreeView, window } from "vscode";
import { CICSRegionTree } from "../trees/CICSRegionTree";
import { CICSTree } from "../trees/CICSTree";
import { CICSRegionTree } from "../../trees/CICSRegionTree";
import { CICSTree } from "../../trees/CICSTree";
import * as https from "https";
import { CICSRegionsContainer } from "../trees/CICSRegionsContainer";
import { findSelectedNodes, splitCmciErrorMessage } from "../utils/commandUtils";
import { CICSTransactionTreeItem } from "../trees/treeItems/CICSTransactionTreeItem";
import { CICSCombinedTransactionsTree } from "../trees/CICSCombinedTransactionTree";
import { CICSRegionsContainer } from "../../trees/CICSRegionsContainer";
import { findSelectedNodes, splitCmciErrorMessage } from "../../utils/commandUtils";
import { CICSTransactionTreeItem } from "../../trees/treeItems/CICSTransactionTreeItem";
import { CICSCombinedTransactionsTree } from "../../trees/CICSCombinedTrees/CICSCombinedTransactionTree";

export function getDisableTransactionCommand(tree: CICSTree, treeview: TreeView<any>) {
return commands.registerCommand(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ import {
} from "@zowe/cics-for-zowe-cli";
import { AbstractSession } from "@zowe/imperative";
import { commands, ProgressLocation, TreeView, window } from "vscode";
import { CICSRegionTree } from "../trees/CICSRegionTree";
import { CICSTree } from "../trees/CICSTree";
import { CICSRegionTree } from "../../trees/CICSRegionTree";
import { CICSTree } from "../../trees/CICSTree";
import * as https from "https";
import { CICSRegionsContainer } from "../trees/CICSRegionsContainer";
import { CICSLocalFileTreeItem } from "../trees/treeItems/CICSLocalFileTreeItem";
import { findSelectedNodes } from "../utils/commandUtils";
import { CICSCombinedLocalFileTree } from "../trees/CICSCombinedLocalFileTree";
import { CICSRegionsContainer } from "../../trees/CICSRegionsContainer";
import { CICSLocalFileTreeItem } from "../../trees/treeItems/CICSLocalFileTreeItem";
import { findSelectedNodes } from "../../utils/commandUtils";
import { CICSCombinedLocalFileTree } from "../../trees/CICSCombinedTrees/CICSCombinedLocalFileTree";

export function getEnableLocalFileCommand(tree: CICSTree, treeview: TreeView<any>) {
return commands.registerCommand(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ import {
} from "@zowe/cics-for-zowe-cli";
import { AbstractSession } from "@zowe/imperative";
import { commands, ProgressLocation, TreeView, window } from "vscode";
import { CICSRegionTree } from "../trees/CICSRegionTree";
import { CICSTree } from "../trees/CICSTree";
import { CICSRegionTree } from "../../trees/CICSRegionTree";
import { CICSTree } from "../../trees/CICSTree";
import * as https from "https";
import { CICSRegionsContainer } from "../trees/CICSRegionsContainer";
import { CICSProgramTreeItem } from "../trees/treeItems/CICSProgramTreeItem";
import { findSelectedNodes } from "../utils/commandUtils";
import { CICSCombinedProgramTree } from "../trees/CICSCombinedProgramTree";
import { CICSRegionsContainer } from "../../trees/CICSRegionsContainer";
import { CICSProgramTreeItem } from "../../trees/treeItems/CICSProgramTreeItem";
import { findSelectedNodes } from "../../utils/commandUtils";
import { CICSCombinedProgramTree } from "../../trees/CICSCombinedTrees/CICSCombinedProgramTree";

/**
* Performs enable on selected CICSProgram nodes.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ import {
} from "@zowe/cics-for-zowe-cli";
import { AbstractSession } from "@zowe/imperative";
import { commands, ProgressLocation, TreeView, window } from "vscode";
import { CICSRegionTree } from "../trees/CICSRegionTree";
import { CICSTree } from "../trees/CICSTree";
import { CICSRegionTree } from "../../trees/CICSRegionTree";
import { CICSTree } from "../../trees/CICSTree";
import * as https from "https";
import { CICSRegionsContainer } from "../trees/CICSRegionsContainer";
import { findSelectedNodes } from "../utils/commandUtils";
import { CICSTransactionTreeItem } from "../trees/treeItems/CICSTransactionTreeItem";
import { CICSCombinedTransactionsTree } from "../trees/CICSCombinedTransactionTree";
import { CICSRegionsContainer } from "../../trees/CICSRegionsContainer";
import { findSelectedNodes } from "../../utils/commandUtils";
import { CICSTransactionTreeItem } from "../../trees/treeItems/CICSTransactionTreeItem";
import { CICSCombinedTransactionsTree } from "../../trees/CICSCombinedTrees/CICSCombinedTransactionTree";

export function getEnableTransactionCommand(tree: CICSTree, treeview: TreeView<any>) {
return commands.registerCommand(
Expand Down
43 changes: 0 additions & 43 deletions src/commands/filterAllLibrariesCommand.ts

This file was deleted.

43 changes: 0 additions & 43 deletions src/commands/filterAllProgramsCommand.ts

This file was deleted.

Loading