Skip to content

Commit

Permalink
eula update + cfgTree.focus
Browse files Browse the repository at this point in the history
  • Loading branch information
DumpySquare committed Mar 13, 2021
1 parent 6b26c66 commit fb000c9
Show file tree
Hide file tree
Showing 12 changed files with 30 additions and 19 deletions.
17 changes: 9 additions & 8 deletions src/cfgExploreCore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* license terms. Notwithstanding anything to the contrary in the EULA, Licensee
* may copy and modify this software product for its internal business purposes.
* Further, Licensee may upload, publish and distribute the modified version of
* the software product on devcentral.f5.com.
* the software product on devcentral.f5.com or github.com/f5devcentral.
*/

'use strict';
Expand Down Expand Up @@ -152,13 +152,14 @@ export function cfgExplore(context: ExtensionContext) {

context.subscriptions.push(commands.registerCommand('f5.cfgExploreReveal', async (text) => {
// await new Promise(resolve => { setTimeout(resolve, 2000); });
if (cfgProvider.viewElement) {
cfgView.reveal(cfgProvider.viewElement, {
select: true,
focus: true,
expand: true
});
}
commands.executeCommand('cfgTree.focus');
// if (cfgProvider.viewElement) {
// cfgView.reveal(cfgProvider.viewElement, {
// select: true,
// focus: true,
// expand: true
// });
// }
}));


Expand Down
2 changes: 1 addition & 1 deletion src/changeVersion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* license terms. Notwithstanding anything to the contrary in the EULA, Licensee
* may copy and modify this software product for its internal business purposes.
* Further, Licensee may upload, publish and distribute the modified version of
* the software product on devcentral.f5.com.
* the software product on devcentral.f5.com or github.com/f5devcentral.
*/

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion src/devicesCore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* license terms. Notwithstanding anything to the contrary in the EULA, Licensee
* may copy and modify this software product for its internal business purposes.
* Further, Licensee may upload, publish and distribute the modified version of
* the software product on devcentral.f5.com.
* the software product on devcentral.f5.com or github.com/f5devcentral.
*/

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion src/fastCore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* license terms. Notwithstanding anything to the contrary in the EULA, Licensee
* may copy and modify this software product for its internal business purposes.
* Further, Licensee may upload, publish and distribute the modified version of
* the software product on devcentral.f5.com.
* the software product on devcentral.f5.com or github.com/f5devcentral.
*/

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion src/hovers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* license terms. Notwithstanding anything to the contrary in the EULA, Licensee
* may copy and modify this software product for its internal business purposes.
* Further, Licensee may upload, publish and distribute the modified version of
* the software product on devcentral.f5.com.
* the software product on devcentral.f5.com or github.com/f5devcentral.
*/

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion src/rpmCore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* license terms. Notwithstanding anything to the contrary in the EULA, Licensee
* may copy and modify this software product for its internal business purposes.
* Further, Licensee may upload, publish and distribute the modified version of
* the software product on devcentral.f5.com.
* the software product on devcentral.f5.com or github.com/f5devcentral.
*/

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion src/tclCore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* license terms. Notwithstanding anything to the contrary in the EULA, Licensee
* may copy and modify this software product for its internal business purposes.
* Further, Licensee may upload, publish and distribute the modified version of
* the software product on devcentral.f5.com.
* the software product on devcentral.f5.com or github.com/f5devcentral.
*/

'use strict';
Expand Down
10 changes: 10 additions & 0 deletions src/treeViewsProviders/as3TreeProvider.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* Copyright 2020. F5 Networks, Inc. See End User License Agreement ("EULA") for
* license terms. Notwithstanding anything to the contrary in the EULA, Licensee
* may copy and modify this software product for its internal business purposes.
* Further, Licensee may upload, publish and distribute the modified version of
* the software product on devcentral.f5.com or github.com/f5devcentral.
*/

'use strict';

import {
Command,
Event,
Expand Down
4 changes: 2 additions & 2 deletions src/treeViewsProviders/cfgTreeProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* license terms. Notwithstanding anything to the contrary in the EULA, Licensee
* may copy and modify this software product for its internal business purposes.
* Further, Licensee may upload, publish and distribute the modified version of
* the software product on devcentral.f5.com.
* the software product on devcentral.f5.com or github.com/f5devcentral.
*/

'use strict';
Expand Down Expand Up @@ -298,7 +298,7 @@ export class CfgProvider implements TreeDataProvider<CfgApp> {
/**
* sort tree items by label
*/
export function sortTreeItems(treeItems: CfgApp[]) {
function sortTreeItems(treeItems: CfgApp[]) {
return treeItems.sort((a, b) => {
const x = a.label.toLowerCase();
const y = b.label.toLowerCase();
Expand Down
2 changes: 1 addition & 1 deletion src/treeViewsProviders/hostsTreeProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* license terms. Notwithstanding anything to the contrary in the EULA, Licensee
* may copy and modify this software product for its internal business purposes.
* Further, Licensee may upload, publish and distribute the modified version of
* the software product on devcentral.f5.com.
* the software product on devcentral.f5.com or github.com/f5devcentral.
*/

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion src/utils/coreF5HTTPS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* license terms. Notwithstanding anything to the contrary in the EULA, Licensee
* may copy and modify this software product for its internal business purposes.
* Further, Licensee may upload, publish and distribute the modified version of
* the software product on devcentral.f5.com.
* the software product on devcentral.f5.com or github.com/f5devcentral.
*/

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion src/x509.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* license terms. Notwithstanding anything to the contrary in the EULA, Licensee
* may copy and modify this software product for its internal business purposes.
* Further, Licensee may upload, publish and distribute the modified version of
* the software product on devcentral.f5.com.
* the software product on devcentral.f5.com or github.com/f5devcentral.
*/

'use strict';
Expand Down

0 comments on commit fb000c9

Please sign in to comment.