summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/app.ts
diff options
context:
space:
mode:
authorIdan Amit <ia096e@intl.att.com>2018-01-31 13:27:33 +0200
committerMichael Lando <ml636r@att.com>2018-01-31 14:35:13 +0000
commiteedaaf983d731d0179916b3f3a8e4d3a0d80981b (patch)
tree066eb388f47ac15ef35c98aa74618b751da47ae6 /catalog-ui/src/app/app.ts
parent3b09e29e1e1cab9baf3b1380718a3c45126930bd (diff)
Change designer to plugin in code
Changed all the use of the designer configuration in the code to be plugin Change-Id: Id9792cbd4fb9385446780c28fb7fb5418772acf6 Issue-ID: SDC-974 Signed-off-by: Idan Amit <ia096e@intl.att.com>
Diffstat (limited to 'catalog-ui/src/app/app.ts')
-rw-r--r--catalog-ui/src/app/app.ts20
1 files changed, 10 insertions, 10 deletions
diff --git a/catalog-ui/src/app/app.ts b/catalog-ui/src/app/app.ts
index 8de2db97ff..d67f158ded 100644
--- a/catalog-ui/src/app/app.ts
+++ b/catalog-ui/src/app/app.ts
@@ -58,7 +58,7 @@ import {ComponentMetadata} from "./models/component-metadata";
import {Categories} from "./models/categories";
import {IUserProperties} from "./models/user";
import {SearchWithAutoCompleteComponent} from "./ng2/components/ui/search-with-autocomplete/search-with-autocomplete.component";
-import {DesignerFrameComponent} from "./ng2/components/ui/designer/designer-frame.component";
+import {PluginFrameComponent} from "./ng2/components/ui/plugin/plugin-frame.component";
let moduleName:string = 'sdcApp';
@@ -153,7 +153,7 @@ angular.module('sdcApp').directive('ng2SearchWithAutocomplete',
inputs: ['searchPlaceholder', 'searchBarClass', 'autoCompleteValues'],
outputs: ['searchChanged', 'searchButtonClicked']
}) as angular.IDirectiveFactory);
-angular.module('sdcApp').directive('designerFrame', downgradeComponent( {component: DesignerFrameComponent, inputs: ['designer', 'queryParams']} ) as angular.IDirectiveFactory);
+angular.module('sdcApp').directive('pluginFrame', downgradeComponent( {component: PluginFrameComponent, inputs: ['plugin', 'queryParams']} ) as angular.IDirectiveFactory);
ng1appModule.config([
'$stateProvider',
@@ -518,11 +518,11 @@ ng1appModule.config([
);
$stateProvider.state(
- 'workspace.designers', {
- url: 'designers/*path',
+ 'workspace.plugins', {
+ url: 'plugins/*path',
parent: 'workspace',
- templateUrl: './view-models/workspace/tabs/designers/designers-tab-view.html',
- controller: viewModelsModuleName + '.DesignersTabViewModel'
+ templateUrl: './view-models/workspace/tabs/plugins/plugins-context-view.html',
+ controller: viewModelsModuleName + '.PluginsContextViewModel'
}
);
@@ -544,10 +544,10 @@ ng1appModule.config([
);
$stateProvider.state(
- 'designers', {
- url: '/designers/*path',
- templateUrl: './view-models/designers/designers-view.html',
- controller: viewModelsModuleName + '.DesignersViewModel'
+ 'plugins', {
+ url: '/plugins/*path',
+ templateUrl: './view-models/plugins/plugins-tab-view.html',
+ controller: viewModelsModuleName + '.PluginsTabViewModel'
}
);